Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita7a0b3b

Browse files
author
Bryan Henderson
committed
Keep the generated .h files in the local directory, like other object files,
rather than in src/include with normal header files. Necessary to makedependancies work out so they don't keep getting rebuilt for no reason.
1 parenta505db6 commita7a0b3b

File tree

1 file changed

+28
-23
lines changed

1 file changed

+28
-23
lines changed

‎src/backend/Makefile

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
#
3636
# IDENTIFICATION
37-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.13 1996/11/01 03:35:43 momjian Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.14 1996/11/03 09:05:30 bryanh Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -143,34 +143,34 @@ postgres: postgres_group1 postgres_group2 postgres_group3 postgres_group4
143143
$(CC)$(LDFLAGS) -o postgres$(OBJS)$(LDADD)
144144

145145
postgres_group1:
146-
$(MAKE) -C accessSUBSYS.o
147-
$(MAKE) -C bootstrapSUBSYS.o
148-
$(MAKE) -C catalog SUBSYS.o
149-
$(MAKE) -C commandsSUBSYS.o
146+
$(MAKE) -C accessall
147+
$(MAKE) -C bootstrapall
148+
$(MAKE) -C catalog SUBSYS.o
149+
$(MAKE) -C commandsall
150150
postgres_group2:
151-
$(MAKE) -C executorSUBSYS.o
152-
$(MAKE) -C libSUBSYS.o
153-
$(MAKE) -C libpqSUBSYS.o
154-
$(MAKE) -C mainSUBSYS.o
155-
$(MAKE) -C nodesSUBSYS.o
151+
$(MAKE) -C executorall
152+
$(MAKE) -C liball
153+
$(MAKE) -C libpqall
154+
$(MAKE) -C mainall
155+
$(MAKE) -C nodesall
156156
postgres_group3:
157-
$(MAKE) -C optimizerSUBSYS.o
158-
$(MAKE) -C parserSUBSYS.o
159-
$(MAKE) -C portSUBSYS.o PORTNAME=$(PORTNAME)
160-
$(MAKE) -C postmasterSUBSYS.o
161-
$(MAKE) -C regexSUBSYS.o
157+
$(MAKE) -C optimizerall
158+
$(MAKE) -C parserall
159+
$(MAKE) -C portall PORTNAME=$(PORTNAME)
160+
$(MAKE) -C postmasterall
161+
$(MAKE) -C regexall
162162
postgres_group4:
163-
$(MAKE) -C rewriteSUBSYS.o
164-
$(MAKE) -C storageSUBSYS.o
165-
$(MAKE) -C tcopSUBSYS.o
166-
$(MAKE) -C utilsSUBSYS.o
163+
$(MAKE) -C rewriteall
164+
$(MAKE) -C storageall
165+
$(MAKE) -C tcopall
166+
$(MAKE) -C utilsall
167167
ifdefTIOGA
168-
$(MAKE) -C tiogaSUBSYS.o
168+
$(MAKE) -C tiogaall
169169
endif
170170

171171
global1.bki.sourcelocal1_template1.bki.source:
172172
$(MAKE) -C catalog$@
173-
cp catalog/$@ ../include
173+
cp catalog/$@.
174174

175175

176176
############################################################################
@@ -179,11 +179,11 @@ global1.bki.source local1_template1.bki.source:
179179

180180
parse.h:
181181
$(MAKE) -C parser parse.h
182-
cp parser/parse.h ../include
182+
cp parser/parse.h.
183183

184184
fmgr.h:
185185
$(MAKE) -C utils fmgr.h
186-
cp utils/fmgr.h ../include
186+
cp utils/fmgr.h.
187187

188188
#############################################################################
189189
clean:
@@ -276,6 +276,11 @@ $(D_BINDIR) $(D_LIBDIR) $(HEADERDIR):
276276
#
277277
# Support for code development.
278278
#
279+
# Use target "quick" to build "postgres" when you know all the subsystems
280+
# are up to date. It saves the time of doing all the submakes.
281+
.PHONY: quick
282+
quick:$(OBJS)
283+
$(CC)$(LDFLAGS) -o postgres$(OBJS)$(LDADD)
279284

280285
#
281286
# Build the file, "./ID", used by the "gid" (grep-for-identifier) tool

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp