+ $(CC) $(LDFLAGS) -o $@ $(objects)
+
+$(libname).sym: osl.h.in
+ sed -Ene '/^int|^const/{s/.*(osl_.*)\(.*/\1/; p;}' $< > $@
+$(libname).ga: $(objects)
+ $(LD) -r -o $@ $(objects)
+lib$(libname).a: $(libname).ga $(libname).sym
+ $(OBJCOPY) --keep-global-symbols $(libname).sym $(libname).ga $@