+ CPPFLAGS += -I/opt/csw/include
+ LDFLAGS += -lc
+endif
+
+ifeq ($(uname_s),NetBSD)
+ format := elf
+ LDFLAGS += -Wl,-soname,$(soname)
+endif
+
+ifeq ($(format),elf)
+ # On ELf-based systems, the following conventions apply (see dhweeler's
+ # Program Library HOWTO):
+ #
+ # The soname has the prefix ``lib'', the name of the library, the
+ # phrase ``.so'', followed by a period and a version number that is
+ # incremented whenever the interface changes.