add bsod
[enigma2.git] / 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 enigma2_LDADD_WHOLE = \
10         $(top_builddir)/lib/actions/libenigma_actions.a \
11         $(top_builddir)/lib/base/libenigma_base.a \
12         $(top_builddir)/lib/components/libenigma_components.a \
13         $(top_builddir)/lib/driver/libenigma_driver.a \
14         $(top_builddir)/lib/dvb/libenigma_dvb.a \
15         $(top_builddir)/lib/dvb_ci/libenigma_dvb_ci.a \
16         $(top_builddir)/lib/gdi/libenigma_gdi.a \
17         $(top_builddir)/lib/gui/libenigma_gui.a \
18         $(top_builddir)/lib/python/libenigma_python.a \
19         $(top_builddir)/lib/nav/libenigma_nav.a \
20         $(top_builddir)/lib/service/libenigma_service.a
21
22 enigma2_LDADD = \
23         @FREETYPE_LIBS@ \
24         @ID3TAG_LIBS@ \
25         @MAD_LIBS@ \
26         @PNG_LIBS@ \
27         @SIGC_LIBS@ \
28         @DVBSI_LIBS@ \
29         @FRIBIDI_LIBS@ \
30         @GSTREAMER_LIBS@ \
31         -ldl -lpthread -lcrypt -lresolv
32
33 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
34 #       @rm -f enigma2$(EXEEXT)
35         $(CXXLINK) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)
36 #       g++ -o enigma2$(EXEEXT) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)