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