@@ -139,8 +139,8 @@ storage/lmgr/lwlocknames.h: storage/lmgr/generate-lwlocknames.pl storage/lmgr/lw
139
139
utils/errcodes.h : utils/generate-errcodes.pl utils/errcodes.txt
140
140
$(MAKE ) -C utils errcodes.h
141
141
142
- utils/fmgroids.h : utils/Gen_fmgrtab.pl catalog/Catalog.pm $(top_srcdir ) /src/include/catalog/pg_proc.h
143
- $(MAKE ) -C utils fmgroids.h
142
+ utils/fmgroids.h utils/fmgrprotos.h : utils/Gen_fmgrtab.pl catalog/Catalog.pm $(top_srcdir ) /src/include/catalog/pg_proc.h
143
+ $(MAKE ) -C utils $( notdir $@ )
144
144
145
145
utils/probes.h : utils/probes.d
146
146
$(MAKE ) -C utils probes.h
@@ -166,7 +166,7 @@ submake-schemapg:
166
166
167
167
.PHONY : generated-headers
168
168
169
- generated-headers : $(top_builddir ) /src/include/parser/gram.h $(top_builddir ) /src/include/catalog/schemapg.h $(top_builddir ) /src/include/storage/lwlocknames.h $(top_builddir ) /src/include/utils/errcodes.h $(top_builddir ) /src/include/utils/fmgroids.h $(top_builddir ) /src/include/utils/probes.h
169
+ generated-headers : $(top_builddir ) /src/include/parser/gram.h $(top_builddir ) /src/include/catalog/schemapg.h $(top_builddir ) /src/include/storage/lwlocknames.h $(top_builddir ) /src/include/utils/errcodes.h $(top_builddir ) /src/include/utils/fmgroids.h $(top_builddir ) /src/include/utils/fmgrprotos.h $( top_builddir ) /src/include/utils/ probes.h
170
170
171
171
$(top_builddir ) /src/include/parser/gram.h : parser/gram.h
172
172
prereqdir=` cd ' $(dir $<)' > /dev/null && pwd` && \
@@ -193,6 +193,11 @@ $(top_builddir)/src/include/utils/fmgroids.h: utils/fmgroids.h
193
193
cd ' $(dir $@)' && rm -f $(notdir $@ ) && \
194
194
$(LN_S ) " $$ prereqdir/$( notdir $< ) " .
195
195
196
+ $(top_builddir ) /src/include/utils/fmgrprotos.h : utils/fmgrprotos.h
197
+ prereqdir=` cd ' $(dir $<)' > /dev/null && pwd` && \
198
+ cd ' $(dir $@)' && rm -f $(notdir $@ ) && \
199
+ $(LN_S ) " $$ prereqdir/$( notdir $< ) " .
200
+
196
201
$(top_builddir ) /src/include/utils/probes.h : utils/probes.h
197
202
cd ' $(dir $@)' && rm -f $(notdir $@ ) && \
198
203
$(LN_S ) " ../../../$( subdir) /utils/probes.h" .
@@ -211,7 +216,7 @@ distprep:
211
216
$(MAKE ) -C catalog schemapg.h postgres.bki postgres.description postgres.shdescription
212
217
$(MAKE ) -C replication repl_gram.c repl_scanner.c syncrep_gram.c syncrep_scanner.c
213
218
$(MAKE ) -C storage/lmgr lwlocknames.h
214
- $(MAKE ) -C utils fmgrtab.c fmgroids.h errcodes.h
219
+ $(MAKE ) -C utils fmgrtab.c fmgroids.h fmgrprotos.h errcodes.h
215
220
$(MAKE ) -C utils/misc guc-file.c
216
221
$(MAKE ) -C utils/sort qsort_tuple.c
217
222
@@ -303,6 +308,7 @@ clean:
303
308
$(top_builddir ) /src/include/catalog/schemapg.h \
304
309
$(top_builddir ) /src/include/storage/lwlocknames.h \
305
310
$(top_builddir ) /src/include/utils/fmgroids.h \
311
+ $(top_builddir ) /src/include/utils/fmgrprotos.h \
306
312
$(top_builddir ) /src/include/utils/probes.h
307
313
ifeq ($(PORTNAME ) , cygwin)
308
314
rm -f postgres.dll libpostgres.a
@@ -331,6 +337,7 @@ maintainer-clean: distclean
331
337
storage/lmgr/lwlocknames.c \
332
338
storage/lmgr/lwlocknames.h \
333
339
utils/fmgroids.h \
340
+ utils/fmgrprotos.h \
334
341
utils/fmgrtab.c \
335
342
utils/errcodes.h \
336
343
utils/misc/guc-file.c \
0 commit comments