1 # src/makefiles/Makefile.solaris
5 ifeq ($(with_gnu_ld), yes)
6 export_dynamic = -Wl,-E
7 rpath = -Wl,-rpath,'$(rpathdir)'
9 rpath = -Wl,-R'$(rpathdir)'
15 # Rule for building a shared library from a single .o file
18 $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
20 $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -G -o $@