This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/Makefile.am

70 lines
1.6 KiB
Makefile

## Process this file with automake to produce Makefile.in
if HAS_PARSER
SUBDIRS = parser
endif
CLEANFILES =
INCLUDES = \
-I$(srcdir) \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@PACKAGE_CFLAGS@ \
@NOTIFY_CFLAGS@ \
@RUBY_CFLAGS@
bin_PROGRAMS = gnoemoe
BUILT_SOURCES = gm-marshal.c gm-marshal.h
gnoemoe_SOURCES =
include widgets/Makefile.include
include dialogs/Makefile.include
include mcp/Makefile.include
include mcp/Makefile.classes
gnoemoe_SOURCES += $(BUILT_SOURCES) \
gm-ansi.h gm-ui.h \
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
EXTRA_DIST = gm-marshal.list \
widgets/Makefile.include \
dialogs/Makefile.include \
mcp/Makefile.include \
mcp/Makefile.classes
gnoemoe_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) @RUBY_LIBS@ @NOTIFY_LIBS@
if HAS_PARSER
gnoemoe_LDADD += parser/libparser.la
endif
if HAS_RUBY
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 >> $@
CLEANFILES += $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
AM_CFLAGS = -Werror -Wall -Wsign-compare