Gimp/libgimptool/Makefile.am
Sven Neumann 3aae39405e app/base/Makefile.am automake-1.6 seems to use yet another variable to
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
	variable to pass flags to the assembler (bug #84514). Define
	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.

	* configure.in
	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
	GNU make extension that we don't really need and newer versions of
	automake don't seem to like it.
2002-06-07 23:00:46 +00:00

53 lines
1.6 KiB
Makefile

## Process this file with automake to produce Makefile.in
libgimptoolincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimptool
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"LibGimpTool\" \
@GIMP_THREAD_FLAGS@
INCLUDES = \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
-I$(includedir)
lib_LTLIBRARIES = libgimptool-1.3.la
libgimptool_1_3_la_SOURCES = \
gimptooltypes.h \
gimptoolenums.h \
gimptoolenums.c \
gimptool.c \
gimptool.h \
gimptoolcontrol.h \
gimptoolmodule.c \
gimptoolmodule.h
libgimptoolinclude_HEADERS = \
gimptool.h \
gimptooltypes.h \
gimptoolenums.h \
gimptoolmodule.h
libgimptool_1_3_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libgimptool_1_3_la_LIBADD = $(GLIB_LIBS)
#
# rules to generate built sources
#
# setup autogeneration dependancies
gen_sources = xgen-tec
CLEANFILES = $(gen_sources)
$(srcdir)/gimptoolenums.c: $(srcdir)/gimptoolenums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpproxy/gimpproxytypes.h\"\n#include \"gimptoolenums.h\"\n#include \"libgimp/gimpintl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\nGType\n@enum_name@_get_type (void)\n{\n static GType enum_type = 0;\n\n if (!enum_type)\n enum_type = g_enum_register_static (\"@EnumName@\", @enum_name@_enum_values);\n\n return enum_type;\n}\n" \
$(srcdir)/gimptoolenums.h > xgen-tec \
&& cp xgen-tec $(@F) \
&& rm -f xgen-tec