< prev index next >

modules/media/src/main/native/gstreamer/projects/mac/gstreamer-lite/Makefile

Print this page
rev 9887 : 8145604: Change minimum version of OS X SDK to 10.9
Reviewed-by: almatvee


  24           gst-plugins-base/gst-libs/gst/riff \
  25           gst-plugins-base/gst-libs/gst/fft \
  26           gst-plugins-base/gst-libs/gst/app \
  27           projects/plugins                  \
  28           gstreamer/plugins/elements \
  29           gst-plugins-base/gst/typefind \
  30           gst-plugins-base/gst/audioconvert \
  31           gst-plugins-good/gst/audioparsers \
  32           gst-plugins-good/gst/isomp4 \
  33           gst-plugins-good/gst/audiofx \
  34           gst-plugins-good/gst/equalizer \
  35           gst-plugins-good/gst/spectrum \
  36           gst-plugins-good/gst/wavparse \
  37           gst-plugins-bad/gst/aiff \
  38           gst-plugins-base/gst/app \
  39           gst-plugins-good/sys/osxaudio
  40 
  41 TARGET_NAME = lib$(BASE_NAME).dylib
  42 TARGET = $(BUILD_DIR)/$(TARGET_NAME)
  43 
  44 CFLAGS = -arch x86_64 \
  45          -fPIC \
  46          -Werror=implicit-function-declaration \
  47          -D_GNU_SOURCE \
  48          -DGST_REMOVE_DEPRECATED \
  49          -DGST_DISABLE_GST_DEBUG \
  50          -DGST_DISABLE_LOADSAVE \
  51          -DG_DISABLE_DEPRECATED \
  52          -DG_DISABLE_ASSERT \
  53          -DHAVE_CONFIG_H \
  54          -DGSTREAMER_LITE \
  55          -DGST_REMOVE_DISABLED \
  56          -DOSX \
  57          -msse2 \
  58          -mmacosx-version-min=10.7
  59 
  60 ifeq ($(BUILD_TYPE), Release)
  61     CFLAGS += -Os
  62 else
  63     CFLAGS += -O0 -g -Wall
  64 endif
  65 
  66 INCLUDES = $(addprefix -I$(SRCBASE_DIR)/,$(DIRLIST)) \
  67            -I$(BASE_DIR)/plugins/ \
  68            -I$(SRCBASE_DIR)/projects/plugins \
  69            -I$(SRCBASE_DIR)/gstreamer \
  70            -I$(SRCBASE_DIR)/gstreamer/libs \
  71            -I$(SRCBASE_DIR)/gst-plugins-base \
  72            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs \
  73            -I$(GLIB_DIR) \
  74            -I$(GLIB_DIR)/glib \
  75            -I$(GLIB_DIR)/gmodule \
  76            -I$(GLIB_DIR)/build/osx
  77 
  78 LDFLAGS = -mmacosx-version-min=10.7 -arch x86_64 \
  79           -L$(BUILD_DIR) -Wl,-install_name,@rpath/$(TARGET_NAME) -lglib-lite \
  80           -framework CoreAudio -framework AudioUnit -framework CoreServices



  81 
  82 C_SOURCES = gstreamer/libs/gst/base/gstbytereader.c \
  83             gstreamer/gst/gst.c                                                \
  84             gstreamer/gst/gstbin.c                                             \
  85             gstreamer/gst/gstbuffer.c                                          \
  86             gstreamer/gst/gstbufferlist.c                                      \
  87             gstreamer/gst/gstbus.c                                             \
  88             gstreamer/gst/gstcaps.c                                            \
  89             gstreamer/gst/gstchildproxy.c                                      \
  90             gstreamer/gst/gstclock.c                                           \
  91             gstreamer/gst/gstdebugutils.c                                      \
  92             gstreamer/gst/gstelement.c                                         \
  93             gstreamer/gst/gstelementfactory.c                                  \
  94             gstreamer/gst/gsterror.c                                           \
  95             gstreamer/gst/gstevent.c                                           \
  96             gstreamer/gst/gstfilter.c                                          \
  97             gstreamer/gst/gstformat.c                                          \
  98             gstreamer/gst/gstghostpad.c                                        \
  99             gstreamer/gst/gstindex.c                                           \
 100             gstreamer/gst/gstindexfactory.c                                    \




  24           gst-plugins-base/gst-libs/gst/riff \
  25           gst-plugins-base/gst-libs/gst/fft \
  26           gst-plugins-base/gst-libs/gst/app \
  27           projects/plugins                  \
  28           gstreamer/plugins/elements \
  29           gst-plugins-base/gst/typefind \
  30           gst-plugins-base/gst/audioconvert \
  31           gst-plugins-good/gst/audioparsers \
  32           gst-plugins-good/gst/isomp4 \
  33           gst-plugins-good/gst/audiofx \
  34           gst-plugins-good/gst/equalizer \
  35           gst-plugins-good/gst/spectrum \
  36           gst-plugins-good/gst/wavparse \
  37           gst-plugins-bad/gst/aiff \
  38           gst-plugins-base/gst/app \
  39           gst-plugins-good/sys/osxaudio
  40 
  41 TARGET_NAME = lib$(BASE_NAME).dylib
  42 TARGET = $(BUILD_DIR)/$(TARGET_NAME)
  43 
  44 CFLAGS += -fPIC \

  45          -Werror=implicit-function-declaration \
  46          -D_GNU_SOURCE \
  47          -DGST_REMOVE_DEPRECATED \
  48          -DGST_DISABLE_GST_DEBUG \
  49          -DGST_DISABLE_LOADSAVE \
  50          -DG_DISABLE_DEPRECATED \
  51          -DG_DISABLE_ASSERT \
  52          -DHAVE_CONFIG_H \
  53          -DGSTREAMER_LITE \
  54          -DGST_REMOVE_DISABLED \
  55          -DOSX \
  56          -msse2

  57 
  58 ifeq ($(BUILD_TYPE), Release)
  59     CFLAGS += -Os
  60 else
  61     CFLAGS += -O0 -g -Wall
  62 endif
  63 
  64 INCLUDES = $(addprefix -I$(SRCBASE_DIR)/,$(DIRLIST)) \
  65            -I$(BASE_DIR)/plugins/ \
  66            -I$(SRCBASE_DIR)/projects/plugins \
  67            -I$(SRCBASE_DIR)/gstreamer \
  68            -I$(SRCBASE_DIR)/gstreamer/libs \
  69            -I$(SRCBASE_DIR)/gst-plugins-base \
  70            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs \
  71            -I$(GLIB_DIR) \
  72            -I$(GLIB_DIR)/glib \
  73            -I$(GLIB_DIR)/gmodule \
  74            -I$(GLIB_DIR)/build/osx
  75 
  76 LDFLAGS += -L$(BUILD_DIR) \
  77            -Wl,-install_name,@rpath/$(TARGET_NAME) \
  78            -lglib-lite \
  79            -framework CoreAudio \
  80            -framework AudioUnit \
  81            -framework CoreServices
  82 
  83 C_SOURCES = gstreamer/libs/gst/base/gstbytereader.c \
  84             gstreamer/gst/gst.c                                                \
  85             gstreamer/gst/gstbin.c                                             \
  86             gstreamer/gst/gstbuffer.c                                          \
  87             gstreamer/gst/gstbufferlist.c                                      \
  88             gstreamer/gst/gstbus.c                                             \
  89             gstreamer/gst/gstcaps.c                                            \
  90             gstreamer/gst/gstchildproxy.c                                      \
  91             gstreamer/gst/gstclock.c                                           \
  92             gstreamer/gst/gstdebugutils.c                                      \
  93             gstreamer/gst/gstelement.c                                         \
  94             gstreamer/gst/gstelementfactory.c                                  \
  95             gstreamer/gst/gsterror.c                                           \
  96             gstreamer/gst/gstevent.c                                           \
  97             gstreamer/gst/gstfilter.c                                          \
  98             gstreamer/gst/gstformat.c                                          \
  99             gstreamer/gst/gstghostpad.c                                        \
 100             gstreamer/gst/gstindex.c                                           \
 101             gstreamer/gst/gstindexfactory.c                                    \


< prev index next >