Makefile revision 2
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# CDDL HEADER START
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# The contents of this file are subject to the terms of the
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# Common Development and Distribution License (the "License").
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# You may not use this file except in compliance with the License.
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# or http://www.opensolaris.org/os/licensing.
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# See the License for the specific language governing permissions
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# and limitations under the License.
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# When distributing Covered Code, include this CDDL HEADER in each
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# If applicable, add the following below this CDDL HEADER, with the
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# fields enclosed by brackets "[]" replaced with your own identifying
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# information: Portions Copyright [yyyy] [name of copyright owner]
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# CDDL HEADER END
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# Copyright (c) 1989, 2011, Oracle and/or its affiliates. All rights reserved.
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# lib/libplot/Makefile
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx#
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# include global definitions
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxinclude ../../Makefile.master
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxSUBDIRS= plot t300 t300s t4014 t450 vt0
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxall:= TARGET= all
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxclean:= TARGET= clean
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxclobber:= TARGET= clobber
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxinstall:= TARGET= install
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxlint:= TARGET= lint
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxstub := TARGET = stub
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxstubinstall := TARGET = stubinstall
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxHDRS= plot.h
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxROOTHDRDIR= $(ROOT)/usr/include
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxCHECKHDRS= $(HDRS:%.h=%.check)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx# install rule for install_h target
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng$(ROOTHDRDIR)/%: %
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx $(INS.file)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx.KEEP_STATE:
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxall clean clobber install lint stub stubinstall: $(SUBDIRS)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxinstall_h: $(ROOTHDRS)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxcheck: $(CHECKHDRS)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx$(SUBDIRS): FRC
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx @cd $@; pwd; $(MAKE) $(TARGET)
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hxFRC:
84f7a9b9dca4f23b5f50edef0e59d7eb44301114hx