Removed end-of-line spaces (also from Makefiles)
[olsrd.git] / make / Makefile.nbsd
index cc1c277..8ac84ab 100644 (file)
@@ -2,15 +2,25 @@
 # NETBSD SPECIFIC CONFIGURATION
 #
 
-INSTALL_PREFIX ?=
-LIBDIR =       $(INSTALL_PREFIX)/usr/lib
+SRCS +=                $(wildcard src/bsd/*.c src/unix/*.c)
+HDRS +=                $(wildcard src/bsd/*.h src/unix/*.h)
 
-SRCS +=                $(wildcard src/bsd/*.c) $(wildcard src/unix/*.c)
-HDRS +=                $(wildcard src/bsd/*.h) $(wildcard src/unix/*.h)
-
-DEFINES =      -D__NetBSD__
-LIBS =         
+CPPFLAGS +=    -D__NetBSD__
+LIBS +=
 
 PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so.$(PLUGIN_VER)
 INSTALL_LIB =  install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME); \
-               /sbin/ldconfig
\ No newline at end of file
+               /sbin/ldconfig
+
+ifdef OLSRD_PLUGIN
+CFLAGS +=      -fPIC
+LDFLAGS +=     -fPIC
+endif
+
+OS_LIB_PTHREAD =
+OS_CFLAG_PTHREAD =
+OS_LIB_DYNLOAD =
+
+# Local Variables:
+# mode: makefile
+# End: