Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# CDDL HEADER START
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater#
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# or http://www.opensolaris.org/os/licensing.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# See the License for the specific language governing permissions
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# CDDL HEADER END
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Use is subject to license terms.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# ident "%Z%%M% %I% %E% SMI"
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntTPROG= t4014 t300 t300s t450
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntPROG= $(TPROG) vplot
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntSHFILES= tplot
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# include common definitions
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userinclude ../Makefile.cmd
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox UserCLOBBERFILES += $(SHFILES)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# conditional assignments
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntt% := LDLIBS += -l$(@F:t%=%)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usert% := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usert% := LDFLAGS += $(MAPFILES:%=-M%)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User.KEEP_STATE:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntall: $(PROG) $(SHFILES)
fd0b768f4c23d22c89f8a156a632831583b7fb68Automatic Updater
fd0b768f4c23d22c89f8a156a632831583b7fb68Automatic Updater$(TPROG): driver.o $$(MAPFILES)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt $(LINK.c) -o $@ driver.o $(LDLIBS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(POST_PROCESS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(ROOTSHFILES): $(SHFILES)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntvplot: vplot.o banner.o
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(LINK.c) -o $@ vplot.o banner.o $(LDLIBS)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt $(POST_PROCESS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterinstall: $(ROOTLIBPROG) $(ROOTSHFILES)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntclean:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(RM) driver.o vplot.o banner.o
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userlint:
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt $(LINT.c) driver.c $(LDLIBS) -l4014
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt $(LINT.c) driver.c $(LDLIBS) -l300
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(LINT.c) driver.c $(LDLIBS) -l300s
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt $(LINT.c) driver.c $(LDLIBS) -l450
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(LINT.c) vplot.c banner.c $(LDLIBS)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# include common targets
6f1205897504b8f50b1785975482c995888dd630Tinderbox Userinclude ../Makefile.targ
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User