gimp/app/config/Makefile.am
Sven Neumann 2e59153487 Changed my mind again and decided that gimpconfig-dump should create
2003-01-13  Sven Neumann  <sven@gimp.org>

	Changed my mind again and decided that gimpconfig-dump should
	create gimprc-1.3.5.in and have configure process it.

	* app/config/Makefile.am
	* app/config/gimpconfig-dump.c: create gimprc-1.3.5.in to be
	processed by configure.

	* configure.in
	* docs/Makefile.am
	* docs/gimprc-1.3.5: removed again ...
	* docs/gimprc-1.3.5.in: ... and replaced with a new version
	generated by gimpconfig-dump.
2003-01-13 10:57:40 +00:00

94 lines
1.9 KiB
Makefile

## Process this file with automake to produce Makefile.in
noinst_LIBRARIES = libappconfig.a
libappconfig_a_SOURCES = \
config-types.h \
gimpconfig.c \
gimpconfig.h \
gimpconfig-deserialize.c \
gimpconfig-deserialize.h \
gimpconfig-params.c \
gimpconfig-params.h \
gimpconfig-path.c \
gimpconfig-path.h \
gimpconfig-serialize.c \
gimpconfig-serialize.h \
gimpconfig-serialize.h \
gimpconfig-types.c \
gimpconfig-types.h \
gimpconfig-utils.c \
gimpconfig-utils.h \
gimpbaseconfig.c \
gimpbaseconfig.h \
gimpcoreconfig.c \
gimpcoreconfig.h \
gimpdisplayconfig.c \
gimpdisplayconfig.h \
gimpguiconfig.c \
gimpguiconfig.h \
gimppluginconfig.c \
gimppluginconfig.h \
gimprc.c \
gimprc.h \
gimprc-blurbs.h \
gimpscanner.c \
gimpscanner.h
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp-Config\" \
@GIMP_THREAD_FLAGS@ \
@GIMP_MP_FLAGS@
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/app \
$(GLIB_CFLAGS) \
-I$(includedir)
gimpconfig_libs = \
libappconfig.a \
../base/libappbase.a \
../core/libappcore.a \
../display/libappdisplay.a \
../widgets/libappwidgets.a \
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la
EXTRA_PROGRAMS = gimpconfig-dump test-config
#
# GimpConfig dump utility that generates a system gimprc and the manpage
#
gimpconfig_dump_SOURCES = gimpconfig-dump.c
gimpconfig_dump_LDADD = $(GLIB_LIBS) $(gimpconfig_libs)
dump: gimpconfig-dump
./$<
gimprc: gimpconfig-dump
./$< --system-gimprc > gimprc 2>/dev/null
man: gimpconfig-dump
./$< --man-page > gimprc-1.3.5.in 2>/dev/null
#
# unit tests for the GimpConfig system
#
TESTS = test-config
test_config_DEPENDENCIES = $(gimpconfig_dependencies)
test_config_LDADD = $(GLIB_LIBS) $(gimpconfig_libs)
CLEANFILES = $(EXTRA_PROGRAMS) foorc gimprc gimprc-1.3.5.in