Home | History | Annotate | Download | only in svc
      1     0  stevel #
      2     0  stevel # CDDL HEADER START
      3     0  stevel #
      4     0  stevel # The contents of this file are subject to the terms of the
      5  8823  Truong # Common Development and Distribution License (the "License").
      6  8823  Truong # You may not use this file except in compliance with the License.
      7     0  stevel #
      8     0  stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9     0  stevel # or http://www.opensolaris.org/os/licensing.
     10     0  stevel # See the License for the specific language governing permissions
     11     0  stevel # and limitations under the License.
     12     0  stevel #
     13     0  stevel # When distributing Covered Code, include this CDDL HEADER in each
     14     0  stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15     0  stevel # If applicable, add the following below this CDDL HEADER, with the
     16     0  stevel # fields enclosed by brackets "[]" replaced with your own identifying
     17     0  stevel # information: Portions Copyright [yyyy] [name of copyright owner]
     18     0  stevel #
     19     0  stevel # CDDL HEADER END
     20     0  stevel #
     21     0  stevel #
     22  8823  Truong # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     23     0  stevel # Use is subject to license terms.
     24     0  stevel #
     25     0  stevel 
     26     0  stevel include ../Makefile.cmd
     27     0  stevel 
     28  8823  Truong SUBDIR_CMD=	lsvcrun mfstscan prophist servinfo svcadm svccfg svcprop svcs
     29     0  stevel SUBDIR_DAEMON=	configd startd
     30     0  stevel SUBDIR_REPO=	milestone profile seed
     31     0  stevel SUBDIR_MISC=	shell
     32     0  stevel SUBDIRS=	$(SUBDIR_CMD) $(SUBDIR_DAEMON) $(SUBDIR_REPO) $(SUBDIR_MISC)
     33     0  stevel 
     34     0  stevel all :=		TARGET = all
     35     0  stevel install :=	TARGET = install
     36     0  stevel clean :=	TARGET = clean
     37     0  stevel clobber :=	TARGET = clobber
     38     0  stevel lint :=		TARGET = lint
     39     0  stevel _msg :=		TARGET = _msg
     40     0  stevel 
     41     0  stevel .KEEP_STATE:
     42     0  stevel 
     43     0  stevel #
     44     0  stevel # Definitions for DTDs
     45     0  stevel #
     46     0  stevel DTDS =		dtd/service_bundle.dtd.1
     47     0  stevel XMLDIR =	$(ROOT)/usr/share/lib/xml
     48     0  stevel ROOTDTDS =	$(DTDS:%=$(XMLDIR)/%)
     49     0  stevel 
     50     0  stevel $(ROOTDTDS) :=	FILEMODE = 444
     51     0  stevel 
     52     0  stevel #
     53     0  stevel # Definitions for class action scripts
     54     0  stevel #
     55     0  stevel 
     56     0  stevel CLASSACTIONS = i.manifest r.manifest
     57     0  stevel ROOTCLASSACTIONS = $(CLASSACTIONS:%=$(ROOT)/usr/sadm/install/scripts/%)
     58     0  stevel 
     59     0  stevel install: $(ROOTDTDS) $(ROOTCLASSACTIONS)
     60     0  stevel 
     61     0  stevel all install lint clean clobber: $(SUBDIRS)
     62     0  stevel 
     63     0  stevel _msg: $(SUBDIR_CMD) startd
     64     0  stevel 
     65     0  stevel seed: svccfg configd
     66     0  stevel 
     67     0  stevel $(SUBDIRS): FRC
     68     0  stevel 	@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
     69     0  stevel 
     70     0  stevel $(XMLDIR)/%: %
     71     0  stevel 	$(INS.file)
     72     0  stevel 
     73     0  stevel $(ROOT)/usr/sadm/install/scripts/%: $(SRC)/pkgdefs/common_files/%
     74     0  stevel 	$(INS.file)
     75     0  stevel 
     76     0  stevel FRC:
     77