DISTCLEANFILES = ./intl/plural.c ./po/stamp-po
BUILT_SOURCES =
-AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_srcdir)/gl -I$(top_builddir)/gl
+AM_CPPFLAGS=-I$(top_srcdir)/intl -I$(top_builddir)/intl \
+ -I$(top_srcdir)/gl -I$(top_builddir)/gl
AM_CFLAGS=
-Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
endif
-if unix
-AM_CFLAGS+=-Dunix
-endif
-
-if msdos
-AM_CFLAGS+=-D__MSDOS__
-endif
-
+CC_FOR_BUILD = @CC_FOR_BUILD@
+EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
.q.c:
@$(top_srcdir)/mkinstalldirs `dirname $@`
- ./src/language/lexer/q2c $< $@
+ ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@
-$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT)
+$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
all_q_sources =
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
include $(top_srcdir)/src/automake.mk
include $(top_srcdir)/tests/automake.mk
+
+if WITH_GUI_TOOLS
+include $(top_srcdir)/glade/automake.mk
+endif