postgresql/src/makefiles/Makefile.unixware
Bruce Momjian e9f546365f > > I sent this to -hackers and peter_e, but thought it ought to go to
> > -patches as well.
>
> The -Bdynamic probably ought to disappear.

That was there already, but I have no objections.  I was trying to
make minimal changes.

Larry Rosenman
2001-09-06 03:16:46 +00:00

29 lines
405 B
Makefile

AROPT = crs
export_dynamic = -Wl,-Bexport
ifeq ($(ld_R_works), yes)
rpath = -Wl,-R$(libdir)
endif
shlib_symbolic = -Wl,-Bsymbolic
DLSUFFIX = .so
ifeq ($(GCC), yes)
CFLAGS_SL = -fpic
else
CFLAGS_SL = -K PIC
endif
ifeq ($(GXX), yes)
CXXFLAGS_SL = -fpic
else
CXXFLAGS_SL = -K PIC
endif
ifeq ($(GCC), yes)
SO_FLAGS = -shared
else
SO_FLAGS = -G
endif
%.so: %.o
$(CC) $(SO_FLAGS) -o $@ $<
sqlmansect = 5sql