|
4 | 4 | # |
5 | 5 | # Copyright (c) 1994, Regents of the University of California |
6 | 6 | # |
7 | | -# $PostgreSQL: pgsql/src/backend/Makefile,v 1.109 2005/07/28 04:31:30 tgl Exp $ |
| 7 | +# $PostgreSQL: pgsql/src/backend/Makefile,v 1.110 2005/10/27 20:45:29 tgl Exp $ |
8 | 8 | # |
9 | 9 | #------------------------------------------------------------------------- |
10 | 10 |
|
@@ -38,14 +38,17 @@ all: submake-libpgport postgres $(POSTGRES_IMP) |
38 | 38 |
|
39 | 39 | ifneq ($(PORTNAME), cygwin) |
40 | 40 | ifneq ($(PORTNAME), win32) |
| 41 | +ifneq ($(PORTNAME), aix) |
41 | 42 |
|
42 | 43 | postgres:$(OBJS) |
43 | 44 | $(CC)$(CFLAGS)$(LDFLAGS)$(export_dynamic)$^$(LIBS) -o$@ |
44 | 45 |
|
45 | 46 | endif |
46 | 47 | endif |
| 48 | +endif |
47 | 49 |
|
48 | 50 | ifeq ($(PORTNAME), cygwin) |
| 51 | + |
49 | 52 | postgres:$(OBJS)$(DLLINIT) postgres.def libpostgres.a |
50 | 53 | $(DLLTOOL) --dllname$@$(X) --output-exp$@.exp --def postgres.def |
51 | 54 | $(CC)$(CFLAGS)$(LDFLAGS) -o$@$(X) -Wl,--base-file,$@.base$@.exp$(OBJS)$(LIBS) |
@@ -78,7 +81,6 @@ libpostgres.a: postgres.def |
78 | 81 |
|
79 | 82 | endif# win32 |
80 | 83 |
|
81 | | - |
82 | 84 | ifeq ($(PORTNAME), aix) |
83 | 85 |
|
84 | 86 | postgres:$(POSTGRES_IMP) |
|