8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libshare / Makefile
blob1efb3e90ad9ebca19e7f93ca81a8f96e40909a5c
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
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
26 include ../Makefile.lib
28 HDRS = libshare.h libshare_impl.h scfutil.h
29 HDRDIR = common
31 MACHS = $(MACH)
32 $(BUILD64)MACHS += $(MACH64)
34 # Add plugin module directories here. They need to build after the libshare
35 # objects are built.
36 PLUGINS = nfs smb smbfs autofs
37 $(PLUGINS): $(MACHS)
39 SUBDIRS = $(MACHS) $(PLUGINS)
41 MSGFILES= common/libshare.c common/libsharecore.c common/scfutil.c \
42 common/plugin.c common/parser.c common/libshare_zfs.c
43 POFILE= libshare.po
45 all := TARGET = all
46 clean := TARGET = clean
47 clobber := TARGET = clobber
48 install := TARGET = install
49 lint := TARGET = lint
51 .KEEP_STATE:
53 all clean clobber install lint: $(SUBDIRS)
55 install_h: $(ROOTHDRS)
57 check: $(CHECKHDRS)
59 $(POFILE): $(MSGFILES)
60 $(BUILDPO.msgfiles)
62 $(SUBDIRS): FRC
63 @cd $@; pwd; $(MAKE) $(TARGET)
65 _msg: $(MSGDOMAINPOFILE)
68 FRC:
70 include ../Makefile.targ
71 include ../../Makefile.msg.targ