Makefile revision 6cad8c54794ed08da5ee9e41172ce85ba79e534f
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License, Version 1.0 only
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# (the "License"). You may not use this file except in compliance
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# with the License.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
83a28ca274521e15086fc39febde507bcc4e145eMark Andrews# or http://www.opensolaris.org/os/licensing.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# See the License for the specific language governing permissions
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# and limitations under the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# CDDL HEADER END
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Copyright 1999 Sun Microsystems, Inc. All rights reserved.
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Use is subject to license terms.
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyPROG= codereview
94bd918b63001277f1b28ae4581645f8a835688fBob Halley
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyOBJS= lwlp.o
94bd918b63001277f1b28ae4581645f8a835688fBob HalleySRCS= $(OBJS:%.o=%.c)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLEANFILES += $(OBJS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinTMPDIR= /tmp
704e6c8876907aac0bf7380effca8bca400d4acdMark Andrews
704e6c8876907aac0bf7380effca8bca400d4acdMark Andrewsinclude ../Makefile.tools
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCERRWARN += -_gcc=-Wno-parentheses
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews
cfa2326b5c96a3a4c720262e077b2baf9fc27970Tinderbox UserMAN1ONBLDFILES= codereview.1onbld
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User$(ROOTONBLDMAN1ONBLDFILES) := FILEMODE= 644
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCOPTS= -O
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.KEEP_STATE:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
94bd918b63001277f1b28ae4581645f8a835688fBob Halley.PARALLEL: $(OBJS)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
94bd918b63001277f1b28ae4581645f8a835688fBob Halleyall: $(PROG)
94bd918b63001277f1b28ae4581645f8a835688fBob Halley
94bd918b63001277f1b28ae4581645f8a835688fBob Halley$(PROG): $(OBJS)
94bd918b63001277f1b28ae4581645f8a835688fBob Halley $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(POST_PROCESS)
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: all .WAIT $(ROOTONBLDMACHPROG) $(ROOTONBLDMAN1ONBLDFILES)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclean:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(RM) $(CLEANFILES)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint: lint_SRCS
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../Makefile.targ
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein