$(RANLIB) $@
%.so:
$(LINK.cc) $(SHARED) $^ -o $@
$(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
%.dll:
ifneq ("$(enable_loader)", "no")
ifneq ("$(with_dlopen)", "no")
libxplc.so: LDFLAGS+=$(with_dlopen)
libxplc.so: LDLIBS+=$(with_dlopen)
endif