#
# WAP54g snmpd control scripts Makefile
#
# Copyright (C) 2001 Broadcom Corporation
#
# $Id: Makefile,v 1.0 2002/11/28 15:48 Anson Tseng
#

CFLAGS	+= -I. -I$(TOP)/shared -I$(SRCBASE)/include -Wall
#CFLAGS	+= -g -DDEBUG
CFLAGS	+= -s -O2
LDFLAGS	+= -L$(TOP)/nvram

all: snmpdset

clean:
	rm -f *~ snmpdset

install: all
	install  -d $(INSTALLDIR)/sbin
	install  snmpdset $(INSTALLDIR)/sbin
	$(STRIP) $(INSTALLDIR)/sbin/snmpdset 

snmpdset: snmpdset.o 
	$(CC) -o $@ $^ $(LDFLAGS) -lnvram
