Makefile revision 6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2e
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../../Makefile.master
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwHDRS= alloc.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cifs.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw codepage.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_cyrillic.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin1.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin2.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin3.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin4.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin5.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_latin6.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_unicode.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw cp_usascii.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw crypt.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ctype.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw doserror.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw hash_table.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lm.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lmdfs.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lmerr.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lmshare.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lmshare_door.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lsalib.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mac_cifs.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mailslot.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mbuf.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mlrpc.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mlsvc.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mlsvc_util.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw msgbuf.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ndr.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw netbios.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw netrauth.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw nmpipes.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ntaccess.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw nterror.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ntifs.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ntlocale.h \
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas smb_sid.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ntstatus.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw oem.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw samlib.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_common_door.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_door_svc.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_fsd.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_fsops.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_i18n.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_idmap.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_incl.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_ioctl.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_kproto.h \
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas smb_kstat.h \
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb smb_ktypes.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_privilege.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_token.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_vops.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_winpipe.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smb_xdr.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbfmt.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbinfo.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw smbtrans.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw string.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw svrapi.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw winioctl.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw winsvc.h \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw wintypes.h
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwNDLHDRS= dssetup.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw eventlog.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw llsrpc.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw lsarpc.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw ndrtypes.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw netdfs.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw netlogon.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw rpcpdu.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw samrpc.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw spoolss.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw srvsvc.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw svcctl.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw winreg.ndl \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTDIR= $(ROOT)/usr/include/smbsrv
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwNDLDIR= $(ROOTDIR)/ndl
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCHECKHDRS= $(HDRS:%.h=%.check)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(ROOTDIR)/%: %
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(INS.file)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(NDLDIR)/%: ndl/%
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(INS.file)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(ROOTDIR) $(NDLDIR):
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(INS.dir)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw.KEEP_STATE:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw.PARALLEL: $(CHECKHDRS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinstall_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwcheck: $(CHECKHDRS)