mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
Makefile.global and move them to seperate 'include' makefiles Over time, should become even more port specific: ie. Makefile.BSD44_derived should be broken down into netbsd/freebsd specific ports
9 lines
210 B
Makefile
9 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
|