fix automake

Original commit message from CVS:
fix automake
This commit is contained in:
Thomas Vander Stichele 2004-03-18 17:07:12 +00:00
parent 1fa929dc79
commit e90bbb0669
2 changed files with 19 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/Makefile.am: fix automake don'ts
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/gst/player.py:

View file

@ -20,7 +20,21 @@ pygstexecdir = $(pkgpyexecdir)
GST_OVERRIDES = gst.override gstpad-handlers.override
GST_DEFS = gst.defs gst-types.defs
pygstexec_LTLIBRARIES = _gst.la
# what shall we build ?
if BUILD_INTERFACES
interface_lib = interfaces.la
else
interface_lib =
endif
if BUILD_PLAY
play_lib = play.la
else
play_lib =
endif
pygstexec_LTLIBRARIES = _gst.la $(interface_lib) $(play_lib)
# how shall we build them ?
_gst_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
_gst_la_LIBADD = $(GST_LIBS)
_gst_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gst
@ -35,9 +49,6 @@ gst.c: $(GST_DEFS) $(GST_OVERRIDES)
PLAY_OVERRIDES = play.override
PLAY_DEFS = play.defs
if BUILD_PLAY
pygstexec_LTLIBRARIES += play.la
endif
play_la_CFLAGS = $(GST_CFLAGS) $(GST_PLAY_CFLAGS) -fno-strict-aliasing
play_la_LIBADD = $(GST_LIBS) $(GST_PLAY_LIBS)
play_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initplay
@ -52,9 +63,6 @@ play.c: $(PLAY_DEFS) $(PLAY_OVERRIDES)
INTERFACES_OVERRIDES = interfaces.override xoverlay.override
INTERFACES_DEFS = interfaces.defs xoverlay.defs xwindowlistener.defs
if BUILD_INTERFACES
pygstexec_LTLIBRARIES += interfaces.la
endif
interfaces_la_CFLAGS = $(GST_CFLAGS) $(GST_INTERFACES_CFLAGS) -fno-strict-aliasing
interfaces_la_LIBADD = $(GST_LIBS) $(GST_INTERFACES_LIBS)
interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface