Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
18727N/A#
12779N/A# CDDL HEADER START
12779N/A#
12779N/A# The contents of this file are subject to the terms of the
12779N/A# Common Development and Distribution License (the "License").
12779N/A# You may not use this file except in compliance with the License.
12779N/A#
12779N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12779N/A# or http://www.opensolaris.org/os/licensing.
12779N/A# See the License for the specific language governing permissions
12779N/A# and limitations under the License.
12779N/A#
12779N/A# When distributing Covered Code, include this CDDL HEADER in each
12779N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12779N/A# If applicable, add the following below this CDDL HEADER, with the
12779N/A# fields enclosed by brackets "[]" replaced with your own identifying
12779N/A# information: Portions Copyright [yyyy] [name of copyright owner]
16244N/A#
16244N/A# CDDL HEADER END
16244N/A#
16244N/A
16244N/A#
16244N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
16244N/A# Use is subject to license terms.
16244N/A#
16244N/A# cmd/cmd-inet/usr.sbin/nwamcfg/Makefile
16244N/A
16244N/APROG= nwamcfg
16244N/AOBJS= nwamcfg.o nwamcfg_lex.o nwamcfg_grammar.tab.o
16244N/A
16244N/Ainclude ../../../Makefile.cmd
16244N/A
16244N/AXGETFLAGS += -a -x $(PROG).xcl
16244N/ALFLAGS = -t
16244N/ALDLIBS += -ll -ltecla -lnwam -lumem
16244N/AYFLAGS += -d -b nwamcfg_grammar
16244N/ACLEANFILES += nwamcfg_lex.c nwamcfg_grammar.tab.c nwamcfg_grammar.tab.h
16244N/A
16244N/ACERRWARN += -_gcc=-Wno-switch
16244N/ACERRWARN += -_gcc=-Wno-uninitialized
16244N/ACERRWARN += -_gcc=-Wno-unused-variable
16244N/ACERRWARN += -_gcc=-Wno-unused-label
16244N/ACERRWARN += -_gcc=-Wno-implicit-function-declaration
16244N/A
16244N/A.KEEP_STATE:
16244N/A
16244N/Aall: $(PROG)
16244N/A
16244N/A$(PROG): $(OBJS)
16244N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
16244N/A $(POST_PROCESS)
16244N/A
16244N/Ainstall: all $(ROOTUSRSBINPROG)
16244N/A
16244N/Anwamcfg_lex.c: nwamcfg_lex.l nwamcfg_grammar.tab.h nwamcfg.h
16244N/A $(LEX) $(LFLAGS) nwamcfg_lex.l > $@
16244N/A
16244N/Anwamcfg_grammar.tab.h nwamcfg_grammar.tab.c: nwamcfg_grammar.y nwamcfg.h
16244N/A $(YACC) $(YFLAGS) nwamcfg_grammar.y
16244N/A
16244N/Anwamcfg_lex.o nwamcfg_grammar.tab.o := CCVERBOSE =
16244N/A
16244N/Acheck: $(PROG).c $(PROG).h
16244N/A $(CSTYLE) -pP $(PROG).c $(PROG).h
16244N/A $(HDRCHK) $(PROG).h
16244N/A
16244N/Aclean:
16244N/A $(RM) $(OBJS) $(CLEANFILES)
16244N/A
16244N/A#
16244N/A# We don't do lint of lex- and yacc- generated source files
16244N/A#
16244N/Alint:
16244N/A $(LINT.c) -c $(PROG).c $(LDLIBS)
16244N/A
16244N/Ainclude ../../../Makefile.targ
16244N/A