summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.beos
blob: 83855f0cc3c272977f4ae7dccf806c7c2c8b3b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
MK_NO_LORDER=true
AROPT = crs

ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
endif

DLSUFFIX = .so
CFLAGS_SL = -fpic -DPIC

%.so: %.o
ifdef PGXS
	ln -fs $(DESTDIR)$(bindir)/postgres _APP_
else
	ln -fs $(top_builddir)/src/backend/postgres _APP_
endif
	$(CC) -nostart -Xlinker -soname=$@ -o $@ _APP_ $<

sqlmansect = 7