From 6cadbc6ddbe5c02e37b08b5cc4ba98e98155e9a4 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 10 Jun 2001 03:10:25 +0000 Subject: Workaroung about cpu_accel.pp dependencies. CVS patchset: 152 CVS date: 2001/06/10 03:10:25 --- src/xine-engine/Makefile.am | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src') 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 \ -- cgit v1.2.3