* the contents of INCLUDES and DEFINES should now be placed into CPPFLAGS
[olsrd.git] / make / Makefile.nbsd
1 #
2 # NETBSD SPECIFIC CONFIGURATION
3 #
4
5 DESTDIR ?=
6 LIBDIR =        $(DESTDIR)/usr/lib
7
8 SRCS +=         $(wildcard src/bsd/*.c src/unix/*.c)
9 HDRS +=         $(wildcard src/bsd/*.h src/unix/*.h)
10
11 CPPFLAGS +=     -D__NetBSD__
12 LIBS +=         
13
14 PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so.$(PLUGIN_VER)
15 INSTALL_LIB =   install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME); \
16                 /sbin/ldconfig
17
18 ifdef OLSRD_PLUGIN
19 CFLAGS +=       -fPIC
20 LDFLAGS +=      -fPIC
21 endif
22
23 OS_LIB_PTHREAD = 
24 OS_LIB_DYNLOAD =
25
26 # Local Variables:
27 # mode: makefile
28 # End: