@@ -139,8 +139,8 @@ storage/lmgr/lwlocknames.h: storage/lmgr/generate-lwlocknames.pl storage/lmgr/lw
139139utils/errcodes.h : utils/generate-errcodes.pl utils/errcodes.txt
140140 $(MAKE ) -C utils errcodes.h
141141
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 $@ )
144144
145145utils/probes.h : utils/probes.d
146146 $(MAKE ) -C utils probes.h
@@ -166,7 +166,7 @@ submake-schemapg:
166166
167167.PHONY : generated-headers
168168
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
170170
171171$(top_builddir ) /src/include/parser/gram.h : parser/gram.h
172172 prereqdir=` cd ' $(dir $<)' > /dev/null && pwd` && \
@@ -193,6 +193,11 @@ $(top_builddir)/src/include/utils/fmgroids.h: utils/fmgroids.h
193193 cd ' $(dir $@)' && rm -f $(notdir $@ ) && \
194194 $(LN_S ) " $$ prereqdir/$( notdir $< ) " .
195195
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+
196201$(top_builddir ) /src/include/utils/probes.h : utils/probes.h
197202 cd ' $(dir $@)' && rm -f $(notdir $@ ) && \
198203 $(LN_S ) " ../../../$( subdir) /utils/probes.h" .
@@ -211,7 +216,7 @@ distprep:
211216 $(MAKE ) -C catalog schemapg.h postgres.bki postgres.description postgres.shdescription
212217 $(MAKE ) -C replication repl_gram.c repl_scanner.c syncrep_gram.c syncrep_scanner.c
213218 $(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
215220 $(MAKE ) -C utils/misc guc-file.c
216221 $(MAKE ) -C utils/sort qsort_tuple.c
217222
@@ -303,6 +308,7 @@ clean:
303308 $(top_builddir ) /src/include/catalog/schemapg.h \
304309 $(top_builddir ) /src/include/storage/lwlocknames.h \
305310 $(top_builddir ) /src/include/utils/fmgroids.h \
311+ $(top_builddir ) /src/include/utils/fmgrprotos.h \
306312 $(top_builddir ) /src/include/utils/probes.h
307313ifeq ($(PORTNAME ) , cygwin)
308314 rm -f postgres.dll libpostgres.a
@@ -331,6 +337,7 @@ maintainer-clean: distclean
331337 storage/lmgr/lwlocknames.c \
332338 storage/lmgr/lwlocknames.h \
333339 utils/fmgroids.h \
340+ utils/fmgrprotos.h \
334341 utils/fmgrtab.c \
335342 utils/errcodes.h \
336343 utils/misc/guc-file.c \
0 commit comments