6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / lib / libunistat / Makefile
blobe206dda7b4293eff2d8f301491d8982e946da4d6
1 # CDDL HEADER START
3 # The contents of this file are subject to the terms of the
4 # Common Development and Distribution License (the "License").
5 # You may not use this file except in compliance with the License.
7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 # or http://www.opensolaris.org/os/licensing.
9 # See the License for the specific language governing permissions
10 # and limitations under the License.
12 # When distributing Covered Code, include this CDDL HEADER in each
13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 # If applicable, add the following below this CDDL HEADER, with the
15 # fields enclosed by brackets "[]" replaced with your own identifying
16 # information: Portions Copyright [yyyy] [name of copyright owner]
18 # CDDL HEADER END
21 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
24 # lib/libunistat/Makefile
26 include ../Makefile.lib
28 UTSBASE= ../../uts
30 SUBDIRS= $(MACH)
32 all := TARGET= all
33 clean := TARGET= clean
34 clobber := TARGET= clobber
35 delete := TARGET= delete
36 install := TARGET= install
37 lint := TARGET= lint
38 lintinter := TARGET= lintinter
39 _msg := TARGET= _msg
40 package := TARGET= package
42 LIBRARY= libunistat.a
44 HDRS= spcs_dtrinkets.h \
45 spcs_etrinkets.h \
46 spcs_errors.h \
47 spcs_etext.h
48 HDRDIR= common
50 ROOTHDRDIR= $(ROOT)/usr/include/sys/unistat
51 ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
53 .KEEP_STATE:
55 all clean clobber delete lint package lintinter: $(SUBDIRS)
57 install: $(SUBDIRS)
58 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
60 check:
62 # install rule for install_h target
63 $(ROOTHDRDIR):
64 $(INS.dir)
66 $(ROOTHDRDIR)/spcs_errors.h: $(MACH)/spcs_errors.h
67 $(INS.file) $(MACH)/spcs_errors.h
69 $(MACH)/spcs_errors.h: FRC
70 @ cd $(MACH); pwd; make spcs_errors.h
72 $(ROOTHDRDIR)/spcs_s_u.h: common/spcs_s_u.h
73 $(INS.file) common/spcs_s_u.h
75 $(ROOTHDRDIR)/spcs_etext.h: $(MACH)/spcs_etext.h
76 $(INS.file) $(MACH)/spcs_etext.h
78 $(MACH)/spcs_etext.h: FRC
79 @ cd $(MACH); pwd; make spcs_etext.h
81 $(ROOTHDRDIR)/spcs_dtrinkets.h: $(MACH)/spcs_dtrinkets.h
82 $(INS.file) $(MACH)/spcs_dtrinkets.h
84 $(MACH)/spcs_dtrinkets.h: FRC
85 @ cd $(MACH); pwd; make spcs_dtrinkets.h
87 $(ROOTHDRDIR)/spcs_etrinkets.h: $(MACH)/spcs_etrinkets.h
88 $(INS.file) $(MACH)/spcs_etrinkets.h
90 $(MACH)/spcs_etrinkets.h: FRC
91 @ cd $(MACH); pwd; make spcs_etrinkets.h
93 $(MACH) $(MACH64): FRC
94 @cd $@; pwd; $(MAKE) $(TARGET)
96 FRC: