mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 11:51:18 +02:00
10 lines
210 B
Makefile
10 lines
210 B
Makefile
|
%.so: %.o
|
||
|
$(LD) -x -r -o $<.obj $<
|
||
|
@echo building shared object $@
|
||
|
@rm -f $@.pic
|
||
|
@${AR} cq $@.pic `lorder $<.obj | tsort`
|
||
|
${RANLIB} $@.pic
|
||
|
@rm -f $@
|
||
|
$(LD) -x -Bshareable -Bforcearchive \
|
||
|
-o $@ $@.pic
|