summaryrefslogtreecommitdiff
path: root/src/xine-engine/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/Makefile.am')
-rw-r--r--src/xine-engine/Makefile.am28
1 files changed, 3 insertions, 25 deletions
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am
index a9dd27d7e..b04c5c736 100644
--- a/src/xine-engine/Makefile.am
+++ b/src/xine-engine/Makefile.am
@@ -5,14 +5,12 @@
CFLAGS = @GLOBAL_CFLAGS@ @THREAD_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 memcpy.c load_plugins.c video_decoder.c \
+libxine_la_SOURCES = xine.c metronom.c configfile.c buffer.c \
+ load_plugins.c video_decoder.c \
audio_decoder.c video_out.c audio_out.c resample.c events.c lrb.c
-libxine_la_LIBADD = cpu_accel.lo \
+libxine_la_LIBADD = $(top_builddir)/src/xine-utils/libxineutils.la\
$(THREAD_LIBS) \
$(DYNAMIC_LD_LIBS) \
-lm
@@ -22,31 +20,11 @@ libxine_la_LDFLAGS = \
-release $(LT_RELEASE)
include_HEADERS = buffer.h metronom.h configfile.h \
- monitor.h cpu_accel.h attributes.h utils.h memcpy.h \
audio_out.h resample.h video_out.h xine_internal.h spu_decoder.h \
events.h lrb.h
noinst_HEADERS = bswap.h
-###
-# Hardcoded rule:
-# gcc failed to compile this with -fPIC flag
-# hackish: [X] yes [ ] no
-#
-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
- @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 \
- | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
- >> .deps/$(*F).P; \
- rm -f .deps/$(*F).pp
-
-
debug:
@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"