mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Oops, missed the commit on this one by Darren King also...new Makefile.aix
This commit is contained in:
parent
24ed6d604d
commit
021ccf0b8c
@ -3,19 +3,22 @@
|
|||||||
MAKE_EXPORTS= true
|
MAKE_EXPORTS= true
|
||||||
|
|
||||||
EXPSUFF= .exp
|
EXPSUFF= .exp
|
||||||
|
IMPSUFF= .imp
|
||||||
|
|
||||||
POSTGRES_EXP= $(SRCDIR)/backend/postgres$(EXPSUFF)
|
POSTGRES_IMP= postgres$(IMPSUFF)
|
||||||
|
|
||||||
MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
|
MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
|
||||||
|
|
||||||
%$(EXPSUFF): %.o
|
$(POSTGRES_IMP):
|
||||||
$(MKLDEXPORT) $< `pwd` > $@
|
@echo Making $@
|
||||||
|
$(MKLDEXPORT) postgres $(BINDIR) > $@
|
||||||
|
$(CC) -bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
|
||||||
|
|
||||||
$(POSTGRES_EXP):
|
%$(EXPSUFF):
|
||||||
$(MAKE) -C $(SRCDIR)/backend postgres.exp
|
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
|
||||||
|
|
||||||
%.so: %.o %$(EXPSUFF) $(POSTGRES_EXP)
|
%.so: %.o %$(EXPSUFF)
|
||||||
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and postgres.exp
|
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
|
||||||
$(LD) -H512 -T512 -o $@ -e _nostart \
|
$(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
|
||||||
-bI:$(POSTGRES_EXP) -bE:$*$(EXPSUFF) \
|
#41 $(LD) -H512 -bnoentry -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
|
||||||
$*.o @MATH_LIB@ -lc 2>/dev/null
|
#325 $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user