File: Makefile.am

package info (click to toggle)
gimp 2.10.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 218,716 kB
  • sloc: ansic: 787,125; makefile: 11,685; python: 6,198; lisp: 5,456; sh: 4,486; cpp: 4,114; perl: 3,807; xml: 1,481; yacc: 588; lex: 342
file content (158 lines) | stat: -rw-r--r-- 3,974 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
PDBGEN_BACKUP = 0
PDBGEN_GROUPS =

pdb_groups = \
	groups/brush.pdb		\
	groups/brush_select.pdb		\
	groups/brushes.pdb		\
	groups/buffer.pdb		\
	groups/channel.pdb		\
	groups/color.pdb		\
	groups/context.pdb		\
	groups/debug.pdb		\
	groups/display.pdb		\
	groups/drawable.pdb		\
	groups/drawable_color.pdb	\
	groups/drawable_edit.pdb	\
	groups/drawable_transform.pdb	\
	groups/dynamics.pdb		\
	groups/edit.pdb			\
	groups/fileops.pdb		\
	groups/floating_sel.pdb		\
	groups/font_select.pdb		\
	groups/fonts.pdb		\
	groups/gimp.pdb			\
	groups/gimprc.pdb		\
	groups/gradient.pdb		\
	groups/gradient_select.pdb	\
	groups/gradients.pdb		\
	groups/help.pdb			\
	groups/image.pdb		\
	groups/image_color_profile.pdb	\
	groups/image_convert.pdb	\
	groups/image_grid.pdb		\
	groups/image_guides.pdb		\
	groups/image_sample_points.pdb	\
	groups/image_select.pdb		\
	groups/image_transform.pdb	\
	groups/image_undo.pdb		\
	groups/item.pdb			\
	groups/item_transform.pdb	\
	groups/layer.pdb		\
	groups/message.pdb		\
	groups/paint_tools.pdb		\
	groups/palette.pdb		\
	groups/palette_select.pdb	\
	groups/palettes.pdb		\
	groups/paths.pdb		\
	groups/pattern.pdb		\
	groups/pattern_select.pdb	\
	groups/patterns.pdb		\
	groups/plug_in.pdb		\
	groups/plug_in_compat.pdb	\
	groups/procedural_db.pdb	\
	groups/progress.pdb		\
	groups/selection.pdb		\
	groups/selection_tools.pdb	\
	groups/text_layer.pdb		\
	groups/text_tool.pdb		\
	groups/transform_tools.pdb	\
	groups/unit.pdb			\
	groups/vectors.pdb

EXTRA_DIST = \
	README			\
	README_NEW_PDB_PROC	\
	app.pl			\
	enumcode.pl		\
	enumgen.pl		\
	enums.pl		\
	enums-external.pl	\
	groups.pl		\
	lib.pl			\
	pdb.pl			\
	pdbgen.pl		\
	stddefs.pdb		\
	util.pl			\
	$(pdb_groups)

enum_headers = \
	../libgimpbase/gimpbaseenums.h		\
	../libgimpconfig/gimpconfigenums.h	\
	../app/operations/operations-enums.h	\
	../app/core/core-enums.h		\
	../app/paint/paint-enums.h

pdb_scripts = \
	pdbgen.pl	\
	stddefs.pdb	\
	pdb.pl		\
	util.pl		\
	enums.pl	\
	groups.pl

enum_deps = \
	enums.pl		\
	$(srcdir)/util.pl

pdbgen_deps = \
	$(enum_deps)		\
	$(srcdir)/app.pl	\
	$(srcdir)/lib.pl	\
	$(srcdir)/pdb.pl	\
	$(srcdir)/stddefs.pdb	\
	$(srcdir)/pdbgen.pl

stamp_files = \
	stamp-enums		\
	stamp-groups		\
	stamp-pdbgen		\
	stamp-enum-code		\
	stamp-enum-code-py

DISTCLEANFILES = $(stamp_files)

$(srcdir)/enums.pl: stamp-enums
	@:
stamp-enums: $(srcdir)/enumgen.pl $(enum_headers) enums-external.pl Makefile.am
	rootme=`pwd`; \
	destdir=`cd $(top_srcdir) && pwd`; export destdir; \
	builddir=`cd $(top_builddir) && pwd`; export builddir; \
	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" > $$rootme/groups.pl.tmp \
	&& echo "@groups = qw(" >> $$rootme/groups.pl.tmp \
	&& (for pdb in $(pdb_groups); do \
	      group=`echo $$pdb | sed -e 's%groups/\([^.]*\)\..*%\1%'`; \
	      echo "    $$group" >> $$rootme/groups.pl.tmp; \
	    done) \
	&& 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 \
	&& echo timestamp > $$rootme/stamp-groups

stamp-pdbgen: $(pdbgen_deps) $(pdb_scripts) $(pdb_groups) Makefile.am
	rootme=`pwd`; \
	destdir=`cd $(top_srcdir) && pwd`; export destdir; \
	builddir=`cd $(top_builddir) && pwd`; export builddir; \
	cd $(srcdir) && \
	   PDBGEN_BACKUP=$(PDBGEN_BACKUP) PDBGEN_GROUPS=$(PDBGEN_GROUPS) \
	   $(PERL) pdbgen.pl app lib \
	&& echo timestamp > $$rootme/stamp-pdbgen

stamp-enum-code: $(srcdir)/enumcode.pl $(enum_deps)
	rootme=`pwd`; \
	destdir=`cd $(top_srcdir) && pwd`; export destdir; \
	builddir=`cd $(top_builddir) && pwd`; export builddir; \
	cd $(srcdir) && \
	  PDBGEN_BACKUP=$(PDBGEN_BACKUP) \
	  $(PERL) enumcode.pl \
	 && echo timestamp > $$rootme/stamp-enum-code

all-local: stamp-pdbgen stamp-enum-code