Makefile revision 942214a9d3873106f26cc86dd4aef6ac6176b830
330e5149d05dc4f5121b30964753167e43690afdrbb#
330e5149d05dc4f5121b30964753167e43690afdrbb# CDDL HEADER START
c760d13cffeef40df3f8c5a798e40a064dc80067bjh#
c760d13cffeef40df3f8c5a798e40a064dc80067bjh# The contents of this file are subject to the terms of the
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# Common Development and Distribution License (the "License").
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# You may not use this file except in compliance with the License.
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin#
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin# or http://www.opensolaris.org/os/licensing.
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin# See the License for the specific language governing permissions
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin# and limitations under the License.
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin#
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# When distributing Covered Code, include this CDDL HEADER in each
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# If applicable, add the following below this CDDL HEADER, with the
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# fields enclosed by brackets "[]" replaced with your own identifying
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin#
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin# CDDL HEADER END
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin#
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj#
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj# Use is subject to license terms.
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin#
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj# ident "%Z%%M% %I% %E% SMI"
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin#
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrinPROG= zoneadmd
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrininclude ../Makefile.cmd
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin
330e5149d05dc4f5121b30964753167e43690afdrbbROOTCMDDIR= $(ROOTLIB)/zones
330e5149d05dc4f5121b30964753167e43690afdrbb
330e5149d05dc4f5121b30964753167e43690afdrbbOBJS= zoneadmd.o zcons.o vplat.o
330e5149d05dc4f5121b30964753167e43690afdrbbSRCS = $(OBJS:.o=.c)
9222dcffcfe8d92f94c85d4e857af7b63264c9dcrbbPOFILE=zoneadmd_all.po
5ba9b0e6d4e69e3daaad80eba67774408a2355f2wrowePOFILES= $(OBJS:%.o=%.po)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickCFLAGS += $(CCVERBOSE)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickLAZYLIBS = $(ZLAZYLOAD) -ltsnet -ltsol $(ZNOLAZYLOAD)
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawicklint := LAZYLIBS = -ltsnet -ltsol
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawickLDLIBS += -lsocket -lzonecfg -lnsl -ldevinfo -ldevice -lnvpair -lpool \
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick -lgen -lbsm -lcontract -lzfs -luuid -lbrand $(LAZYLIBS)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickXGETFLAGS += -a -x zoneadmd.xcl
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick.KEEP_STATE:
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick.PARALLEL:
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickall: $(PROG)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick$(PROG): $(OBJS)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick $(POST_PROCESS)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickinstall: all $(ROOTCMD)
50e228f0b8429c27e411611f4863fafaba403b47wrowe
50e228f0b8429c27e411611f4863fafaba403b47wrowe$(POFILE): $(POFILES)
50e228f0b8429c27e411611f4863fafaba403b47wrowe $(RM) $@
50e228f0b8429c27e411611f4863fafaba403b47wrowe $(CAT) $(POFILES) > $@
50e228f0b8429c27e411611f4863fafaba403b47wrowe
50e228f0b8429c27e411611f4863fafaba403b47wroweclean:
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick $(RM) $(OBJS)
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawicklint: lint_SRCS
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawickcheck:
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick $(CSTYLE) -p -P $(SRCS:%=%)
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wroweinclude ../Makefile.targ
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wrowe