RecordTimer.py: remove debug output
[vuplus_dvbapp] / main / Makefile.am
1 INCLUDES = \
2         -I$(top_srcdir)/include
3
4 bin_PROGRAMS = enigma2
5
6 enigma2_SOURCES = \
7         enigma.cpp bsod.cpp
8
9 CLEANFILES = version.h
10
11 bsod.o: version.h
12
13 enigma.o: version.h
14
15 # when there is no ../CVS/Entries, don't worry.
16 ../CVS/Entries:
17
18 ../CVS/Root:
19
20 .PHONY: .svn/entries
21
22 entries: .svn/entries
23         @if [ ! -f entries ]; then touch entries; fi
24         @if [ -f .svn/entries ] && ! diff -q entries .svn/entries 2>/dev/null; then     \
25                 cp --no-preserve=mode .svn/entries entries;                             \
26         fi;
27
28 version.h: entries
29         > version.h
30         if [ -d .svn ]; then echo "#define ENIGMA2_CHECKOUT_TAG \"D`svn info | grep 'Last Changed Date:' | sed -e 's/[^:]*: \(....\)-\(..\)-\(..\) \(..\):\(..\):\(..\).*+.*$$/\1.\2.\3.\4.\5.\6/'`\"" >> version.h; fi
31
32 enigma2_LDADD_WHOLE = \
33         $(top_builddir)/lib/actions/libenigma_actions.a \
34         $(top_builddir)/lib/base/libenigma_base.a \
35         $(top_builddir)/lib/components/libenigma_components.a \
36         $(top_builddir)/lib/driver/libenigma_driver.a \
37         $(top_builddir)/lib/mmi/libenigma_mmi.a \
38         $(top_builddir)/lib/dvb/libenigma_dvb.a \
39         $(top_builddir)/lib/dvb_ci/libenigma_dvb_ci.a \
40         $(top_builddir)/lib/gdi/libenigma_gdi.a \
41         $(top_builddir)/lib/gui/libenigma_gui.a \
42         $(top_builddir)/lib/python/libenigma_python.a \
43         $(top_builddir)/lib/nav/libenigma_nav.a \
44         $(top_builddir)/lib/service/libenigma_service.a
45
46 enigma2_LDADD = \
47         @FREETYPE_LIBS@ \
48         @ID3TAG_LIBS@ \
49         @MAD_LIBS@ \
50         @PNG_LIBS@ \
51         @SDL_LIBS@ \
52         @SIGC_LIBS@ \
53         @DVBSI_LIBS@ \
54         @FRIBIDI_LIBS@ \
55         @GSTREAMER_LIBS@ \
56         @GSTREAMERPBUTILS_LIBS@ \
57         @JPEG_LIBS@ \
58         @LIBUNGIF_LIBS@ \
59         @XML2_LIBS@ \
60         @XMLCCWRAP_LIBS@ \
61         -ldl -lpthread -lcrypt -lresolv -lrt
62
63 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
64 #       @rm -f enigma2$(EXEEXT)
65         $(CXXLINK) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)
66 #       g++ -o enigma2$(EXEEXT) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)