File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 3
3
MAKE_EXPORTS= true
4
4
5
5
EXPSUFF= .exp
6
+ IMPSUFF= .imp
6
7
7
- POSTGRES_EXP= $(SRCDIR)/backend/ postgres$(EXPSUFF )
8
+ POSTGRES_IMP= postgres$(IMPSUFF )
8
9
9
10
MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
10
11
11
- %$(EXPSUFF): %.o
12
- $(MKLDEXPORT) $< `pwd` > $@
12
+ $(POSTGRES_IMP):
13
+ @echo Making $@
14
+ $(MKLDEXPORT) postgres $(BINDIR) > $@
15
+ $(CC) -bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
13
16
14
- $(POSTGRES_EXP):
15
- $(MAKE) -C $(SRCDIR)/backend postgres.exp
17
+ %$(EXPSUFF):
18
+ $(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
16
19
17
- %.so: %.o %$(EXPSUFF) $(POSTGRES_EXP)
18
- @echo Making share library $@ from $*.o, $*$(EXPSUFF), and postgres.exp
19
- $(LD) -H512 -T512 -o $@ -e _nostart \
20
- - bI:$(POSTGRES_EXP) -bE:$*$(EXPSUFF) \
21
- $*.o @MATH_LIB@ -lc 2>/dev/null
20
+ %.so: %.o %$(EXPSUFF)
21
+ @echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
22
+ $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
23
+ #41 $(LD) -H512 -bnoentry -bM:SRE - bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
24
+ #325 $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS)
You can’t perform that action at this time.
0 commit comments