X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=main%2FMakefile.am;h=7cb08b25a6ae00bbb71171b717978dd550ba93df;hb=a3a94a50132256f3a6524efd6dba0e52e4774087;hp=636c6ffa2c599b03ee8e9a7e98b62fae7909816d;hpb=9808383ef39f0d038f0c1cbd629e8020613d49a7;p=vuplus_dvbapp diff --git a/main/Makefile.am b/main/Makefile.am index 636c6ff..7cb08b2 100644 --- a/main/Makefile.am +++ b/main/Makefile.am @@ -6,11 +6,28 @@ bin_PROGRAMS = enigma2 enigma2_SOURCES = \ enigma.cpp bsod.cpp +bsod.o: version.h + +enigma.o: version.h + +# when there is no ../CVS/Entries, don't worry. +../CVS/Entries: + +../CVS/Root: + +# this depends on Entries and not on Tag because Tag isn't always there. +# Entries, however, will change then Tag is changed, so everything is fine. +version.h: ../CVS/Entries ../CVS/Root + > version.h + if [ -f ../CVS/Tag ]; then echo "#define ENIGMA2_CHECKOUT_TAG \"`cat ../CVS/Tag`\"" >> version.h; fi + if [ -f ../CVS/Root ]; then echo "#define ENIGMA2_CHECKOUT_ROOT \"`cat ../CVS/Root`\"" >> version.h; fi + enigma2_LDADD_WHOLE = \ $(top_builddir)/lib/actions/libenigma_actions.a \ $(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 \ @@ -28,6 +45,10 @@ enigma2_LDADD = \ @DVBSI_LIBS@ \ @FRIBIDI_LIBS@ \ @GSTREAMER_LIBS@ \ + @JPEG_LIBS@ \ + @LIBUNGIF_LIBS@ \ + @XML2_LIBS@ \ + @XMLCCWRAP_LIBS@ \ -ldl -lpthread -lcrypt -lresolv enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)