added nav core
[enigma2.git] / main / Makefile.am
1 INCLUDES = \
2         -I$(top_srcdir)/include
3
4 bin_PROGRAMS = enigma2
5
6 enigma2_SOURCES = \
7         enigma.cpp 
8
9 enigma2_LDADD_WHOLE = \
10         $(top_builddir)/lib/base/libenigma_base.a \
11         $(top_builddir)/lib/driver/libenigma_driver.a \
12         $(top_builddir)/lib/dvb/libenigma_dvb.a \
13         $(top_builddir)/lib/dvb_si/libenigma_dvb_si.a \
14         $(top_builddir)/lib/gui/libenigma_gui.a \
15         $(top_builddir)/lib/gdi/libenigma_gdi.a \
16         $(top_builddir)/lib/nav/libenigma_nav.a \
17         $(top_builddir)/lib/network/libenigma_network.a \
18         $(top_builddir)/lib/service/libenigma_service.a
19
20 enigma2_LDADD = \
21         @FREETYPE_LIBS@ \
22         @ID3TAG_LIBS@ \
23         @MAD_LIBS@ \
24         @MD5SUM_LIBS@ \
25         @PNG_LIBS@ \
26         @SIGC_LIBS@ \
27         @XMLTREE_LIBS@ \
28         -ldl -lpthread -lcrypt -lresolv
29
30 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
31         @rm -f enigma2$(EXEEXT)
32         $(CXXLINK) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)