diff options
Diffstat (limited to 'usr/src/lib/libresolv2/Makefile')
-rw-r--r-- | usr/src/lib/libresolv2/Makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/usr/src/lib/libresolv2/Makefile b/usr/src/lib/libresolv2/Makefile index b6bc1c7076..2e9e919762 100644 --- a/usr/src/lib/libresolv2/Makefile +++ b/usr/src/lib/libresolv2/Makefile @@ -19,21 +19,25 @@ # CDDL HEADER END # # -# Copyright 2010 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # include ../../Makefile.master include ../Makefile.lib -MANIFEST= client.xml +MANIFEST= client.xml install.xml MANIFESTDIR= $(ROOT)/lib/svc/manifest/network/dns ROOTMANIFEST= $(MANIFEST:%=$(MANIFESTDIR)/%) $(ROOTMANIFEST) := FILEMODE = 444 +SVCMETHOD= dns-install +SVCMETHODDIR= $(ROOT)/lib/svc/method +ROOTSVCMETHOD= $(SVCMETHOD:%=$(SVCMETHODDIR)/%) + +$(ROOTSVCMETHOD) := FILEMODE = 0555 + CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk) SUBDIRS= include $(MACH) @@ -59,7 +63,7 @@ GREP= grep all clean clobber lint: $(SUBDIRS) -install: $(SUBDIRS) $(ROOTMANIFEST) +install: $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCMETHOD) $(ROOTMANIFEST): $(MANIFESTDIR) @@ -68,6 +72,13 @@ $(MANIFESTDIR): $(MANIFESTDIR)/%: % $(INS.file) +$(ROOTSVCMETHOD): $(SVCMETHODDIR) + +$(SVCMETHODDIR): + $(INS.dir) + +$(SVCMETHODDIR)/%: % + $(INS.file) # install rule for install_h target $(ROOTHDRDIR)/%: % |