8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libslp / Makefile
blob77b05be5b8476cea63494cac50cadb4505a299fe
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
28 include $(SRC)/Makefile.master
30 SLP_COMPONENTS= javalib etc
31 SUBDIRS = $(SLP_COMPONENTS) $(MACH)
32 $(BUILD64)SUBDIRS += $(MACH64)
34 # include library definitions
35 include ../Makefile.lib
37 HDRS=clib/slp.h clib/slp-internal.h clib/slp_net_utils.h clib/slp_ami.h
38 ROOTHDRDIR= $(ROOT)/usr/include
39 ROOTHDRS= $(ROOTHDRDIR)/slp.h
41 CHECKHDRS= $(HDRS:%.h=%.check)
43 MSGFILE=libslp.po
45 # install rule for install_h target
46 $(ROOTHDRDIR)/%: clib/%
47 $(INS.file)
49 #install rule
50 $(ROOTDIRS)/%: %
51 $(INS.file)
53 all := TARGET= all
54 clean := TARGET= clean
55 clobber := TARGET= clobber
56 install := TARGET= install
57 lint := TARGET= lint
58 _msg := TARGET= _msg
60 .PARALLEL: $(SUBDIRS)
62 all lint install: install_h .WAIT $(SUBDIRS)
64 clean clobber: $(SUBDIRS)
66 _msg: $(SLP_COMPONENTS) $(MSGDOMAIN)
67 $(RM) $(MSGDOMAIN)/$(MSGFILE)
68 cp clib/$(MSGFILE) $(MSGDOMAIN)
70 # include library targets
71 include ../Makefile.targ
73 install_h: $(ROOTHDRS)
75 check: $(CHECKHDRS)
77 $(SUBDIRS): FRC
78 @cd $@; pwd; $(MAKE) $(TARGET)
80 FRC: