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 #ident "%Z%%M% %I% %E% SMI" 26 # 27 # cmd/tsol/Makefile 28 # 29 30 include ../Makefile.cmd 31 32 SUBDIRS = \ 33 atohexlabel \ 34 getlabel \ 35 demo \ 36 misc \ 37 zones \ 38 labeld \ 39 updatehome \ 40 plabel \ 41 setlabel \ 42 tnchkdb \ 43 tninfo \ 44 tnctl \ 45 tnd \ 46 tsol-zones \ 47 getzonepath \ 48 hextoalabel \ 49 lslabels 50 51 52 MSGSUBDIRS = \ 53 getlabel \ 54 setlabel \ 55 tnchkdb \ 56 tninfo \ 57 tnctl \ 58 tnd \ 59 getzonepath 60 61 $(CLOSED_BUILD)SUBDIRS += $(CLOSED)/cmd/tsol/chk_encodings \ 62 $(CLOSED)/cmd/tsol/labeld 63 64 $(CLOSED_BUILD)CLOSED_MSGSUBDIRS = $(CLOSED)/cmd/tsol/chk_encodings \ 65 $(CLOSED)/cmd/tsol/labeld 66 67 # 68 # for messaging catalog 69 # 70 POFILE= tsol-cmd.po 71 POFILES= $(MSGSUBDIRS:%=%/%.po) 72 73 all := TARGET = all 74 install := TARGET = install 75 clean := TARGET = clean 76 clobber := TARGET = clobber 77 lint := TARGET = lint 78 _msg := TARGET = _msg 79 80 .KEEP_STATE: 81 82 .PARALLEL: $(SUBDIRS) 83 84 all install clean clobber lint: $(SUBDIRS) 85 86 $(POFILE): $(MSGSUBDIRS) $(CLOSED_MSGSUBDIRS) 87 $(RM) $(POFILE) 88 $(CAT) $(POFILES) > $(POFILE) 89 90 $(SUBDIRS): FRC 91 @cd $@; pwd; $(MAKE) $(TARGET) 92 93 FRC: 94 95 include Makefile.targ