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/channel_ops.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 \
|
2000-06-02 05:18:04 +08:00
|
|
|
pdb/gradients.pdb \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/gradient_select.pdb \
|
|
|
|
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 \
|
|
|
|
pdb/palette.pdb \
|
|
|
|
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 \
|
1999-04-28 15:03:35 +08:00
|
|
|
pdb/text_tool.pdb \
|
|
|
|
pdb/tools.pdb \
|
|
|
|
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 = \
|
1999-07-09 01:22:22 +08:00
|
|
|
../../app/appenv.h \
|
1999-08-19 07:56:26 +08:00
|
|
|
../../app/apptypes.h \
|
1999-07-09 01:22:22 +08:00
|
|
|
../../app/blend.h \
|
|
|
|
../../app/bucket_fill.h \
|
|
|
|
../../app/channel.h \
|
|
|
|
../../app/channel_ops.h \
|
|
|
|
../../app/clone.h \
|
|
|
|
../../app/color_balance.h \
|
|
|
|
../../app/convert.h \
|
|
|
|
../../app/convolve.h \
|
1999-07-20 12:00:08 +08:00
|
|
|
../../app/dodgeburn.h \
|
2000-07-16 20:49:04 +08:00
|
|
|
../../app/errors.h \
|
1999-07-09 01:22:22 +08:00
|
|
|
../../app/eraser.h \
|
|
|
|
../../app/gimpdrawable.h \
|
|
|
|
../../app/gimpimage.h \
|
|
|
|
../../app/hue_saturation.h \
|
|
|
|
../../app/layer.h \
|
|
|
|
../../app/layerF.h \
|
|
|
|
../../app/lut_funcs.h \
|
|
|
|
../../app/paint_core.h \
|
|
|
|
../../app/paint_funcs.h \
|
|
|
|
../../app/plug_in.h \
|
|
|
|
../../app/procedural_db.h \
|
|
|
|
../../app/shear_tool.h \
|
|
|
|
../../app/text_tool.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
|
|
|
|
|
|
|
stamp-app: $(srcdir)/app.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) \
|
|
|
|
$(PERL) pdbgen.pl app \
|
|
|
|
&& echo timestamp > $$rootme/stamp-app
|
1999-04-28 15:03:35 +08:00
|
|
|
|
2000-08-22 05:23:31 +08:00
|
|
|
stamp-lib: $(srcdir)/lib.pl $(pdb_scripts) $(pdb_sources)
|
|
|
|
rootme=`pwd`; \
|
|
|
|
destdir=`cd $(top_srcdir) && pwd`; export destdir; \
|
|
|
|
cd $(srcdir) && \
|
|
|
|
PDBGEN_BACKUP=$(PDBGEN_BACKUP) PDBGEN_GROUPS=$(PDBGEN_GROUPS) \
|
|
|
|
$(PERL) pdbgen.pl lib \
|
|
|
|
&& echo timestamp > $$rootme/stamp-lib
|
|
|
|
|
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-22 05:23:31 +08:00
|
|
|
all-local: stamp-app stamp-lib stamp-enum-code
|