[315/906] add GNUstep build

This commit is contained in:
Julien Isorce 2009-02-25 00:12:12 +01:00 committed by Matthew Waters
parent 6e95209dcd
commit b2143adee3
4 changed files with 105 additions and 1 deletions

View file

@ -0,0 +1,26 @@
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECT_NAME = gstlibsgstgl
#gstglwindow_win32.c will be replaced by gstglwindow_cocoa.m
gstlibsgstgl_C_FILES = \
gstglwindow_win32.c \
gstgldisplay.c \
gstglbuffer.c \
gstglfilter.c \
gstglshader.c
#gstlibsgstgl_OBJC_FILES = gstglwindow_cocoa.m
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
gstlibsgstgl_INCLUDE_DIRS = \
-I../../../win32/common \
-ID:/workspace/glib/include/glib-2.0 \
-ID:/workspace/gstreamer/include \
-ID:/workspace/glib/lib/glib-2.0/include \
-ID:/workspace/glew/include
endif
gstlibsgstgl_CFLAGS = -Wall -DHAVE_CONFIG_H
include $(GNUSTEP_MAKEFILES)/subproject.make

View file

@ -37,7 +37,6 @@ endif (PNG_FOUND AND ZLIB_FOUND)
add_library (gstopengl SHARED
gstopengl.c
gstglimagesink.c
gstglimagesink.h
gstglupload.c
gstgldownload.c
gstglfilterblur.c

42
gst/gl/GNUmakefile Normal file
View file

@ -0,0 +1,42 @@
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECT_NAME = gstgl
gstgl_C_FILES += \
gstopengl.c \
gstglimagesink.c \
gstglupload.c \
gstgldownload.c \
gstglfilterblur.c \
gstglfiltercube.c \
gstglfilterlaplacian.c \
gstglfiltersobel.c \
gstglfilterglass.c \
gstglfilterapp.c \
gstglcolorscale.c \
gltestsrc.c \
gstgltestsrc.c \
gstgloverlay.c \
gstgldifferencematte.c \
gstglbumper.c \
gstgleffects.c
gstgl_INCLUDE_DIRS += \
-I../../gst-libs \
-I../../gst-libs/gst/gl \
-Ieffects
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
gstgl_INCLUDE_DIRS += \
-I../../win32/common \
-ID:/workspace/glib/include/glib-2.0 \
-ID:/workspace/gstreamer/include \
-ID:/workspace/glib/lib/glib-2.0/include \
-ID:/workspace/png/include \
-ID:/workspace/z/include \
-ID:/workspace/glew/include
endif
gstgl_CFLAGS = -Wall -DHAVE_CONFIG_H
include $(GNUSTEP_MAKEFILES)/subproject.make

View file

@ -0,0 +1,37 @@
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECT_NAME = gstgleffects
gstgleffects_C_FILES = \
gstgleffectssources.c \
gstgleffectidentity.c \
gstgleffectmirror.c \
gstgleffectsqueeze.c \
gstgleffectstretch.c \
gstgleffecttunnel.c \
gstgleffectfisheye.c \
gstgleffecttwirl.c \
gstgleffectbulge.c \
gstgleffectsquare.c \
gstgleffectlumatocurve.c \
gstgleffectrgbtocurve.c \
gstgleffectsin.c \
gstgleffectglow.c \
gstgleffectxray.c
gstgleffects_INCLUDE_DIRS = \
-I.. \
-I../../../gst-libs/gst/gl
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
gstgleffects_INCLUDE_DIRS += \
-I../../../win32/common \
-ID:/workspace/glib/include/glib-2.0 \
-ID:/workspace/gstreamer/include \
-ID:/workspace/glib/lib/glib-2.0/include \
-ID:/workspace/glew/include
endif
gstgleffects_CFLAGS = -Wall -DHAVE_CONFIG_H
include $(GNUSTEP_MAKEFILES)/subproject.make