diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-10 03:10:25 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-10 03:10:25 +0000 |
commit | 6cadbc6ddbe5c02e37b08b5cc4ba98e98155e9a4 (patch) | |
tree | dba93dfe224bc1bcbdc4757da0eeaa314a1b934d | |
parent | 634ffca8d2a051d94d4b2590ad7124544d48f005 (diff) | |
download | xine-lib-6cadbc6ddbe5c02e37b08b5cc4ba98e98155e9a4.tar.gz xine-lib-6cadbc6ddbe5c02e37b08b5cc4ba98e98155e9a4.tar.bz2 |
Workaroung about cpu_accel.pp dependencies.
CVS patchset: 152
CVS date: 2001/06/10 03:10:25
-rw-r--r-- | src/xine-engine/Makefile.am | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am index 49b645e36..a171246de 100644 --- a/src/xine-engine/Makefile.am +++ b/src/xine-engine/Makefile.am @@ -4,16 +4,18 @@ CFLAGS = @GLOBAL_CFLAGS@ +EXTRA_DIST = cpu_accel.c + lib_LTLIBRARIES = libxine.la libxine_la_SOURCES = xine.c metronom.c configfile.c buffer.c monitor.c \ - utils.c cpu_accel.c load_plugins.c video_decoder.c \ + utils.c load_plugins.c video_decoder.c \ audio_decoder.c video_out.c -libxine_la_LIBADD = \ +libxine_la_LIBADD = cpu_accel.lo \ ## $(top_srcdir)/src/libspudec/libspudec.la \ $(THREAD_LIBS) \ $(DYNAMIC_LD_LIBS) - -lm + -lm libxine_la_LDFLAGS = -version-info 5:0:5 include_HEADERS = buffer.h metronom.h configfile.h \ @@ -28,8 +30,9 @@ include_HEADERS = buffer.h metronom.h configfile.h \ LIBTOOLNOFPIC = $(SHELL) $(top_builddir)/libtool-nofpic LTCOMPILENOFPIC = $(LIBTOOLNOFPIC) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) cpu_accel.lo: cpu_accel.c - @echo '$(LTCOMPILENOFPIC) -c $<'; \ - $(LTCOMPILENOFPIC) -Wp,-MD,.deps/$(*F).pp -c $< + @mkdir -p .deps; touch .deps/cpu_accel.pp; \ + echo '$(LTCOMPILENOFPIC) -c $<'; \ + $(LTCOMPILENOFPIC) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ |