summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.aix
diff options
context:
space:
mode:
authorPeter Eisentraut2000-08-31 16:12:35 +0000
committerPeter Eisentraut2000-08-31 16:12:35 +0000
commit424f0edcb8d73446223f1812d3ca88150e1cc953 (patch)
tree6b0f0a9d1d9aed67873e9ff8acd2b5a6da77ac58 /src/makefiles/Makefile.aix
parentd4266620e1c92d0b5d76d8c583f2fbfcf5bcd7fe (diff)
Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
Diffstat (limited to 'src/makefiles/Makefile.aix')
-rw-r--r--src/makefiles/Makefile.aix8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index ba6d0540d39..0066135179e 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -10,16 +10,16 @@ IMPSUFF= .imp
POSTGRES_IMP= postgres$(IMPSUFF)
-MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
+MKLDEXPORT=$(top_srcdir)/src/backend/port/aix/mkldexport.sh
$(POSTGRES_IMP):
@echo Making $@
- $(MKLDEXPORT) postgres $(BINDIR) > $@
- $(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) $(LDFLAGS)
+ $(MKLDEXPORT) postgres $(bindir) > $@
+ $(CC) -Wl,-bE:$(top_builddir)/src/backend/$@ -o postgres $(OBJS) $(LDFLAGS)
%$(EXPSUFF):
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
%$(DLSUFFIX): %.o %$(EXPSUFF)
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
- $(LD) -H512 -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)
+ $(LD) -H512 -bM:SRE -bI:$(libdir)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)