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/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 usr/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 2006 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # ident "@(#)Makefile 1.8 07/06/06 SMI" 27 # 28 # usr/src/cmd/ha-services/gds-agents/9ias/Makefile 29 # 30 31 # list common shell scripts for $(PKGNAME)/bin 32 KSH_BIN_SRCS = control_oas.ksh \ 33 functions.ksh \ 34 probe-em.ksh \ 35 probe-oidldap.ksh \ 36 probe-oidmon.ksh \ 37 probe-opmn.ksh \ 38 start-em.ksh \ 39 start-oidldap.ksh \ 40 start-oidmon.ksh \ 41 start-opmn.ksh \ 42 stop-em.ksh \ 43 stop-oidldap.ksh \ 44 stop-oidmon.ksh \ 45 stop-opmn.ksh \ 46 validate_9ias.ksh 47 48 # list config file for $(PKGNAME)/etc 49 CONF = config 50 51 # list common util shell scripts for $(PKGNAME)/util 52 KSH_UTIL_SRCS = 10gas_register.ksh \ 53 9ias_register.ksh 54 55 # list common util config files for $(PKGNAME)/util 56 UTIL_CONF = 10gas_config \ 57 9ias_config 58 59 PROG = $(KSH_BIN_SRCS:%.ksh=%) 60 61 UTILPROG = $(KSH_UTIL_SRCS:%.ksh=%) $(UTIL_CONF) 62 63 include $(SRC)/cmd/Makefile.cmd 64 65 # Packaging 66 PKGNAME = SUNWsc9ias 67 RTRFILE = SUNW.9ias 68 69 # Disable I18N stuff, the po filename needs to be unique to support parallel 70 # builds of the agents below gds-agents 71 POFILE= $(PKGNAME).po 72 PIFILES= 73 74 # Disable lint 75 LINTFILES= 76 77 .KEEP_STATE: 78 79 all: $(PROG) $(UTILPROG) 80 81 .PARALLEL: $(PROG) $(UTILPROG) 82 83 install: all $(ROOTOPTBINPROG) $(ROOTOPTETCRTR) $(ROOTOPTETCCONF) $(ROOTOPTUTILPROG) 84 85 clean: 86 $(RM) $(PROG) $(KSH_UTIL_SRCS:%.ksh=%) 87 88 include $(SRC)/cmd/Makefile.targ 89