summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zoneadm
diff options
context:
space:
mode:
authoramaguire <none@none>2006-11-02 15:30:18 -0800
committeramaguire <none@none>2006-11-02 15:30:18 -0800
commita192e900f6d2b0e1a822e3252c0dfd795ed49d76 (patch)
tree14da911f3b9e55e737b4d0f2597cdc69105c3023 /usr/src/cmd/zoneadm
parentac92251dc182f030faf6a5f76981d551b0b16072 (diff)
downloadillumos-gate-a192e900f6d2b0e1a822e3252c0dfd795ed49d76.tar.gz
PSARC 2006/552 Quagga SMF Modifications
6312914 routeadm needs to support smf-based routing services 6440342 remove redundancies in smf-related makefiles by moving manifest rules to usr/src/cmd/Makefile.targ --HG-- rename : usr/src/cmd/cmd-inet/usr.sbin/in.rdisc.c => usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/in.rdisc.c rename : usr/src/cmd/cmd-inet/usr.sbin/routeadm.c => usr/src/cmd/cmd-inet/usr.sbin/routeadm/routeadm.c rename : deleted_files/usr/src/cmd/volmgt/etc/Makefile => usr/src/cmd/volmgt/etc/Makefile
Diffstat (limited to 'usr/src/cmd/zoneadm')
-rw-r--r--usr/src/cmd/zoneadm/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr/src/cmd/zoneadm/Makefile b/usr/src/cmd/zoneadm/Makefile
index 1fc67e678a..4d0f91a6f3 100644
--- a/usr/src/cmd/zoneadm/Makefile
+++ b/usr/src/cmd/zoneadm/Makefile
@@ -28,15 +28,11 @@
PROG= zoneadm
MANIFEST= zones.xml
+SVCMETHOD= svc-zones
include ../Makefile.cmd
-ROOTMETHOD= $(ROOTLIBSVCMETHOD)/svc-zones
ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
-$(ROOTMANIFEST) := FILEMODE= 444
-
-$(ROOTMANIFESTDIR)/%: %
- $(INS.file)
OBJS= zoneadm.o sw_cmp.o zfs.o
SRCS = $(OBJS:.o=.c)
@@ -53,7 +49,7 @@ $(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
-install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTMETHOD)
+install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(PROG).c $(CHKMANIFEST)
$(CSTYLE) -pP $(SRCS:%=%)
@@ -63,6 +59,7 @@ $(POFILE): $(POFILES)
$(CAT) $(POFILES) > $@
clean:
+ $(RM) $(OBJS) $(POFILES)
lint: lint_SRCS