summaryrefslogtreecommitdiff
path: root/src/libw32dll/Makefile.am
diff options
context:
space:
mode:
authorMatt Messier <mmessier@grapetv.org>2007-05-11 19:28:18 -0400
committerMatt Messier <mmessier@grapetv.org>2007-05-11 19:28:18 -0400
commit67b0ebb21185cb8ea2972dead6870bab8306724e (patch)
treee6380633bd936b52020455aae9eabb3860d10c7a /src/libw32dll/Makefile.am
parent913f9b8ee348c91717cdf5cd4c8a4d56b9d22a5e (diff)
downloadxine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.gz
xine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.bz2
Another round of Makefile.am cleanups
Diffstat (limited to 'src/libw32dll/Makefile.am')
-rw-r--r--src/libw32dll/Makefile.am32
1 files changed, 11 insertions, 21 deletions
diff --git a/src/libw32dll/Makefile.am b/src/libw32dll/Makefile.am
index 8da0e1c84..94dae4ab9 100644
--- a/src/libw32dll/Makefile.am
+++ b/src/libw32dll/Makefile.am
@@ -1,39 +1,29 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
-AM_CPPFLAGS = -I$(srcdir)/wine -DWIN32_PATH=\"@w32_path@\"
-AM_LDFLAGS = $(xineplug_ldflags)
+AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
+AM_CPPFLAGS = -I$(srcdir)/wine -DWIN32_PATH=\"$(w32_path)\"
+AM_LDFLAGS = $(xineplug_ldflags)
SUBDIRS = wine DirectShow dmo qtx
-if HAVE_W32DLL
-w32dll_codec = xineplug_decode_w32dll.la
-qt_codec = xineplug_decode_qt.la
-endif
+EXTRA_DIST = common.c
-xineplug_LTLIBRARIES = $(w32dll_codec) $(qt_codec)
+noinst_HEADERS = libwin32.h w32codec.h
-EXTRA_DIST = common.c
+if HAVE_W32DLL
+xineplug_LTLIBRARIES = xineplug_decode_w32dll.la xineplug_decode_qt.la
+endif
xineplug_decode_w32dll_la_SOURCES = w32codec.c
-xineplug_decode_w32dll_la_CPPFLAGS = $(AM_CPPFLAGS) $(XDG_BASEDIR_CPPFLAGS)
xineplug_decode_w32dll_la_DEPS = $(XDG_BASEDIR_DEPS)
xineplug_decode_w32dll_la_LIBADD = \
$(top_builddir)/src/libw32dll/wine/libwine.la \
- $(XINE_LIB) \
- $(PTHREAD_LIBS) \
- -lm \
$(top_builddir)/src/libw32dll/DirectShow/libds_filter.la \
$(top_builddir)/src/libw32dll/dmo/libdmo_filter.la \
- @KSTAT_LIBS@ \
- $(XDG_BASEDIR_LIBS)
+ $(XINE_LIB) $(PTHREAD_LIBS) -lm $(KSTAT_LIBS) $(XDG_BASEDIR_LIBS)
+xineplug_decode_w32dll_la_CPPFLAGS = $(AM_CPPFLAGS) $(XDG_BASEDIR_CPPFLAGS)
xineplug_decode_qt_la_SOURCES = qt_decoder.c
xineplug_decode_qt_la_LIBADD = \
$(top_builddir)/src/libw32dll/wine/libwine.la \
- $(XINE_LIB) \
- $(PTHREAD_LIBS) \
- -lm \
- @KSTAT_LIBS@
-
-noinst_HEADERS = libwin32.h w32codec.h
+ $(XINE_LIB) $(PTHREAD_LIBS) -lm $(KSTAT_LIBS)