55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
# SUBDIRS = test
|
|
SUBDIRS = parser
|
|
CLEANFILES =
|
|
INCLUDES = \
|
|
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
|
|
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
|
|
@PACKAGE_CFLAGS@ \
|
|
@RUBYINCLUDE@
|
|
|
|
bin_PROGRAMS = gnoemoe
|
|
BUILT_SOURCES = gm-marshal.c gm-marshal.h
|
|
|
|
gnoemoe_SOURCES = $(BUILT_SOURCES) \
|
|
gm-app.c gm-app.h \
|
|
gm-options.c gm-options.h \
|
|
gm-color-table.c gm-color-table.h \
|
|
gm-net.c gm-net.h \
|
|
gm-triggers.c gm-triggers.h \
|
|
gm-world.c gm-world.h \
|
|
gm-string.c gm-string.h \
|
|
gm-support.c gm-support.h \
|
|
gm-editor.c gm-editor.h \
|
|
gm-pixbuf.c gm-pixbuf.h \
|
|
gm-debug.c gm-debug.h \
|
|
list.c list.h
|
|
|
|
include $(srcdir)/widgets/Makefile.include
|
|
include $(srcdir)/dialogs/Makefile.include
|
|
include $(srcdir)/mcp/Makefile.include
|
|
include $(srcdir)/mcp/Makefile.classes
|
|
|
|
if HAVE_SCRIPT
|
|
gnoemoe_SOURCES += gm-scripts.c gm-scripts.h
|
|
endif
|
|
|
|
gm-marshal.h: gm-marshal.list $(GLIB_GENMARSHAL)
|
|
$(GLIB_GENMARSHAL) $< --header --prefix=gm_marshal > $@
|
|
|
|
gm-marshal.c: gm-marshal.list $(GLIB_GENMARSHAL)
|
|
echo "#include \"gm-marshal.h\"" > $@ && \
|
|
$(GLIB_GENMARSHAL) $< --body --prefix=gm_marshal >> $@
|
|
|
|
mcp/Makefile.classes: mcp/packages.defs
|
|
( cd $(srcdir) && echo "gnoemoe_SOURCES += \\" > $@ && \
|
|
./mcp/$(MCP_CLASSES) --defs $< --files --prefix "mcp/" >> $@ )
|
|
|
|
gnoemoe_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) @RUBYLINK@ parser/libparser.la
|
|
|
|
CLEANFILES += $(BUILT_SOURCES)
|
|
|
|
dist-hook:
|
|
cd $(distdir); rm -f $(BUILT_SOURCES)
|
|
|
|
AM_CFLAGS = -Werror -Wall -Wsign-compare
|