2001-07-17 20:05:57 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2002-08-18 04:35:31 +00:00
|
|
|
QFDEFS_LIBS=@QFDEFS_LIBS@
|
|
|
|
QFDEFS_DEPS=@QFDEFS_DEPS@
|
|
|
|
QFDEFS_INCS=@QFDEFS_INCS@
|
|
|
|
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QFDEFS_INCS)
|
|
|
|
GENDEFS=./gendefs
|
2001-07-17 20:05:57 +00:00
|
|
|
|
2002-09-17 22:19:14 +00:00
|
|
|
if BUILD_QFDEFS
|
|
|
|
qfdefs=qfdefs
|
|
|
|
gendefs=gendefs
|
|
|
|
else
|
|
|
|
qfdefs=
|
|
|
|
gendefs=
|
|
|
|
endif
|
|
|
|
|
|
|
|
bin_PROGRAMS= $(qfdefs)
|
|
|
|
noinst_PROGRAMS= $(gendefs)
|
|
|
|
EXTRA_PROGRAMS= qfdefs gendefs
|
2001-07-17 20:05:57 +00:00
|
|
|
|
2002-08-18 04:35:31 +00:00
|
|
|
qfdefs_SOURCES= defs.c defs_nq.c defs_qw.c fix_globals.c qfdefs.c
|
|
|
|
qfdefs_LDADD= $(QFDEFS_LIBS)
|
|
|
|
qfdefs_DEPENDENCIES=$(QFDEFS_DEPS)
|
2001-07-17 20:05:57 +00:00
|
|
|
|
|
|
|
gendefs_SOURCES= gendefs.c
|
|
|
|
|
2002-08-18 04:35:31 +00:00
|
|
|
defs_nq.c: $(srcdir)/../include/progdefs.nq gendefs
|
|
|
|
$(GENDEFS) nq $(srcdir)/../include/progdefs.nq defs_nq.c
|
2001-07-17 20:05:57 +00:00
|
|
|
|
2002-08-18 04:35:31 +00:00
|
|
|
defs_qw.c: $(srcdir)/../include/progdefs.qw gendefs
|
|
|
|
$(GENDEFS) qw $(srcdir)/../include/progdefs.qw defs_qw.c
|
2001-07-17 20:05:57 +00:00
|
|
|
|
|
|
|
CLEANFILES= defs_nq.c defs_qw.c
|