mDNS: remove from Makefile PTHREAD useless dependency
[olsrd.git] / lib / mdns / Makefile
1
2 OLSRD_PLUGIN =  true
3 PLUGIN_NAME =   olsrd_mdns
4 PLUGIN_VER =    1.0.1
5
6 TOPDIR = ../..
7 include $(TOPDIR)/Makefile.inc
8
9 SUPPORTED = 0
10 ifeq ($(OS),linux)
11 SUPPORTED = 1
12 endif
13 ifeq ($(OS),android)
14 SUPPORTED = 1
15 endif
16
17
18 ifeq ($(SUPPORTED),0)
19
20 .PHONY: all default_target install clean
21
22 all: default_target
23
24 default_target install clean:
25         @echo "*** $(PLUGIN_NAME) plugin not supported on $(OS), sorry!"
26
27 else
28
29 default_target: $(PLUGIN_FULLNAME)
30
31 $(PLUGIN_FULLNAME): $(OBJS) version-script.txt
32 ifeq ($(VERBOSE),0)
33                 @echo "[LD] $@"
34 endif
35                 $(MAKECMDPREFIX)$(CC) $(LDFLAGS) -o $(PLUGIN_FULLNAME) $(OBJS) $(LIBS)
36
37 install:        $(PLUGIN_FULLNAME)
38                 $(STRIP) $(PLUGIN_FULLNAME)
39                 $(INSTALL_LIB)
40
41 uninstall:
42                 $(UNINSTALL_LIB)
43
44 clean:
45                 rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
46
47 endif