1 # MAKE_EXPORTS is required for svr4 loaders that want a file of
2 # symbol names to tell them what to export/import.
10 ifeq ($(host_os), aix3.2.5)
12 LDFLAGS_SL = -e _nostart -H512 -bM:SRE
15 LDFLAGS_SL = -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
22 POSTGRES_IMP= postgres$(IMPSUFF)
24 MKLDEXPORT=$(top_srcdir)/src/backend/port/aix/mkldexport.sh
27 $(MKLDEXPORT) $*.o > $*$(EXPSUFF)
29 %$(DLSUFFIX): %.o %$(EXPSUFF)
30 @echo Making shared library $@ from $*.o, $*$(EXPSUFF) and postgres.imp
31 $(CC) $(LDFLAGS) $(LDFLAGS_SL) -o $@ $*.o -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:$*$(EXPSUFF) $(LIBS)