< prev index next >

modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile

Print this page
rev 11154 : imported patch 12.patch


  24           gst-plugins-base/gst-libs/gst/pbutils \
  25           gst-plugins-base/gst/typefind \
  26           gst-plugins-base/gst/audioconvert \
  27           gst-plugins-base/gst/volume \
  28           gst-plugins-good/gst/audioparsers \
  29           gst-plugins-good/gst/isomp4 \
  30           gst-plugins-base/ext/alsa \
  31           gst-plugins-good/gst/audiofx \
  32           gst-plugins-good/gst/equalizer \
  33           gst-plugins-good/gst/spectrum \
  34           gst-plugins-good/gst/wavparse \
  35           gst-plugins-bad/gst/aiff \
  36           gst-plugins-base/gst/app
  37 
  38 TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
  39 
  40 CFLAGS =-fPIC                   \
  41         -Wformat                \
  42         -Wextra                 \
  43         -Wformat-security       \

  44         -Werror=implicit-function-declaration \
  45         -D_GNU_SOURCE           \
  46         -DGST_REMOVE_DEPRECATED \
  47         -DGSTREAMER_LITE        \
  48         -DHAVE_CONFIG_H         \
  49         -DOUTSIDE_SPEEX         \
  50         -DLINUX                 \
  51         -DGST_DISABLE_GST_DEBUG \
  52         -DGST_DISABLE_LOADSAVE  \
  53         -ffunction-sections -fdata-sections
  54 
  55 ifeq ($(BUILD_TYPE), Release)
  56     CFLAGS += -Os
  57 else
  58     CFLAGS += -g -Wall
  59 endif
  60 
  61 INCLUDES = -I$(BASE_DIR)/plugins                          \
  62            -I$(SRCBASE_DIR)/projects/build/linux/common   \
  63            -I$(SRCBASE_DIR)/gstreamer                     \
  64            -I$(SRCBASE_DIR)/gstreamer/libs                \
  65            -I$(SRCBASE_DIR)/gstreamer/gst/parse           \
  66            -I$(SRCBASE_DIR)/gst-plugins-base              \
  67            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs     \
  68            -I$(SRCBASE_DIR)/projects/plugins              \
  69            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs     \
  70            -I$(SRCBASE_DIR)/gst-plugins-good/gst-libs     \
  71            -I$(SRCBASE_DIR)/gst-plugins-good/gst/isomp4   \
  72            -I$(SRCBASE_DIR)/gst-plugins-bad/gst-libs
  73 
  74 PACKAGES_INCLUDES := $(shell pkg-config --cflags alsa glib-2.0)
  75 PACKAGES_LIBS := $(shell pkg-config --libs alsa glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0)
  76 
  77 LDFLAGS = -L$(BUILD_DIR) -lm $(PACKAGES_LIBS) \

  78           -static-libgcc -static-libstdc++ -Wl,--gc-sections
  79 
  80 ifeq ($(ARCH), x32)
  81     CFLAGS += -m32
  82     LDFLAGS += -m32
  83 endif
  84 
  85 SOURCES = \
  86 gstreamer/gst/gst.c \
  87             gstreamer/gst/gstallocator.c \
  88             gstreamer/gst/gstatomicqueue.c \
  89             gstreamer/gst/gstbin.c \
  90             gstreamer/gst/gstbuffer.c \
  91             gstreamer/gst/gstbufferlist.c \
  92             gstreamer/gst/gstbufferpool.c \
  93             gstreamer/gst/gstbus.c \
  94             gstreamer/gst/gstcaps.c \
  95             gstreamer/gst/gstcapsfeatures.c \
  96             gstreamer/gst/gstchildproxy.c \
  97             gstreamer/gst/gstclock.c \




  24           gst-plugins-base/gst-libs/gst/pbutils \
  25           gst-plugins-base/gst/typefind \
  26           gst-plugins-base/gst/audioconvert \
  27           gst-plugins-base/gst/volume \
  28           gst-plugins-good/gst/audioparsers \
  29           gst-plugins-good/gst/isomp4 \
  30           gst-plugins-base/ext/alsa \
  31           gst-plugins-good/gst/audiofx \
  32           gst-plugins-good/gst/equalizer \
  33           gst-plugins-good/gst/spectrum \
  34           gst-plugins-good/gst/wavparse \
  35           gst-plugins-bad/gst/aiff \
  36           gst-plugins-base/gst/app
  37 
  38 TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
  39 
  40 CFLAGS =-fPIC                   \
  41         -Wformat                \
  42         -Wextra                 \
  43         -Wformat-security       \
  44         -fstack-protector       \
  45         -Werror=implicit-function-declaration \
  46         -D_GNU_SOURCE           \
  47         -DGST_REMOVE_DEPRECATED \
  48         -DGSTREAMER_LITE        \
  49         -DHAVE_CONFIG_H         \
  50         -DOUTSIDE_SPEEX         \
  51         -DLINUX                 \
  52         -DGST_DISABLE_GST_DEBUG \
  53         -DGST_DISABLE_LOADSAVE  \
  54         -ffunction-sections -fdata-sections
  55 
  56 ifeq ($(BUILD_TYPE), Release)
  57     CFLAGS += -Os
  58 else
  59     CFLAGS += -g -Wall
  60 endif
  61 
  62 INCLUDES = -I$(BASE_DIR)/plugins                          \
  63            -I$(SRCBASE_DIR)/projects/build/linux/common   \
  64            -I$(SRCBASE_DIR)/gstreamer                     \
  65            -I$(SRCBASE_DIR)/gstreamer/libs                \
  66            -I$(SRCBASE_DIR)/gstreamer/gst/parse           \
  67            -I$(SRCBASE_DIR)/gst-plugins-base              \
  68            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs     \
  69            -I$(SRCBASE_DIR)/projects/plugins              \
  70            -I$(SRCBASE_DIR)/gst-plugins-base/gst-libs     \
  71            -I$(SRCBASE_DIR)/gst-plugins-good/gst-libs     \
  72            -I$(SRCBASE_DIR)/gst-plugins-good/gst/isomp4   \
  73            -I$(SRCBASE_DIR)/gst-plugins-bad/gst-libs
  74 
  75 PACKAGES_INCLUDES := $(shell pkg-config --cflags alsa glib-2.0)
  76 PACKAGES_LIBS := $(shell pkg-config --libs alsa glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0)
  77 
  78 LDFLAGS = -L$(BUILD_DIR) -lm $(PACKAGES_LIBS) \
  79           -z relro \
  80           -static-libgcc -static-libstdc++ -Wl,--gc-sections
  81 
  82 ifeq ($(ARCH), x32)
  83     CFLAGS += -m32
  84     LDFLAGS += -m32
  85 endif
  86 
  87 SOURCES = \
  88 gstreamer/gst/gst.c \
  89             gstreamer/gst/gstallocator.c \
  90             gstreamer/gst/gstatomicqueue.c \
  91             gstreamer/gst/gstbin.c \
  92             gstreamer/gst/gstbuffer.c \
  93             gstreamer/gst/gstbufferlist.c \
  94             gstreamer/gst/gstbufferpool.c \
  95             gstreamer/gst/gstbus.c \
  96             gstreamer/gst/gstcaps.c \
  97             gstreamer/gst/gstcapsfeatures.c \
  98             gstreamer/gst/gstchildproxy.c \
  99             gstreamer/gst/gstclock.c \


< prev index next >