es language update
[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 bsod.o: version.h
10
11 # when there is no ../CVS/Entries, don't worry.
12 ../CVS/Entries:
13
14 ../CVS/Root:
15
16 # this depends on Entries and not on Tag because Tag isn't always there.
17 # Entries, however, will change then Tag is changed, so everything is fine.
18 version.h: ../CVS/Entries ../CVS/Root
19         > version.h
20         if [ -f ../CVS/Tag ]; then echo "#define ENIGMA2_CHECKOUT_TAG \"`cat ../CVS/Tag`\"" >> version.h; fi
21         if [ -f ../CVS/Root ]; then echo "#define ENIGMA2_CHECKOUT_ROOT \"`cat ../CVS/Root`\"" >> version.h; fi
22
23 enigma2_LDADD_WHOLE = \
24         $(top_builddir)/lib/actions/libenigma_actions.a \
25         $(top_builddir)/lib/base/libenigma_base.a \
26         $(top_builddir)/lib/components/libenigma_components.a \
27         $(top_builddir)/lib/driver/libenigma_driver.a \
28         $(top_builddir)/lib/dvb/libenigma_dvb.a \
29         $(top_builddir)/lib/dvb_ci/libenigma_dvb_ci.a \
30         $(top_builddir)/lib/gdi/libenigma_gdi.a \
31         $(top_builddir)/lib/gui/libenigma_gui.a \
32         $(top_builddir)/lib/python/libenigma_python.a \
33         $(top_builddir)/lib/nav/libenigma_nav.a \
34         $(top_builddir)/lib/service/libenigma_service.a
35
36 enigma2_LDADD = \
37         @FREETYPE_LIBS@ \
38         @ID3TAG_LIBS@ \
39         @MAD_LIBS@ \
40         @PNG_LIBS@ \
41         @SIGC_LIBS@ \
42         @DVBSI_LIBS@ \
43         @FRIBIDI_LIBS@ \
44         @GSTREAMER_LIBS@ \
45         @JPEG_LIBS@ \
46         @LIBUNGIF_LIBS@ \
47         -ldl -lpthread -lcrypt -lresolv
48
49 enigma2$(EXEEXT): $(enigma2_OBJECTS) $(enigma2_DEPENDENCIES) $(enigma2_LDADD_WHOLE)
50 #       @rm -f enigma2$(EXEEXT)
51         $(CXXLINK) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)
52 #       g++ -o enigma2$(EXEEXT) $(enigma2_LDFLAGS) $(enigma2_OBJECTS) -Wl,--export-dynamic -Wl,--whole-archive $(enigma2_LDADD_WHOLE) -Wl,--no-whole-archive $(enigma2_LDADD) $(LIBS)