Makefile revision 2f172c55ef76964744bc62b4500ece87f3089b4d
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# CDDL HEADER START
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# The contents of this file are subject to the terms of the
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# Common Development and Distribution License (the "License").
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# You may not use this file except in compliance with the License.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# See the License for the specific language governing permissions
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# and limitations under the License.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# When distributing Covered Code, include this CDDL HEADER in each
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# If applicable, add the following below this CDDL HEADER, with the
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# fields enclosed by brackets "[]" replaced with your own identifying
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# information: Portions Copyright [yyyy] [name of copyright owner]
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# CDDL HEADER END
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
107e00c8104649437b9520d0ba298dba659e7cd7JazzyNico# Use is subject to license terms.
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoLIBPROG= $(AUTO) $(MOUNT) $(DFSHARES) $(SHARE) $(UNSHARE)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoMFSTINSTALL= $(SMFMANIFEST:%=$(ROOTSVCSYSTEM)/filesystem/%)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoMETHODINSTALL= $(SMFMETHOD:%=$(ROOTLIBSVCMETHOD)/%)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoOTHERINSTALL= $(MAPINSTALL) $(LINKINSTALL) $(ROOTETCDEFAULTFILES) \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico ns_ldap.o auto_mnttab.o auto_subr.o $(REAL_COMMON)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico autod_parse.o autod_mount.o autod_nfs.o nfs_cast.o \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico autod_autofs.o autod_xdr.o autod_readdir.o autod_lookup.o
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoTYPEOBJS= $(LOCAL) $(COMMON) replica.o nfs_sec.o nfs_resolve.o nfs_subr.o \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico$(TYPEPROG) := LDLIBS += -lrpcsvc -lsocket -lnsl -lsldap -lkstat
bcceefd876f22bacb6aeb206512ddb1539d2ced8apennerCPPFLAGS= -I. -I.. -I../nfs/lib $(CPPFLAGS.master) -D_REENTRANT \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNicoAUTOSRCS= automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico ../nfs/lib/nfs_subr.c $(FSLIBSRC) ../nfs/lib/selfcheck.c \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico { void DUMP_IT(void) = 1000000; } = 2; } = 100099;"
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico cd $(BUILDDIR); $(RM) *.[ch] makefile.malloc_dump ; rpcgen -a `basename $(XFILE)
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico cd $(BUILDDIR); $(MAKE) -f makefile.malloc_dump `basename $@`
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico $(SED) -e 's/pr_msg/gettext/' `$(GREP) -l "pr_msg|gettext" *.[ch]` | \
653120e3d1bee132d5e36aa09ffd9e1835d0567bJazzyNico $(SED) -e '/^# msg/d' -e '/^domain/d' < messages.po > $@