lib/mdns/Makefile
author Saverio Proto <zioproto@gmail.com>
Thu Mar 26 01:25:34 2009 +0100 (3 years ago)
changeset 2289 10ad22c88dbb
permissions -rw-r--r--
Adding first version of the OLSR mdns plugin written by Saverio Proto and
Claudio Pisa (Ninux.org)
     1 
     2 OLSRD_PLUGIN =	true
     3 PLUGIN_NAME =	olsrd_mdns
     4 PLUGIN_VER =	1.0.0
     5 
     6 TOPDIR = ../..
     7 include $(TOPDIR)/Makefile.inc
     8 
     9 LIBS +=	$(OS_LIB_PTHREAD)
    10 
    11 # Must be specified along with -lpthread on linux
    12 CPPFLAGS += $(OS_CFLAG_PTHREAD)
    13 
    14 ifneq ($(OS),linux)
    15 
    16 default_target install clean:
    17 	@echo "*** mdns Plugin only supported on Linux, sorry!"
    18 
    19 else
    20 
    21 default_target: $(PLUGIN_FULLNAME)
    22 
    23 $(PLUGIN_FULLNAME): $(OBJS) version-script.txt
    24 		$(CC) $(LDFLAGS) -o $(PLUGIN_FULLNAME) $(OBJS) $(LIBS)
    25 
    26 install:	$(PLUGIN_FULLNAME)
    27 		$(STRIP) $(PLUGIN_FULLNAME)
    28 		$(INSTALL_LIB)
    29 
    30 clean:
    31 		rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
    32 
    33 endif