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 usr/src/OPENSOLARIS.LICENSE 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 usr/src/OPENSOLARIS.LICENSE. 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 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23 # Use is subject to license terms. 24 # 25 # cmd/tsol/Makefile 26 # 27 28 include ../Makefile.cmd 29 30 SUBDIRS = \ 31 atohexlabel \ 32 getlabel \ 33 demo \ 34 misc \ 35 zones \ 36 labeld \ 37 updatehome \ 38 plabel \ 39 setlabel \ 40 tnchkdb \ 41 tninfo \ 42 tnctl \ 43 tnd \ 44 tsol-zones \ 45 getzonepath \ 46 hextoalabel \ 47 lslabels 48 49 50 MSGSUBDIRS = \ 51 getlabel \ 52 setlabel \ 53 tnchkdb \ 54 tninfo \ 55 tnctl \ 56 tnd \ 57 getzonepath 58 59 # 60 # for messaging catalog 61 # 62 POFILE= tsol-cmd.po 63 POFILES= $(MSGSUBDIRS:%=%/%.po) 64 65 all := TARGET = all 66 install := TARGET = install 67 clean := TARGET = clean 68 clobber := TARGET = clobber 69 lint := TARGET = lint 70 _msg := TARGET = _msg 71 72 .KEEP_STATE: 73 74 .PARALLEL: $(SUBDIRS) 75 76 all install clean clobber lint: $(SUBDIRS) 77 78 $(POFILE): $(MSGSUBDIRS) $(CLOSED_MSGSUBDIRS) 79 $(RM) $(POFILE) 80 $(CAT) $(POFILES) > $(POFILE) 81 82 $(SUBDIRS): FRC 83 @cd $@; pwd; $(MAKE) $(TARGET) 84 85 FRC: 86 87 include Makefile.targ