merged with tip
[olsrd.git] / make / Makefile.obsd
index 9b393ff..d844e6b 100644 (file)
@@ -5,11 +5,11 @@
 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: