Merge branch 'tomato-ND-usbmod-vpn' into tomato-ND-USBmod
[tomato.git] / release / src / router / wlconf / Makefile
blob752a2cd6bbbff8b85da9a7d5bbe904f5a9523811
2 # Router Wireless Interface Configuration Utility Makefile
4 # Copyright 2007, Broadcom Corporation
5 # All Rights Reserved.
6 #
7 # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
8 # the contents of this file may not be disclosed to third parties, copied
9 # or duplicated in any form, in whole or in part, without the prior
10 # written permission of Broadcom Corporation.
12 # $Id$
14 include ../common.mak
16 CFLAGS += -I. -I$(TOP)/shared -I$(SRCBASE)/include -Wall
17 #CFLAGS += -g -DDEBUG
18 CFLAGS += -s -O2
19 LDFLAGS += -L$(TOP)/nvram -lnvram -L$(TOP)/shared -lshared
22 OBJS := wlconf.o
24 all: wlconf
26 clean:
27 rm -f *.o wlconf
29 install: all
30 install -d $(INSTALLDIR)/usr/sbin
31 install wlconf $(INSTALLDIR)/usr/sbin
32 $(STRIP) $(INSTALLDIR)/usr/sbin/wlconf
34 wlconf: $(OBJS)
35 $(CC) -o $@ $^ $(LDFLAGS)