2001-08-17 22:27:31 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2001-08-17 22:27:31 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Plug-In\" \
|
2005-02-13 23:08:08 +08:00
|
|
|
@GTHREAD_CFLAGS@
|
2001-08-17 22:27:31 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(top_srcdir) \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir)/app \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(top_srcdir)/app \
|
2003-09-11 06:06:45 +08:00
|
|
|
$(GDK_PIXBUF_CFLAGS) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(includedir)
|
2001-12-19 08:13:16 +08:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libappplug-in.a
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libappplug_in_a_SOURCES = \
|
2006-03-27 21:49:19 +08:00
|
|
|
plug-in-enums.c \
|
2005-01-23 07:49:56 +08:00
|
|
|
plug-in-enums.h \
|
2002-03-21 01:46:13 +08:00
|
|
|
plug-in-types.h \
|
|
|
|
plug-in.c \
|
|
|
|
plug-in.h \
|
2004-09-22 23:26:58 +08:00
|
|
|
plug-in-context.c \
|
|
|
|
plug-in-context.h \
|
2006-02-21 19:05:43 +08:00
|
|
|
plug-in-data.c \
|
|
|
|
plug-in-data.h \
|
2003-02-11 09:21:21 +08:00
|
|
|
plug-in-debug.c \
|
|
|
|
plug-in-debug.h \
|
2002-03-21 01:46:13 +08:00
|
|
|
plug-in-def.c \
|
|
|
|
plug-in-def.h \
|
2006-04-10 07:40:45 +08:00
|
|
|
plug-in-file.c \
|
|
|
|
plug-in-file.h \
|
2006-04-10 05:04:37 +08:00
|
|
|
plug-in-help-domain.c \
|
|
|
|
plug-in-help-domain.h \
|
|
|
|
plug-in-locale-domain.c \
|
|
|
|
plug-in-locale-domain.h \
|
|
|
|
plug-in-menu-branch.c \
|
|
|
|
plug-in-menu-branch.h \
|
2003-01-30 19:20:12 +08:00
|
|
|
plug-in-message.c \
|
|
|
|
plug-in-message.h \
|
2002-03-21 01:46:13 +08:00
|
|
|
plug-in-params.c \
|
|
|
|
plug-in-params.h \
|
2004-09-22 20:27:18 +08:00
|
|
|
plug-in-proc-frame.c \
|
|
|
|
plug-in-proc-frame.h \
|
2002-03-21 01:46:13 +08:00
|
|
|
plug-in-progress.c \
|
|
|
|
plug-in-progress.h \
|
|
|
|
plug-in-rc.c \
|
2003-01-30 19:20:12 +08:00
|
|
|
plug-in-rc.h \
|
|
|
|
plug-in-run.c \
|
|
|
|
plug-in-run.h \
|
|
|
|
plug-in-shm.c \
|
2005-04-06 05:10:55 +08:00
|
|
|
plug-in-shm.h \
|
|
|
|
plug-ins.c \
|
|
|
|
plug-ins.h \
|
|
|
|
plug-ins-query.c \
|
|
|
|
plug-ins-query.h
|
2003-12-13 09:35:19 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = makefile.msc
|
2006-03-27 21:49:19 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependencies
|
|
|
|
gen_sources = xgen-bec
|
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources)
|
|
|
|
|
|
|
|
$(srcdir)/plug-in-enums.c: $(srcdir)/plug-in-enums.h $(GIMP_MKENUMS)
|
|
|
|
$(GIMP_MKENUMS) \
|
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"plug-in-enums.h\"\n#include \"gimp-intl.h\"" \
|
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
|
|
|
|
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
|
|
|
--vtail " { 0, NULL, NULL }\n };\n" \
|
|
|
|
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
|
|
|
|
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
|
|
|
|
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (! type)\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
|
|
|
|
$(srcdir)/plug-in-enums.h > xgen-bec \
|
|
|
|
&& cp xgen-bec $(@F) \
|
|
|
|
&& rm -f xgen-bec
|