4 export_dynamic = -Wl,-E
5 rpath = -Wl,-R'$(rpathdir)'
7 rpath = -Wl,-R'$(rpathdir)'
12 ifeq ($(findstring sparc,$(host_cpu)), sparc)
13 CFLAGS_SL = -fPIC -DPIC
15 CFLAGS_SL = -fpic -DPIC
21 $(CC) $(CFLAGS) -shared -o $@ $<
23 $(LD) $(LDREL) $(LDOUT) $<.obj -x $<
24 @echo building shared object $@
26 @${AR} cq $@.pic $<.obj
29 $(LD) -x -Bshareable -Bforcearchive -o $@ $@.pic