blob: 27e76693b4eebb2f26a9742c5eb4117818a115f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
##
## Process this file with automake to produce Makefile.in
##
CFLAGS = @GLOBAL_CFLAGS@
lib_LTLIBRARIES = libxine.la
##libxine_la_SOURCES = xine.c buffer.c metronom.c configfile.c \
## monitor.c utils.c audio_decoder.c video_decoder.c load_plugins.c
libxine_la_SOURCES = metronom.c configfile.c monitor.c utils.c cpu_accel.c \
load_plugins.c video_decoder.c audio_decoder.c
libxine_la_DEPENDENCIES = libsdeps
libxine_la_LIBADD = \
# $(top_srcdir)/src/libmpeg2/libmpeg2.la \
$(top_srcdir)/src/libac3/libac3.la \
$(top_srcdir)/src/libmpg123/libmpg123.la \
## $(top_srcdir)/src/libspudec/libspudec.la \
$(THREAD_LIBS) \
$(DYNAMIC_LD_LIBS)
-lm
libxine_la_LDFLAGS = -version-info 5:0:5
#include_HEADERS = buffer.h metronom.h configfile.h \
# monitor.h cpu_accel.h attributes.h utils.h audio_decoder.h
noinst_HEADERS = xine_internal.h buffer.h metronom.h configfile.h \
monitor.h cpu_accel.h attributes.h utils.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
@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)"
libsdeps:
@cd $(top_builddir)/src/libmpeg2 && $(MAKE) libmpeg2.la
@cd $(top_builddir)/src/libac3 && $(MAKE) libac3.la
@cd $(top_builddir)/src/libmpg123 && $(MAKE) libmpg123.la
## @cd $(top_builddir)/src/libspudec && $(MAKE) libspudec.la
##
## 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
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
|