3434#
3535#
3636# IDENTIFICATION
37- # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.47 2000/05/11 17:46:28 momjian Exp $
37+ # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.48 2000/05/28 17:55:51 tgl Exp $
3838#
3939# -------------------------------------------------------------------------
4040
@@ -79,7 +79,7 @@ all: postgres $(POSTGRES_IMP) global1.bki.source local1_template1.bki.source \
7979global1.description local1_template1.description
8080
8181ifneq ($(PORTNAME ) , win)
82- postgres :fmgr .h$(OBJS ) $(VERSIONOBJ )
82+ postgres :utils/fmgroids .h$(OBJS ) $(VERSIONOBJ )
8383$(CC ) $(CFLAGS ) -o postgres$(OBJS ) $(OBJS1 ) $(VERSIONOBJ ) $(LDFLAGS )
8484else
8585postgres :$(DLLOBJS ) $(SRCDIR ) /utils/dllinit.o postgres.def libpostgres.a
@@ -126,15 +126,12 @@ parse.h: parser/parse.h
126126parser/parse.h :
127127$(MAKE ) -C parser parse.h
128128
129- fmgr.h : utils/fmgr.h
130- cp utils/fmgr.h.
131-
132- utils/fmgr.h :
133- $(MAKE ) -C utils fmgr.h
129+ utils/fmgroids.h :
130+ $(MAKE ) -C utils fmgroids.h
134131
135132# ############################################################################
136133clean :
137- rm -f postgres$(X ) $(POSTGRES_IMP ) fmgr.h parse.h\
134+ rm -f postgres$(X ) $(POSTGRES_IMP ) parse.h\
138135 global1.bki.source local1_template1.bki.source\
139136 global1.description local1_template1.description
140137ifeq ($(PORTNAME ) , win)
@@ -205,7 +202,7 @@ install-templates: $(TEMPLATEDIR) \
205202$(INSTALL) $(INSTLOPTS) pg_options.sample \
206203 $(TEMPLATEDIR)/pg_options.sample
207204
208- install-headers :fmgr .h$(SRCDIR ) /include/config.h
205+ install-headers :utils/fmgroids .h$(SRCDIR ) /include/config.h
209206-@if [! -d $( HEADERDIR) ]; then mkdir$(HEADERDIR ) ; fi
210207-@if [! -d $( HEADERDIR) /port ]; then mkdir$(HEADERDIR ) /port; fi
211208-@if [! -d $( HEADERDIR) /port/$( PORTNAME) ]; \
@@ -222,8 +219,6 @@ install-headers: fmgr.h $(SRCDIR)/include/config.h
222219then mkdir$(HEADERDIR ) /executor; fi
223220-@if [! -d $( HEADERDIR) /commands ]; \
224221then mkdir$(HEADERDIR ) /commands; fi
225- $(INSTALL ) $(INSTLOPTS ) fmgr.h\
226- $(HEADERDIR)/fmgr.h
227222$(INSTALL ) $(INSTLOPTS ) $(SRCDIR ) /include/os.h\
228223 $(HEADERDIR)/os.h
229224$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \
@@ -244,6 +239,8 @@ install-headers: fmgr.h $(SRCDIR)/include/config.h
244239 $(HEADERDIR)/utils/geo_decls.h
245240$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \
246241 $(HEADERDIR)/utils/elog.h
242+ $(INSTALL) $(INSTLOPTS) utils/fmgroids.h \
243+ $(HEADERDIR)/utils/fmgroids.h
247244$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \
248245 $(HEADERDIR)/utils/palloc.h
249246$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/mcxt.h \