File tree Expand file tree Collapse file tree 5 files changed +13
-46
lines changed
Expand file tree Collapse file tree 5 files changed +13
-46
lines changed Original file line number Diff line number Diff line change 1313# be converted to Method 2.
1414#
1515# IDENTIFICATION
16- # $PostgreSQL: pgsql/src/backend/port/Makefile,v 1.25 2008/02/19 10:30:07 petere Exp $
16+ # $PostgreSQL: pgsql/src/backend/port/Makefile,v 1.26 2008/02/19 15:29:58 petere Exp $
1717#
1818# -------------------------------------------------------------------------
1919
2020subdir = src/backend/port
2121top_builddir = ../../..
2222include $(top_builddir ) /src/Makefile.global
2323
24- OBJS+ =dynloader.o pg_sema.o pg_shmem.o
25-
26- OBJS+ =$(TAS )
24+ OBJS = dynloader.o pg_sema.o pg_shmem.o $(TAS )
2725
2826ifeq ($(PORTNAME ) , darwin)
29- OBJS+ = darwin/SUBSYS.o
27+ SUBDIRS += darwin
3028endif
3129ifeq ($(PORTNAME ) , win32)
32- OBJS+ = win32/SUBSYS.o
30+ SUBDIRS += win32
3331endif
3432
3533include $(top_srcdir ) /src/backend/common.mk
3634
37- darwin/SUBSYS.o : darwin.dir
38-
39- darwin.dir :
40- $(MAKE ) -C darwin all
41-
42- win32/SUBSYS.o : win32.dir
43-
44- win32.dir :
45- $(MAKE ) -C win32 all
46-
4735tas.o : tas.s
4836ifeq ($(PORTNAME ) , solaris)
4937# preprocess assembler file with cpp, used by x86
Original file line number Diff line number Diff line change 44# Makefile for port/darwin
55#
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/backend/port/darwin/Makefile,v 1.5 2007/01/20 17:16:12 petere Exp $
7+ # $PostgreSQL: pgsql/src/backend/port/darwin/Makefile,v 1.6 2008/02/19 15:29:58 petere Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -14,10 +14,4 @@ include $(top_builddir)/src/Makefile.global
1414
1515OBJS = system.o
1616
17- all : SUBSYS.o
18-
19- SUBSYS.o : $(OBJS )
20- $(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
21-
22- clean :
23- rm -f SUBSYS.o $(OBJS )
17+ include $(top_srcdir ) /src/backend/common.mk
Original file line number Diff line number Diff line change 44# Makefile for port/nextstep
55#
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/backend/port/nextstep/Makefile,v 1.10 2007/01/20 17:16:12 petere Exp $
7+ # $PostgreSQL: pgsql/src/backend/port/nextstep/Makefile,v 1.11 2008/02/19 15:29:58 petere Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -14,10 +14,4 @@ include $(top_builddir)/src/Makefile.global
1414
1515OBJS = port.o
1616
17- all : SUBSYS.o
18-
19- SUBSYS.o : $(OBJS )
20- $(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
21-
22- clean :
23- rm -f SUBSYS.o $(OBJS )
17+ include $(top_srcdir ) /src/backend/common.mk
Original file line number Diff line number Diff line change 44# Makefile for backend/port/win32
55#
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/backend/port/win32/Makefile,v 1.11 2007/10/29 12:35:41 mha Exp $
7+ # $PostgreSQL: pgsql/src/backend/port/win32/Makefile,v 1.12 2008/02/19 15:29:58 petere Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -14,10 +14,4 @@ include $(top_builddir)/src/Makefile.global
1414
1515OBJS = timer.o socket.o signal.o security.o mingwcompat.o
1616
17- all : SUBSYS.o
18-
19- SUBSYS.o : $(OBJS )
20- $(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
21-
22- clean :
23- rm -f SUBSYS.o $(OBJS )
17+ include $(top_srcdir ) /src/backend/common.mk
Original file line number Diff line number Diff line change 44# Makefile for the timezone library
55
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.28 2007/08/25 20 :29:25 tgl Exp $
7+ # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.29 2008/02/19 15 :29:58 petere Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -32,15 +32,12 @@ ifneq (,$(with_system_tzdata))
3232override CPPFLAGS += '-DSYSTEMTZDIR="$(with_system_tzdata ) "'
3333endif
3434
35- all : SUBSYS.o
35+ include $( top_srcdir ) /src/backend/common.mk
3636
3737ifeq (,$(with_system_tzdata ) )
3838all : submake-libpgport zic
3939endif
4040
41- SUBSYS.o : $(OBJS )
42- $(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
43-
4441zic : $(ZICOBJS )
4542 $(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
4643
6057 $(MAKE) -C tznames $@
6158
6259clean distclean maintainer-clean :
63- rm -f SUBSYS.o zic$(X ) $( OBJS ) $(ZICOBJS )
60+ rm -f zic$(X ) $(ZICOBJS )
You can’t perform that action at this time.
0 commit comments