--- embedaddon/mrouted/Makefile 2012/02/21 23:10:48 1.1 +++ embedaddon/mrouted/Makefile 2013/07/22 00:11:42 1.1.1.2.2.1 @@ -3,7 +3,7 @@ # # VERSION ?= $(shell git tag -l | tail -1) -VERSION ?= 3.9.5 +VERSION ?= 3.9.6 NAME = mrouted CONFIG = $(NAME).conf EXECS = mrouted map-mbone mrinfo mtrace @@ -42,7 +42,7 @@ MTRACE_OBJS = mtrace.o $(EXTRA_OBJS) #MSTAT_OBJS = mstat.o $(EXTRA_OBJS) ## Common -CFLAGS = $(MCAST_INCLUDE) $(SNMPDEF) $(RSRRDEF) $(INCLUDES) $(DEFS) $(USERCOMPILE) +CFLAGS += $(MCAST_INCLUDE) $(SNMPDEF) $(RSRRDEF) $(INCLUDES) $(DEFS) $(USERCOMPILE) CFLAGS += -O2 -W -Wall -Werror #CFLAGS += -O -g LDLIBS = $(SNMPLIBDIR) $(SNMPLIBS) $(EXTRA_LIBS) @@ -51,7 +51,7 @@ OBJS = $(IGMP_OBJS) $(ROUTER_OBJS) $(MAPPER_O $(MTRACE_OBJS) $(MSTAT_OBJS) SRCS = $(OBJS:.o=.c) MANS = $(addsuffix .8,$(EXECS)) -DISTFILES = README AUTHORS LICENSE ChangeLog +DISTFILES = README AUTHORS ChangeLog LINT = splint LINTFLAGS = $(MCAST_INCLUDE) $(filter-out -W -Wall -Werror, $(CFLAGS)) -posix-lib -weak -skipposixheaders