summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-05-14 16:21:44 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-05-14 16:21:44 +0000
commit8e1d76f47f530f3b76cfe81eb9da1348df17e801 (patch)
tree71ad00b972db4f7ecd0a79dbf2519cb6c1c8f5ae /src/input
parent204f53f90ab41ffad6a6cbc5aac4dcce6b609b47 (diff)
downloadxine-lib-8e1d76f47f530f3b76cfe81eb9da1348df17e801.tar.gz
xine-lib-8e1d76f47f530f3b76cfe81eb9da1348df17e801.tar.bz2
as announced on xine-devel, this is the big Makefile refactoring:
extracted some common targets and variables into a common Makefile which is then included CVS patchset: 4844 CVS date: 2003/05/14 16:21:44
Diffstat (limited to 'src/input')
-rw-r--r--src/input/Makefile.am53
-rw-r--r--src/input/dvb/Makefile.am19
-rw-r--r--src/input/libdvdnav/Makefile.am16
-rw-r--r--src/input/libreal/Makefile.am16
-rw-r--r--src/input/librtsp/Makefile.am16
5 files changed, 9 insertions, 111 deletions
diff --git a/src/input/Makefile.am b/src/input/Makefile.am
index 33e2c283f..d04395100 100644
--- a/src/input/Makefile.am
+++ b/src/input/Makefile.am
@@ -1,6 +1,4 @@
-##
-## Process this file with automake to produce Makefile.in
-##
+include $(top_srcdir)/misc/Makefile.common
EXTRA_DIST = input_dvd.c input_vcd.c input_gnome_vfs.c input_rtp.c
@@ -10,9 +8,6 @@ else
SUBDIRS = dvb libreal librtsp libdvdnav
endif
-LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
-XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
-
libdir = $(XINE_PLUGINDIR)
##
@@ -141,49 +136,3 @@ xineplug_inp_pvr_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
include_HEADERS = input_plugin.h
noinst_HEADERS = net_buf_ctrl.h mms.h mmsh.h pnm.h media_helper.h videodev2.h
-
-$(XINE_LIB):
- @cd $(top_builddir)/src/xine-engine && $(MAKE)
-
-##
-## Install header files (default=$includedir/xine)
-##
-install-includeHEADERS: $(include_HEADERS)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(includedir)/xine
- @list='$(include_HEADERS)'; for p in $$list; do \
- if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \
- done
-
-
-##
-## Remove them
-##
-uninstall-includeHEADERS:
- @$(NORMAL_UNINSTALL)
- list='$(include_HEADERS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(includedir)/xine/$$p; \
- done
-
-
-debug:
- @list='$(SUBDIRS)'; for subdir in $$list; do \
- (cd $$subdir && $(MAKE) $@) || exit;\
- done;
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"
-
-install-debug: debug
- @list='$(SUBDIRS)'; for subdir in $$list; do \
- (cd $$subdir && $(MAKE) $@) || exit;\
- done;
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#*
-
-maintainer-clean-generic:
- -@echo "This command is intended for maintainers to use;"
- -@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
diff --git a/src/input/dvb/Makefile.am b/src/input/dvb/Makefile.am
index b3682a971..229ac21bf 100644
--- a/src/input/dvb/Makefile.am
+++ b/src/input/dvb/Makefile.am
@@ -1,20 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
noinst_HEADERS = \
dmx.h \
frontend.h
-
-debug:
- @list='$(SUBDIRS)'; for subdir in $$list; do \
- (cd $$subdir && $(MAKE) $@) || exit;\
- done;
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"
-
-install-debug: debug
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#*
-
-maintainer-clean-generic:
- -@echo "This command is intended for maintainers to use;"
- -@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
diff --git a/src/input/libdvdnav/Makefile.am b/src/input/libdvdnav/Makefile.am
index 6a8394e22..5704fc854 100644
--- a/src/input/libdvdnav/Makefile.am
+++ b/src/input/libdvdnav/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
DVD_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
AM_CPPFLAGS = -DDVDNAV_COMPILE
@@ -49,17 +51,3 @@ noinst_HEADERS = \
dvd_input.h \
dvd_udf.h \
bswap.h
-
-debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(DVD_CFLAGS)"
-
-install-debug: debug
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#*
-
-maintainer-clean-generic:
- -@echo "This command is intended for maintainers to use;"
- -@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
diff --git a/src/input/libreal/Makefile.am b/src/input/libreal/Makefile.am
index e25abe1be..dd5fb5993 100644
--- a/src/input/libreal/Makefile.am
+++ b/src/input/libreal/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
REAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I$(srcdir)/../librtsp
AM_CFLAGS = $(REAL_CFLAGS) @ANSI_FLAGS@
@@ -17,17 +19,3 @@ noinst_HEADERS = \
asmrp.h \
rmff.h \
sdpplin.h
-
-debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(DVD_CFLAGS)"
-
-install-debug: debug
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#*
-
-maintainer-clean-generic:
- -@echo "This command is intended for maintainers to use;"
- -@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
diff --git a/src/input/librtsp/Makefile.am b/src/input/librtsp/Makefile.am
index feb9df98a..29c38db20 100644
--- a/src/input/librtsp/Makefile.am
+++ b/src/input/librtsp/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
RTSP_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I$(srcdir)/../libreal
AM_CFLAGS = $(RTSP_CFLAGS) @ANSI_FLAGS@
@@ -13,17 +15,3 @@ librtsp_la_LDFLAGS = $(THREAD_LIBS) -avoid-version -module
noinst_HEADERS = \
rtsp.h \
rtsp_session.h
-
-debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(DVD_CFLAGS)"
-
-install-debug: debug
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#*
-
-maintainer-clean-generic:
- -@echo "This command is intended for maintainers to use;"
- -@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in