More moving stuff around
[dasher.git] / Src / Makefile.am
blobba1653ce7b763fa411831be53e84486a2f1783be
1 LIBS = @INTLLIBS@ @LIBS@
3 datadir = @datadir@
4 localedir = $(datadir)/locale
5 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
7 bin_PROGRAMS = dasher
9 if DOGTK2
11 SUBDIRS = DasherCore Gtk2 Common Win32
12 dasher_SOURCES = main.cc
14 AM_CXXFLAGS = \
15         $(GTK2BUILD_CFLAGS) \
16         -I$(srcdir)/Gtk2 \
17         -I$(srcdir)/DasherCore \
18         -I$(top_srcdir)/intl \
19         -DPREFIX=\"$(PREFIX)\" \
20         -DLIBDIR=\"$(libdir)\" \
21         -DDATADIR=\"$(datadir)\" \
22         -DPROGDATA=\"$(pkgdatadir)\" \
23         -DSYSCONFDIR=\"$(sysconfdir)\" \
24         -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\"
26 dasher_LDADD = \
27         $(GTK2BUILD_LIBS) \
28         -lexpat \
29         $(POPT_LIBS) \
30         $(GPELIB) \
31         Common/libdashermisc.a \
32         Gtk2/libdashergtk.a \
33         Gtk2/libdashercontrol.a \
34         DasherCore/libdashercore.a \
35         DasherCore/LanguageModelling/libdasherlm.a \
36         DasherCore/Alphabet/libdasheralphabet.a \
37         Common/libdashermisc.a
38 endif
40 if DOQTE
42 QTDIR=/usr/share/qte2
44 SUBDIRS = DasherCore Qt 
46 endif