1999-04-28 15:03:35 +08:00
|
|
|
PDBGEN_BACKUP = 0
|
|
|
|
PDBGEN_GROUPS =
|
|
|
|
|
|
|
|
pdb_sources = \
|
|
|
|
pdb/brush_select.pdb \
|
|
|
|
pdb/brushes.pdb \
|
|
|
|
pdb/channel.pdb \
|
|
|
|
pdb/color.pdb \
|
|
|
|
pdb/convert.pdb \
|
2000-06-01 20:20:13 +08:00
|
|
|
pdb/display.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/drawable.pdb \
|
|
|
|
pdb/edit.pdb \
|
1999-05-01 05:11:27 +08:00
|
|
|
pdb/fileops.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/floating_sel.pdb \
|
|
|
|
pdb/gimprc.pdb \
|
|
|
|
pdb/gradient_select.pdb \
|
2002-03-13 05:02:10 +08:00
|
|
|
pdb/gradients.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/guides.pdb \
|
2000-05-31 21:24:14 +08:00
|
|
|
pdb/help.pdb \
|
2000-06-01 20:20:13 +08:00
|
|
|
pdb/image.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/layer.pdb \
|
2000-05-31 21:24:14 +08:00
|
|
|
pdb/message.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/misc.pdb \
|
2001-12-11 01:01:49 +08:00
|
|
|
pdb/misc_tools.pdb \
|
|
|
|
pdb/paint_tools.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/palette.pdb \
|
2002-03-13 05:02:10 +08:00
|
|
|
pdb/palette_select.pdb \
|
|
|
|
pdb/palettes.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/parasite.pdb \
|
|
|
|
pdb/paths.pdb \
|
|
|
|
pdb/pattern_select.pdb \
|
|
|
|
pdb/patterns.pdb \
|
1999-05-04 03:22:58 +08:00
|
|
|
pdb/plug_in.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/procedural_db.pdb \
|
2000-06-01 20:20:13 +08:00
|
|
|
pdb/selection.pdb \
|
2001-10-22 20:13:44 +08:00
|
|
|
pdb/selection_tools.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/text_tool.pdb \
|
2001-11-20 02:23:43 +08:00
|
|
|
pdb/transform_tools.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/undo.pdb \
|
|
|
|
pdb/unit.pdb
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
app.pl \
|
1999-09-25 09:59:42 +08:00
|
|
|
enumcode.pl \
|
1999-04-28 15:03:35 +08:00
|
|
|
enumgen.pl \
|
|
|
|
groups.pl \
|
|
|
|
lib.pl \
|
|
|
|
pdb.pl \
|
|
|
|
pdbgen.pl \
|
|
|
|
stddefs.pdb \
|
|
|
|
util.pl \
|
|
|
|
$(pdb_sources)
|
|
|
|
|
1999-03-28 14:36:11 +08:00
|
|
|
enum_headers = \
|
2001-12-01 08:14:14 +08:00
|
|
|
../../libgimpbase/gimpbasetypes.h \
|
|
|
|
../../app/paint-funcs/paint-funcs-types.h \
|
2001-12-08 00:10:53 +08:00
|
|
|
../../app/base/base-enums.h \
|
2001-12-11 23:58:07 +08:00
|
|
|
../../app/core/core-enums.h \
|
2002-03-19 23:05:38 +08:00
|
|
|
../../app/core/core-types.h \
|
|
|
|
../../app/paint/paint-enums.h \
|
2001-12-01 08:14:14 +08:00
|
|
|
../../app/plug-in/plug-in-types.h \
|
2002-03-19 23:05:38 +08:00
|
|
|
../../app/tools/tools-enums.h \
|
2001-12-01 08:14:14 +08:00
|
|
|
../../app/tools/gimphuesaturationtool.h \
|
2001-03-08 09:07:03 +08:00
|
|
|
../../app/tools/gimptexttool.h
|
1999-04-28 15:03:35 +08:00
|
|
|
|
|
|
|
pdb_scripts = \
|
1999-07-09 01:22:22 +08:00
|
|
|
pdbgen.pl \
|
|
|
|
stddefs.pdb \
|
|
|
|
pdb.pl \
|
|
|
|
util.pl \
|
|
|
|
enums.pl \
|
|
|
|
groups.pl
|
1999-04-28 15:03:35 +08:00
|
|
|
|
|
|
|
$(srcdir)/enums.pl: stamp-enums
|
|
|
|
@:
|
1999-05-04 03:22:58 +08:00
|
|
|
stamp-enums: $(srcdir)/enumgen.pl $(enum_headers) Makefile.am
|
1999-07-09 01:22:22 +08:00
|
|
|
rootme=`pwd`; \
|
|
|
|
cd $(srcdir) && $(PERL) enumgen.pl $(enum_headers) \
|
|
|
|
&& echo timestamp > $$rootme/stamp-enums
|
1999-04-28 15:03:35 +08:00
|
|
|
|
|
|
|
$(srcdir)/groups.pl: stamp-groups
|
|
|
|
@:
|
1999-07-08 13:26:18 +08:00
|
|
|
|
1999-04-28 15:03:35 +08:00
|
|
|
stamp-groups: Makefile.am
|
1999-07-09 01:22:22 +08:00
|
|
|
rootme=`pwd`; cd $(srcdir) \
|
1999-07-08 13:26:18 +08:00
|
|
|
&& echo "# This file is autogenerated" > groups.pl.tmp \
|
|
|
|
&& echo "@groups = qw(" >> groups.pl.tmp \
|
1999-04-28 15:03:35 +08:00
|
|
|
&& (for pdb in $(pdb_sources); do \
|
|
|
|
group=`echo $$pdb | sed -e 's%pdb/\([^.]*\)\..*%\1%'`; \
|
1999-07-08 13:26:18 +08:00
|
|
|
echo " $$group" >> groups.pl.tmp; \
|
1999-04-28 15:03:35 +08:00
|
|
|
done) \
|
1999-07-08 13:26:18 +08:00
|
|
|
&& echo ");" >> groups.pl.tmp \
|
1999-04-28 15:03:35 +08:00
|
|
|
&& (cmp -s groups.pl.tmp groups.pl || cp groups.pl.tmp groups.pl) \
|
|
|
|
&& rm groups.pl.tmp \
|
1999-07-09 01:22:22 +08:00
|
|
|
&& echo timestamp > $$rootme/stamp-groups
|
1999-04-28 15:03:35 +08:00
|
|
|
|
2000-08-23 09:44:59 +08:00
|
|
|
stamp-pdbgen: $(srcdir)/app.pl $(srcdir)/lib.pl $(pdb_scripts) $(pdb_sources)
|
1999-07-09 01:22:22 +08:00
|
|
|
rootme=`pwd`; \
|
|
|
|
destdir=`cd $(top_srcdir) && pwd`; export destdir; \
|
|
|
|
cd $(srcdir) && \
|
|
|
|
PDBGEN_BACKUP=$(PDBGEN_BACKUP) PDBGEN_GROUPS=$(PDBGEN_GROUPS) \
|
2000-08-23 09:44:59 +08:00
|
|
|
$(PERL) pdbgen.pl app lib \
|
|
|
|
&& echo timestamp > $$rootme/stamp-pdbgen
|
2000-08-22 05:23:31 +08:00
|
|
|
|
1999-09-25 09:59:42 +08:00
|
|
|
stamp-enum-code: $(srcdir)/enumcode.pl enums.pl util.pl
|
1999-09-24 07:42:38 +08:00
|
|
|
rootme=`pwd`; \
|
1999-09-25 09:59:42 +08:00
|
|
|
destdir=`cd $(top_srcdir) && pwd`; export destdir; \
|
1999-09-24 07:42:38 +08:00
|
|
|
cd $(srcdir) && \
|
1999-09-24 08:03:47 +08:00
|
|
|
PDBGEN_BACKUP=$(PDBGEN_BACKUP) \
|
1999-09-25 09:59:42 +08:00
|
|
|
$(PERL) enumcode.pl \
|
|
|
|
&& echo timestamp > $$rootme/stamp-enum-code
|
1999-09-24 07:42:38 +08:00
|
|
|
|
2000-08-23 09:44:59 +08:00
|
|
|
all-local: stamp-pdbgen stamp-enum-code
|