small fix
[enigma2.git] / main / Makefile.am
index 4e45e7600cd54a023addb100140a558f122d4485..325298f2012698f44b6c2f6c72b5e5b3fc5e9278 100644 (file)
@@ -4,7 +4,21 @@ INCLUDES = \
 bin_PROGRAMS = enigma2
 
 enigma2_SOURCES = \
-       enigma.cpp 
+       enigma.cpp bsod.cpp
+
+bsod.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 \
@@ -26,7 +40,13 @@ enigma2_LDADD = \
        @PNG_LIBS@ \
        @SIGC_LIBS@ \
        @DVBSI_LIBS@ \
-       -ldl -lpthread -lcrypt -lresolv -lpython2.4
+       @FRIBIDI_LIBS@ \
+       @GSTREAMER_LIBS@ \
+       @JPEG_LIBS@ \
+       -ldl -lpthread -lcrypt -lresolv
+
+#      @XINE_LIBS@ \
+#
 
 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
 #      @rm -f enigma2$(EXEEXT)