1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate# 4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate# with the License. 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate# and limitations under the License. 13*7c478bd9Sstevel@tonic-gate# 14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate# 20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate# 22*7c478bd9Sstevel@tonic-gate# 23*7c478bd9Sstevel@tonic-gate# Copyright 2003 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate# 26*7c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 27*7c478bd9Sstevel@tonic-gate# 28*7c478bd9Sstevel@tonic-gate 29*7c478bd9Sstevel@tonic-gateMETASSIST_TOPLEVEL = . 30*7c478bd9Sstevel@tonic-gate 31*7c478bd9Sstevel@tonic-gatePROG = metassist 32*7c478bd9Sstevel@tonic-gate 33*7c478bd9Sstevel@tonic-gate# Subdirectories with message catalogs 34*7c478bd9Sstevel@tonic-gatePOSUBDIRS = \ 35*7c478bd9Sstevel@tonic-gate common \ 36*7c478bd9Sstevel@tonic-gate xml \ 37*7c478bd9Sstevel@tonic-gate layout \ 38*7c478bd9Sstevel@tonic-gate controller 39*7c478bd9Sstevel@tonic-gate 40*7c478bd9Sstevel@tonic-gate# For message catalog 41*7c478bd9Sstevel@tonic-gatePOFILES = $(POSUBDIRS:%=%/%p.po) 42*7c478bd9Sstevel@tonic-gate 43*7c478bd9Sstevel@tonic-gate# Subdirectories that must be made 44*7c478bd9Sstevel@tonic-gateSUBDIRS = \ 45*7c478bd9Sstevel@tonic-gate scripts \ 46*7c478bd9Sstevel@tonic-gate sysfiles \ 47*7c478bd9Sstevel@tonic-gate $(POSUBDIRS) 48*7c478bd9Sstevel@tonic-gate 49*7c478bd9Sstevel@tonic-gateSUBOBJS = \ 50*7c478bd9Sstevel@tonic-gate common/volume_defaults.o \ 51*7c478bd9Sstevel@tonic-gate common/volume_devconfig.o \ 52*7c478bd9Sstevel@tonic-gate common/volume_dlist.o \ 53*7c478bd9Sstevel@tonic-gate common/volume_error.o \ 54*7c478bd9Sstevel@tonic-gate common/volume_nvpair.o \ 55*7c478bd9Sstevel@tonic-gate common/volume_output.o \ 56*7c478bd9Sstevel@tonic-gate common/volume_request.o \ 57*7c478bd9Sstevel@tonic-gate common/volume_string.o \ 58*7c478bd9Sstevel@tonic-gate xml/xml_convert.o \ 59*7c478bd9Sstevel@tonic-gate layout/layout.o \ 60*7c478bd9Sstevel@tonic-gate layout/layout_concat.o \ 61*7c478bd9Sstevel@tonic-gate layout/layout_device_cache.o \ 62*7c478bd9Sstevel@tonic-gate layout/layout_device_util.o \ 63*7c478bd9Sstevel@tonic-gate layout/layout_discovery.o \ 64*7c478bd9Sstevel@tonic-gate layout/layout_dlist_util.o \ 65*7c478bd9Sstevel@tonic-gate layout/layout_hsp.o \ 66*7c478bd9Sstevel@tonic-gate layout/layout_messages.o \ 67*7c478bd9Sstevel@tonic-gate layout/layout_mirror.o \ 68*7c478bd9Sstevel@tonic-gate layout/layout_request.o \ 69*7c478bd9Sstevel@tonic-gate layout/layout_slice.o \ 70*7c478bd9Sstevel@tonic-gate layout/layout_stripe.o \ 71*7c478bd9Sstevel@tonic-gate layout/layout_svm_util.o \ 72*7c478bd9Sstevel@tonic-gate layout/layout_validate.o \ 73*7c478bd9Sstevel@tonic-gate controller/getopt_ext.o \ 74*7c478bd9Sstevel@tonic-gate controller/metassist.o 75*7c478bd9Sstevel@tonic-gate 76*7c478bd9Sstevel@tonic-gateinclude $(METASSIST_TOPLEVEL)/../../Makefile.cmd 77*7c478bd9Sstevel@tonic-gateinclude $(METASSIST_TOPLEVEL)/Makefile.env 78*7c478bd9Sstevel@tonic-gate 79*7c478bd9Sstevel@tonic-gateLDLIBS += -ldiskmgt -lmeta -lnvpair -lxml2 -lxslt -lm 80*7c478bd9Sstevel@tonic-gate 81*7c478bd9Sstevel@tonic-gatePOFILE = metassistp.po 82*7c478bd9Sstevel@tonic-gate 83*7c478bd9Sstevel@tonic-gateinclude $(METASSIST_TOPLEVEL)/Makefile.targ 84*7c478bd9Sstevel@tonic-gate 85*7c478bd9Sstevel@tonic-gate# Build master .po file from subdirs' .po files 86*7c478bd9Sstevel@tonic-gate$(POFILE): $(POSUBDIRS) .WAIT $(POFILES) 87*7c478bd9Sstevel@tonic-gate $(BUILDPO.pofiles) 88