1# src/makefiles/Makefile.solaris 2 3AROPT = crs 4 5ifeq ($(with_gnu_ld), yes) 6export_dynamic = -Wl,-E 7rpath = -Wl,-rpath,'$(rpathdir)' 8else 9rpath = -Wl,-R'$(rpathdir)' 10endif 11 12DLSUFFIX = .so 13 14 15# Rule for building a shared library from a single .o file 16%.so: %.o 17ifeq ($(GCC), yes) 18 $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $< 19else 20 $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $< 21endif 22 23sqlmansect = 5sql 24