2000-06-01 Michael Natterer <mitch@gimp.org> Sven Neumann <sven@gimp.org> Simon Budig <Simon.Budig@unix-ag.org> Garry R. Osgood <gosgood@idt.net> Seth Burgess <sjburges@gimp.org> Tuomas Kuosmanen <tigert@gimp.org> Tor Lillqvist <tml@iki.fi> Andy Thomas <alt@gimp.org> Andreas Bogk <andreas@andreas.org> Vincent Kolwitz <vincent@andreas.org> The remaining bits ... * tools/pdbgen/Makefile.am * tools/pdbgen/groups.pl * tools/pdbgen/pdb/gradient.pdb -> gradients.pdb * app/Makefile.am * app/gradient_cmds.c -> gradients_cmds.c * libgimp/gimpbrushes_pdb.[ch] * libgimp/gimpfileops_pdb.[ch] * libgimp/gimpguides_pdb.[ch] * libgimp/gimphelp_pdb.[ch] * libgimp/gimpmessage_pdb.[ch] * libgimp/gimpparasite_pdb.[ch] * libgimp/gimppatterns_pdb.[ch] * libgimp/gimpplugin_pdb.[ch]: replaced with code based on files generated using pdbgen * libgimp/gimpbrushmenu.c * libgimp/gimppatternmenu.c: reflect changes in gimp[brushes|patterns]_pdb.[ch] * tools/pdbgen/pdb/gradient.pdb -> gradients.pdb * tools/pdbgen/pdb/plug_in.pdb: made it create libgimp code
124 lines
2.8 KiB
Makefile
124 lines
2.8 KiB
Makefile
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 \
|
|
pdb/display.pdb \
|
|
pdb/drawable.pdb \
|
|
pdb/edit.pdb \
|
|
pdb/fileops.pdb \
|
|
pdb/floating_sel.pdb \
|
|
pdb/gimprc.pdb \
|
|
pdb/gradients.pdb \
|
|
pdb/gradient_select.pdb \
|
|
pdb/guides.pdb \
|
|
pdb/help.pdb \
|
|
pdb/image.pdb \
|
|
pdb/layer.pdb \
|
|
pdb/message.pdb \
|
|
pdb/misc.pdb \
|
|
pdb/palette.pdb \
|
|
pdb/parasite.pdb \
|
|
pdb/paths.pdb \
|
|
pdb/pattern_select.pdb \
|
|
pdb/patterns.pdb \
|
|
pdb/plug_in.pdb \
|
|
pdb/procedural_db.pdb \
|
|
pdb/selection.pdb \
|
|
pdb/text_tool.pdb \
|
|
pdb/tools.pdb \
|
|
pdb/undo.pdb \
|
|
pdb/unit.pdb
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
app.pl \
|
|
enumcode.pl \
|
|
enumgen.pl \
|
|
groups.pl \
|
|
lib.pl \
|
|
pdb.pl \
|
|
pdbgen.pl \
|
|
stddefs.pdb \
|
|
util.pl \
|
|
$(pdb_sources)
|
|
|
|
enum_headers = \
|
|
../../app/appenv.h \
|
|
../../app/apptypes.h \
|
|
../../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 \
|
|
../../app/dodgeburn.h \
|
|
../../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
|
|
|
|
pdb_scripts = \
|
|
pdbgen.pl \
|
|
stddefs.pdb \
|
|
pdb.pl \
|
|
util.pl \
|
|
enums.pl \
|
|
groups.pl
|
|
|
|
$(srcdir)/enums.pl: stamp-enums
|
|
@:
|
|
stamp-enums: $(srcdir)/enumgen.pl $(enum_headers) Makefile.am
|
|
rootme=`pwd`; \
|
|
cd $(srcdir) && $(PERL) enumgen.pl $(enum_headers) \
|
|
&& echo timestamp > $$rootme/stamp-enums
|
|
|
|
$(srcdir)/groups.pl: stamp-groups
|
|
@:
|
|
|
|
stamp-groups: Makefile.am
|
|
rootme=`pwd`; cd $(srcdir) \
|
|
&& echo "# This file is autogenerated" > groups.pl.tmp \
|
|
&& echo "@groups = qw(" >> groups.pl.tmp \
|
|
&& (for pdb in $(pdb_sources); do \
|
|
group=`echo $$pdb | sed -e 's%pdb/\([^.]*\)\..*%\1%'`; \
|
|
echo " $$group" >> groups.pl.tmp; \
|
|
done) \
|
|
&& echo ");" >> groups.pl.tmp \
|
|
&& (cmp -s groups.pl.tmp groups.pl || cp groups.pl.tmp groups.pl) \
|
|
&& rm groups.pl.tmp \
|
|
&& echo timestamp > $$rootme/stamp-groups
|
|
|
|
stamp-app: $(srcdir)/app.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 app \
|
|
&& echo timestamp > $$rootme/stamp-app
|
|
|
|
stamp-enum-code: $(srcdir)/enumcode.pl enums.pl util.pl
|
|
rootme=`pwd`; \
|
|
destdir=`cd $(top_srcdir) && pwd`; export destdir; \
|
|
cd $(srcdir) && \
|
|
PDBGEN_BACKUP=$(PDBGEN_BACKUP) \
|
|
$(PERL) enumcode.pl \
|
|
&& echo timestamp > $$rootme/stamp-enum-code
|
|
|
|
all-local: stamp-app stamp-enum-code
|