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 2008 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 27 #ident "@(#)Makefile 1.10 08/05/06 SMI" 28 29 # cmd/ha-services/gds-data/PostgreSQL/Makefile 30 # 31 32 SUBDIRS = rolechg 33 34 include $(SRC)/Makefile.subdirs 35 36 # list the content of the components bin directory $PKGNAME/bin 37 38 KSH_BIN_SRCS = functions.ksh \ 39 control_pgs.ksh \ 40 probe_smf_pgs.ksh 41 42 # list the configuration script of the components etc directory $PKGNAME/etc 43 44 CONF = config 45 46 # list the ksh content of the common lib directory $PKGNAME/lib 47 48 KSH_LIB_SRCS = functions_static.ksh 49 50 # list the content of the components util directory $PKGNAME/util 51 52 KSH_UTIL_SRCS = pgs_db_prep.ksh \ 53 pgs_register.ksh \ 54 pgs_config.ksh \ 55 pgs_smf_register.ksh \ 56 pgs_smf_remove.ksh 57 58 # definition for the ksh substitution 59 60 LIBPROG = $(KSH_LIB_SRCS:%.ksh=%) 61 62 UTILPROG = $(KSH_UTIL_SRCS:%.ksh=%) 63 64 # assembly of the PROG variable 65 66 PROG = $(KSH_BIN_SRCS:%.ksh=%) 67 68 include $(SRC)/cmd/Makefile.cmd 69 70 # Packaging 71 PKGNAME = SUNWscPostgreSQL 72 RTRFILE = SUNW.PostgreSQL 73 74 # Disable I18N stuff, the po filename needs to be unique to support parallel builds of the agents below gds-agents 75 POFILE= $(PKGNAME).po 76 PIFILES= 77 78 # Disable lint 79 LINTFILES= 80 81 .KEEP_STATE: 82 83 all: $(PROG) $(UTILPROG) $(LIBPROG) 84 85 .PARALLEL: $(PROG) $(UTILPROG) $(LIBPROG) 86 87 install: all $(ROOTOPTBINPROG) $(ROOTOPTETCRTR) $(ROOTOPTETCCONF) $(ROOTOPTUTILPROG) $(ROOTOPTLIBKSHPROG) 88 89 include $(SRC)/cmd/Makefile.targ 90 91 clean: 92 $(RM) $(PROG) $(UTILPROG) $(LIBPROG) 93