1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the License). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at src/CDDL.txt 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at src/CDDL.txt. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets [] replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # ident "@(#)Makefile 1.25 08/06/04 SMI" 27 # 28 29 SUBDIRS = lib csrc dataservice geo sanity 30 31 PKGFILES = \ 32 bin/report_writer \ 33 bin/hatimerun \ 34 bin/gosu \ 35 bin/gouser \ 36 lib/libCommonTest.so \ 37 lib/libCommonTest_thr.so 38 39 PKGFILES += scripts bin/setup_ds bin/cleanup_ds 40 41 pkgproto_lib% : $(CTI_PROTO)/contrib/ctitools/lib% 42 pkgproto $?=$(PROTODIR)/$(@:pkgproto_%=%) \ 43 | awk '{print $$1" "$$2" "$$3" "$$4" root bin"}' >> $(PROTOTYPE) 44 45 pkgproto_bin/go% : $(CTI_PROTO)/contrib/ctitools/bin/go% 46 pkgproto $?=$(PROTODIR)/$(@:pkgproto_%=%) \ 47 | awk '{print $$1" "$$2" "$$3" 6755 root bin"}' >> $(PROTOTYPE) 48 49 pkgproto_bin% : $(CTI_PROTO)/contrib/ctitools/bin% 50 pkgproto $?=$(PROTODIR)/$(@:pkgproto_%=%) \ 51 | awk '{print $$1" "$$2" "$$3" "$$4}' >> $(PROTOTYPE) 52 53 pkgproto_bin/setup_ds pkgproto_bin/cleanup_ds : scripts/validate_ds.ksh 54 cd $(SRCROOT);\ 55 pkgproto $(PROTODIR)/$?=$(PROTODIR)/$(@:pkgproto_%=%) \ 56 | awk '{print $$1" "$$2" "$$3" 0755"}' >> $(PROTOTYPE) 57 58 include ../subdir.mk 59