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 # Copyright 2002 Sun Microsystems, Inc. All rights reserved. 22 # Use is subject to license terms. 23 # 24 # @(#)Variant.mk 1.19 06/12/12 25 # 26 27 TOP = ../../../.. 28 include $(TOP)/rules/master.mk 29 include $(TOP)/rules/dmake.mk 30 31 PKG_TOP = $(TOP)/Make 32 CPPFLAGS += -I$(PKG_TOP)/include 33 34 CCSRCS = \ 35 dosys.cc \ 36 globals.cc \ 37 i18n.cc \ 38 macro.cc \ 39 misc.cc \ 40 mksh.cc \ 41 read.cc 42 43 HDRS_DIR = $(PKG_TOP)/include/mksh 44 HDRS_LIST = $(HDRS_DIR)/defs.h \ 45 $(CCSRCS:%.cc=$(HDRS_DIR)/%.h) \ 46 $(CSRCS:%.c=$(HDRS_DIR)/%.h) 47 48 .INIT: $(HDRS_LIST) 49 50 LIBNAME = libmksh.a 51 MSG_FILE = libmksh.msg 52 I18N_DIRS = $(SRC) 53 54 #CPPFLAGS += -DTEAMWARE_MAKE_CMN -DDISTRIBUTED 55 56 include $(TOP)/Make/lib/Lib.mk 57 include $(TOP)/rules/lib.mk 58