From: Bernd Petrovitsch Date: Sun, 4 Feb 2007 21:21:16 +0000 (+0000) Subject: * the quagga plugin makes prbably only sense on Linux X-Git-Tag: OLSRD_0_5_0~31 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=d5f41c738aff3a87ebbcff15a902725acd8b4cfb * the quagga plugin makes prbably only sense on Linux --- diff --git a/lib/quagga/Makefile b/lib/quagga/Makefile index 1760f480..c357e360 100644 --- a/lib/quagga/Makefile +++ b/lib/quagga/Makefile @@ -35,7 +35,7 @@ # to the project. For more information see the website or contact # the copyright holders. # -# $Id: Makefile,v 1.1 2007/01/31 12:38:26 bernd67 Exp $ +# $Id: Makefile,v 1.2 2007/02/04 21:21:16 bernd67 Exp $ OLSRD_PLUGIN = true PLUGIN_NAME = olsrd_quagga @@ -52,6 +52,13 @@ CFLAGS +=-DUSE_UNIX_DOMAIN_SOCKET TOPDIR = ../.. include $(TOPDIR)/Makefile.inc +ifneq ($(OS),linux) + +default_target install clean: + @echo "*** TAS Plugin only supported on Linux, sorry!" + +else + default_target: $(PLUGIN_FULLNAME) $(PLUGIN_FULLNAME): $(OBJS) @@ -63,3 +70,5 @@ install: $(PLUGIN_FULLNAME) clean: rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME) + +endif