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