34
34
#
35
35
#
36
36
# 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 $
38
38
#
39
39
# -------------------------------------------------------------------------
40
40
@@ -79,7 +79,7 @@ all: postgres $(POSTGRES_IMP) global1.bki.source local1_template1.bki.source \
79
79
global1.description local1_template1.description
80
80
81
81
ifneq ($(PORTNAME ) , win)
82
- postgres : fmgr .h $(OBJS ) $(VERSIONOBJ )
82
+ postgres : utils/fmgroids .h $(OBJS ) $(VERSIONOBJ )
83
83
$(CC ) $(CFLAGS ) -o postgres $(OBJS ) $(OBJS1 ) $(VERSIONOBJ ) $(LDFLAGS )
84
84
else
85
85
postgres : $(DLLOBJS ) $(SRCDIR ) /utils/dllinit.o postgres.def libpostgres.a
@@ -126,15 +126,12 @@ parse.h: parser/parse.h
126
126
parser/parse.h :
127
127
$(MAKE ) -C parser parse.h
128
128
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
134
131
135
132
# ############################################################################
136
133
clean :
137
- rm -f postgres$(X ) $(POSTGRES_IMP ) fmgr.h parse.h \
134
+ rm -f postgres$(X ) $(POSTGRES_IMP ) parse.h \
138
135
global1.bki.source local1_template1.bki.source \
139
136
global1.description local1_template1.description
140
137
ifeq ($(PORTNAME ) , win)
@@ -205,7 +202,7 @@ install-templates: $(TEMPLATEDIR) \
205
202
$(INSTALL) $(INSTLOPTS) pg_options.sample \
206
203
$(TEMPLATEDIR)/pg_options.sample
207
204
208
- install-headers : fmgr .h $(SRCDIR ) /include/config.h
205
+ install-headers : utils/fmgroids .h $(SRCDIR ) /include/config.h
209
206
-@if [ ! -d $( HEADERDIR) ]; then mkdir $(HEADERDIR ) ; fi
210
207
-@if [ ! -d $( HEADERDIR) /port ]; then mkdir $(HEADERDIR ) /port; fi
211
208
-@if [ ! -d $( HEADERDIR) /port/$( PORTNAME) ]; \
@@ -222,8 +219,6 @@ install-headers: fmgr.h $(SRCDIR)/include/config.h
222
219
then mkdir $(HEADERDIR ) /executor; fi
223
220
-@if [ ! -d $( HEADERDIR) /commands ]; \
224
221
then mkdir $(HEADERDIR ) /commands; fi
225
- $(INSTALL ) $(INSTLOPTS ) fmgr.h \
226
- $(HEADERDIR)/fmgr.h
227
222
$(INSTALL ) $(INSTLOPTS ) $(SRCDIR ) /include/os.h \
228
223
$(HEADERDIR)/os.h
229
224
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \
@@ -244,6 +239,8 @@ install-headers: fmgr.h $(SRCDIR)/include/config.h
244
239
$(HEADERDIR)/utils/geo_decls.h
245
240
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \
246
241
$(HEADERDIR)/utils/elog.h
242
+ $(INSTALL) $(INSTLOPTS) utils/fmgroids.h \
243
+ $(HEADERDIR)/utils/fmgroids.h
247
244
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \
248
245
$(HEADERDIR)/utils/palloc.h
249
246
$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/mcxt.h \
0 commit comments