]> granicus.if.org Git - postgresql/blob - src/makefiles/Makefile.bsdi
Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.
[postgresql] / src / makefiles / Makefile.bsdi
1 AROPT = cr
2
3 # bsdi 4.0 and later is ELF
4 DLSUFFIX = .so
5 ifeq ($(host_os), bsdi2.0)
6 DLSUFFIX = .o
7 endif
8 ifeq ($(host_os), bsdi2.1)
9 DLSUFFIX = .o
10 endif
11 ifeq ($(findstring bsdi3, $(host_os)), bsdi3)
12 DLSUFFIX = .o
13 endif
14
15 ifeq ($(DLSUFFIX), .so)
16 CFLAGS_SL = -fpic
17 rpath = -Wl,-rpath,$(rpathdir)
18 export_dynamic = -export-dynamic
19 shlib_symbolic = -Wl,-Bsymbolic
20 else
21 CFLAGS_SL =
22 endif
23
24 %.so: %.o
25         $(CC) -shared -o $@ $<
26
27 sqlmansect = 7