optimize linked tuner handling
[enigma2.git] / main / Makefile.am
index de68c1479bbc2e64e7055ff58a83331c2365d3a3..67d84660b5409d3fef8f61ea831fe260ff9e5ca0 100644 (file)
@@ -6,8 +6,12 @@ bin_PROGRAMS = enigma2
 enigma2_SOURCES = \
        enigma.cpp bsod.cpp
 
+CLEANFILES = version.h
+
 bsod.o: version.h
 
+enigma.o: version.h
+
 # when there is no ../CVS/Entries, don't worry.
 ../CVS/Entries:
 
@@ -25,6 +29,7 @@ enigma2_LDADD_WHOLE = \
        $(top_builddir)/lib/base/libenigma_base.a \
        $(top_builddir)/lib/components/libenigma_components.a \
        $(top_builddir)/lib/driver/libenigma_driver.a \
+       $(top_builddir)/lib/mmi/libenigma_mmi.a \
        $(top_builddir)/lib/dvb/libenigma_dvb.a \
        $(top_builddir)/lib/dvb_ci/libenigma_dvb_ci.a \
        $(top_builddir)/lib/gdi/libenigma_gdi.a \
@@ -38,13 +43,16 @@ enigma2_LDADD = \
        @ID3TAG_LIBS@ \
        @MAD_LIBS@ \
        @PNG_LIBS@ \
+       @SDL_LIBS@ \
        @SIGC_LIBS@ \
        @DVBSI_LIBS@ \
        @FRIBIDI_LIBS@ \
        @GSTREAMER_LIBS@ \
        @JPEG_LIBS@ \
        @LIBUNGIF_LIBS@ \
-       -ldl -lpthread -lcrypt -lresolv
+       @XML2_LIBS@ \
+       @XMLCCWRAP_LIBS@ \
+       -ldl -lpthread -lcrypt -lresolv -lrt
 
 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
 #      @rm -f enigma2$(EXEEXT)