dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libshare / Makefile
blob7bf92e6eb3fdc9275de3162cb83f10c86ac7935c
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
50 .KEEP_STATE:
52 all clean clobber install: $(SUBDIRS)
54 install_h: $(ROOTHDRS)
56 check: $(CHECKHDRS)
58 $(POFILE): $(MSGFILES)
59 $(BUILDPO.msgfiles)
61 $(SUBDIRS): FRC
62 @cd $@; pwd; $(MAKE) $(TARGET)
64 _msg: $(MSGDOMAINPOFILE)
67 FRC:
69 include ../Makefile.targ
70 include ../../Makefile.msg.targ