Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b0d6f0a

Browse files
author
Bryan Henderson
committed
Simplify make files, add full dependencies.
1 parent 1e39d14 commit b0d6f0a

File tree

140 files changed

+3271
-2314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+3271
-2314
lines changed

src/Makefile.global

Lines changed: 621 additions & 12 deletions
Large diffs are not rendered by default.

src/backend/Makefile

Lines changed: 217 additions & 191 deletions
Large diffs are not rendered by default.

src/backend/access/Makefile

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for the access methods module
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.1 1996/10/27 09:45:42 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
all: SUBSYS.o
12+
13+
SUBSYS.o:
14+
$(MAKE) -C common SUBSYS.o
15+
$(MAKE) -C gist SUBSYS.o
16+
$(MAKE) -C hash SUBSYS.o
17+
$(MAKE) -C heap SUBSYS.o
18+
$(MAKE) -C index SUBSYS.o
19+
$(MAKE) -C rtree SUBSYS.o
20+
$(MAKE) -C nbtree SUBSYS.o
21+
$(MAKE) -C transam SUBSYS.o
22+
$(LD) -r -o SUBSYS.o \
23+
common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o \
24+
index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS.o transam/SUBSYS.o
25+
26+
clean:
27+
rm -f SUBSYS.o
28+
$(MAKE) -C common clean
29+
$(MAKE) -C gist clean
30+
$(MAKE) -C hash clean
31+
$(MAKE) -C heap clean
32+
$(MAKE) -C index clean
33+
$(MAKE) -C rtree clean
34+
$(MAKE) -C nbtree clean
35+
$(MAKE) -C transam clean
36+
37+
.DEFAULT:
38+
$(MAKE) -C common $@
39+
$(MAKE) -C gist $@
40+
$(MAKE) -C hash $@
41+
$(MAKE) -C heap $@
42+
$(MAKE) -C index $@
43+
$(MAKE) -C rtree $@
44+
$(MAKE) -C nbtree $@
45+
$(MAKE) -C transam $@
46+

src/backend/access/Makefile.inc

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/backend/access/common/Makefile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for access/common
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.1 1996/10/27 09:45:49 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../port/$(PORTNAME) \
16+
-I../../include \
17+
-I../../../include
18+
19+
CFLAGS+=$(INCLUDE_OPT)
20+
21+
OBJS = heaptuple.o heapvalid.o indextuple.o indexvalid.o printtup.o \
22+
scankey.o tupdesc.o
23+
24+
all: SUBSYS.o
25+
26+
SUBSYS.o: $(OBJS)
27+
$(LD) -r -o SUBSYS.o $(OBJS)
28+
29+
heapvalid.o tupdesc.o: ../../fmgr.h
30+
31+
../../fmgr.h:
32+
$(MAKE) -C ../.. fmgr.h
33+
34+
dep: ../../fmgr.h
35+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
36+
37+
clean:
38+
rm -f SUBSYS.o $(OBJS)
39+
40+
ifeq (depend,$(wildcard depend))
41+
include depend
42+
endif
43+

src/backend/access/common/Makefile.inc

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/backend/access/gist/Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for access/gist
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.1 1996/10/27 09:45:57 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../port/$(PORTNAME) \
16+
-I../../include \
17+
-I../../../include
18+
19+
CFLAGS+=$(INCLUDE_OPT)
20+
21+
OBJS = gist.o gistget.o gistscan.o giststrat.o
22+
23+
all: SUBSYS.o
24+
25+
SUBSYS.o: $(OBJS)
26+
$(LD) -r -o SUBSYS.o $(OBJS)
27+
28+
depend dep:
29+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
30+
31+
clean:
32+
rm -f SUBSYS.o $(OBJS)
33+
34+
ifeq (depend,$(wildcard depend))
35+
include depend
36+
endif
37+

src/backend/access/gist/Makefile.inc

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/backend/access/hash/Makefile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for access/hash
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.1 1996/10/27 09:46:08 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../port/$(PORTNAME) \
16+
-I../../include \
17+
-I../../../include
18+
19+
CFLAGS+=$(INCLUDE_OPT)
20+
21+
OBJS = hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o \
22+
hashsearch.o hashstrat.o hashutil.o
23+
24+
all: SUBSYS.o
25+
26+
SUBSYS.o: $(OBJS)
27+
$(LD) -r -o SUBSYS.o $(OBJS)
28+
29+
depend dep:
30+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
31+
32+
clean:
33+
rm -f SUBSYS.o $(OBJS)
34+
35+
ifeq (depend,$(wildcard depend))
36+
include depend
37+
endif
38+

src/backend/access/hash/Makefile.inc

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/backend/access/heap/Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for access/heap
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/heap/Makefile,v 1.1 1996/10/27 09:46:16 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../port/$(PORTNAME) \
16+
-I../../include \
17+
-I../../../include
18+
19+
CFLAGS+=$(INCLUDE_OPT)
20+
21+
OBJS = heapam.o hio.o stats.o
22+
23+
all: SUBSYS.o
24+
25+
SUBSYS.o: $(OBJS)
26+
$(LD) -r -o SUBSYS.o $(OBJS)
27+
28+
depend dep:
29+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
30+
31+
clean:
32+
rm -f SUBSYS.o $(OBJS)
33+
34+
ifeq (depend,$(wildcard depend))
35+
include depend
36+
endif
37+

src/backend/access/heap/Makefile.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/backend/access/index/Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for access/index
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/access/index/Makefile,v 1.1 1996/10/27 09:46:25 bryanh Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../port/$(PORTNAME) \
16+
-I../../include \
17+
-I../../../include
18+
19+
CFLAGS+=$(INCLUDE_OPT)
20+
21+
OBJS = genam.o indexam.o istrat.o
22+
23+
all: SUBSYS.o
24+
25+
SUBSYS.o: $(OBJS)
26+
$(LD) -r -o SUBSYS.o $(OBJS)
27+
28+
depend dep:
29+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
30+
31+
clean:
32+
rm -f SUBSYS.o $(OBJS)
33+
34+
ifeq (depend,$(wildcard depend))
35+
include depend
36+
endif
37+

src/backend/access/index/Makefile.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)