merged with tip
[olsrd.git] / make / Makefile.obsd
index 36b8d46..d844e6b 100644 (file)
@@ -2,14 +2,14 @@
 # OPENBSD SPECIFIC CONFIGURATION
 #
 
-INSTALL_PREFIX ?=
-LIBDIR =       $(INSTALL_PREFIX)/usr/lib
+DESTDIR ?=
+LIBDIR =       $(DESTDIR)/usr/lib
 
-SRCS +=                $(wildcard src/bsd/*.c) $(wildcard src/unix/*.c)
-HDRS +=                $(wildcard src/bsd/*.h) $(wildcard src/unix/*.h)
+SRCS +=                $(wildcard src/bsd/*.c src/unix/*.c)
+HDRS +=                $(wildcard src/bsd/*.h src/unix/*.h)
 
-DEFINES =      -D__OpenBSD__
-LIBS =         
+CPPFLAGS +=    -D__OpenBSD__
+LIBS +=                
 
 PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so.$(PLUGIN_VER)
 INSTALL_LIB =  install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME); \
@@ -21,6 +21,7 @@ LDFLAGS +=    -fPIC
 endif
 
 OS_LIB_PTHREAD =
+OS_CFLAG_PTHREAD =
 OS_LIB_DYNLOAD =
 
 # Local Variables: