2 -I$(top_srcdir)/include
11 # when there is no ../CVS/Entries, don't worry.
16 # this depends on Entries and not on Tag because Tag isn't always there.
17 # Entries, however, will change then Tag is changed, so everything is fine.
18 version.h: ../CVS/Entries ../CVS/Root
20 if [ -f ../CVS/Tag ]; then echo "#define ENIGMA2_CHECKOUT_TAG \"`cat ../CVS/Tag`\"" >> version.h; fi
21 if [ -f ../CVS/Root ]; then echo "#define ENIGMA2_CHECKOUT_ROOT \"`cat ../CVS/Root`\"" >> version.h; fi
23 enigma2_LDADD_WHOLE = \
24 $(top_builddir)/lib/actions/libenigma_actions.a \
25 $(top_builddir)/lib/base/libenigma_base.a \
26 $(top_builddir)/lib/components/libenigma_components.a \
27 $(top_builddir)/lib/driver/libenigma_driver.a \
28 $(top_builddir)/lib/dvb/libenigma_dvb.a \
29 $(top_builddir)/lib/dvb_ci/libenigma_dvb_ci.a \
30 $(top_builddir)/lib/gdi/libenigma_gdi.a \
31 $(top_builddir)/lib/gui/libenigma_gui.a \
32 $(top_builddir)/lib/python/libenigma_python.a \
33 $(top_builddir)/lib/nav/libenigma_nav.a \
34 $(top_builddir)/lib/service/libenigma_service.a \
35 $(top_builddir)/lib/xml/libenigma_xml.a
48 -ldl -lpthread -lcrypt -lresolv -lxml2
50 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
51 # @rm -f enigma2$(EXEEXT)
52 $(CXXLINK) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)
53 # g++ -o enigma2$(EXEEXT) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)