1 1676 jpk # 2 1676 jpk # CDDL HEADER START 3 1676 jpk # 4 1676 jpk # The contents of this file are subject to the terms of the 5 1676 jpk # Common Development and Distribution License (the "License"). 6 1676 jpk # You may not use this file except in compliance with the License. 7 1676 jpk # 8 1676 jpk # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 1676 jpk # or http://www.opensolaris.org/os/licensing. 10 1676 jpk # See the License for the specific language governing permissions 11 1676 jpk # and limitations under the License. 12 1676 jpk # 13 1676 jpk # When distributing Covered Code, include this CDDL HEADER in each 14 1676 jpk # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 1676 jpk # If applicable, add the following below this CDDL HEADER, with the 16 1676 jpk # fields enclosed by brackets "[]" replaced with your own identifying 17 1676 jpk # information: Portions Copyright [yyyy] [name of copyright owner] 18 1676 jpk # 19 1676 jpk # CDDL HEADER END 20 1676 jpk # 21 1676 jpk # 22 1676 jpk # Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 1676 jpk # Use is subject to license terms. 24 1676 jpk # 25 2522 raf # ident "%Z%%M% %I% %E% SMI" 26 1676 jpk # 27 1676 jpk 28 1676 jpk include ../Makefile.lib 29 1676 jpk 30 1676 jpk HDRS = label.h 31 1676 jpk HDRDIR = common 32 1676 jpk SUBDIRS = $(MACH) 33 1676 jpk $(BUILD64)SUBDIRS += $(MACH64) 34 1676 jpk 35 1676 jpk POFILE = libtsol.po 36 1676 jpk MSGFILES = common/btos.c common/private.c common/stob.c 37 1676 jpk XGETFLAGS = -a 38 1676 jpk 39 1676 jpk all := TARGET = all 40 1676 jpk clean := TARGET = clean 41 1676 jpk clobber := TARGET = clobber 42 1676 jpk install := TARGET = install 43 1676 jpk lint := TARGET = lint 44 1676 jpk 45 1676 jpk .KEEP_STATE: 46 1676 jpk 47 1676 jpk # Override so that label.h gets installed where expected. 48 1676 jpk ROOTHDRDIR= $(ROOT)/usr/include/tsol 49 1676 jpk 50 2522 raf all clean clobber install lint: $(SUBDIRS) 51 1676 jpk 52 1676 jpk install_h: $(ROOTHDRS) 53 1676 jpk 54 1676 jpk check: $(CHECKHDRS) 55 1676 jpk 56 1676 jpk $(POFILE): $(MSGFILES) 57 1676 jpk $(BUILDPO.msgfiles) 58 1676 jpk 59 1676 jpk _msg: $(MSGDOMAINPOFILE) 60 1676 jpk 61 2522 raf $(SUBDIRS): FRC 62 1676 jpk @cd $@; pwd; $(MAKE) $(TARGET) 63 1676 jpk 64 1676 jpk FRC: 65 1676 jpk 66 1676 jpk include $(SRC)/Makefile.msg.targ 67 1676 jpk include $(SRC)/lib/Makefile.targ 68