diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2008-02-26 10:45:24 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2008-02-26 10:45:24 +0000 |
| commit | bdaf90b70f50e3bf39e5ad52359e39e0e534a9a0 (patch) | |
| tree | 90880324cbd6b601b48782c4751c58e77d36b944 /src/makefiles/Makefile.aix | |
| parent | 734a56ca2e3196a4fcebdc7255f6177d6431bba6 (diff) | |
| download | postgresql-bdaf90b70f50e3bf39e5ad52359e39e0e534a9a0.tar.gz | |
Reorganize some of the exports list generation code. It seems that this
has been reinvented about four different times throughout history (aix,
cygwin, win32, darwin/linux) and a lot of the concepts are actually shared,
which the code now shows better.
Diffstat (limited to 'src/makefiles/Makefile.aix')
| -rw-r--r-- | src/makefiles/Makefile.aix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix index 8a789352b6..ea825a7ca6 100644 --- a/src/makefiles/Makefile.aix +++ b/src/makefiles/Makefile.aix @@ -24,10 +24,7 @@ else endif -EXPSUFF= .exp -IMPSUFF= .imp - -POSTGRES_IMP= postgres$(IMPSUFF) +POSTGRES_IMP= postgres.imp ifdef PGXS BE_DLLLIBS= -Wl,-bI:$(bindir)/postgres/$(POSTGRES_IMP) @@ -37,10 +34,10 @@ endif MKLDEXPORT=$(top_srcdir)/src/backend/port/aix/mkldexport.sh -%$(EXPSUFF): %.o - $(MKLDEXPORT) $*.o > $*$(EXPSUFF) +%.exp: %.o + $(MKLDEXPORT) $^ >$@ -%$(DLSUFFIX): %.o %$(EXPSUFF) - $(CC) $(LDFLAGS) $(LDFLAGS_SL) -o $@ $*.o -Wl,-bE:$*$(EXPSUFF) $(SHLIB_LINK) +%$(DLSUFFIX): %.o %.exp + $(CC) $(LDFLAGS) $(LDFLAGS_SL) -o $@ $*.o -Wl,-bE:$*.exp $(SHLIB_LINK) sqlmansect = 7 |
