Makefile revision da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington#
816e576f77e2c46df3e3d97d65822aa8aded7c4bDavid Lawrence# CDDL HEADER START
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
bc13425bc389e526329bff6164952c4e3841cb70Andreas Gustafsson# The contents of this file are subject to the terms of the
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# Common Development and Distribution License (the "License").
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# You may not use this file except in compliance with the License.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# See the License for the specific language governing permissions
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# and limitations under the License.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# CDDL HEADER END
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson#
77527513f94fe78413221a63fd6d383cec32bcafAndreas Gustafsson#
77527513f94fe78413221a63fd6d383cec32bcafAndreas Gustafsson# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson# Use is subject to license terms.
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafsson#
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafsson# ident "%Z%%M% %I% %E% SMI"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafssoninclude ../../../Makefile.master
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson
72e278abc7c73059de68017eceae7d5138ee98c1Andreas GustafssonHDRS= alloc.h \
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson cifs.h \
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson codepage.h \
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas Gustafsson cp_cyrillic.h \
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas Gustafsson cp_latin1.h \
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas Gustafsson cp_latin2.h \
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas Gustafsson cp_latin3.h \
b976f9c60a09f4a098852d0653ad5df6842557a7Andreas Gustafsson cp_latin4.h \
a1bb4b0e4f71fb2878050905087d279cfa87b786Andreas Gustafsson cp_latin5.h \
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson cp_latin6.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson cp_unicode.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson cp_usascii.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson crypt.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson ctype.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson doserror.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson hash_table.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson lm.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson lmdfs.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson lmerr.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson lmshare.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson lmshare_door.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson lsalib.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson mac_cifs.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson mailslot.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson mbuf.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson mlrpc.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson mlsvc.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson mlsvc_util.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson msgbuf.h \
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson ndr.h \
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson netbios.h \
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson netrauth.h \
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson nmpipes.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson ntaccess.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson nterror.h \
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson ntifs.h \
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson ntlocale.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson ntsid.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson ntstatus.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson oem.h \
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson samlib.h \
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson smb.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_common_door.h \
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson smb_door_svc.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_fsd.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_fsops.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson smb_i18n.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson smb_idmap.h \
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson smb_incl.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_ioctl.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_kproto.h \
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafsson smb_privilege.h \
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafsson smb_secdesc.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_svc_sm.h \
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence smb_token.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_vops.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_winpipe.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smb_xdr.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smbfmt.h \
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence smbinfo.h \
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence smbtrans.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence smbvar.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence string.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence svrapi.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence winioctl.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence winsvc.h \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence wintypes.h
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence
04bdb234571448ed6194e1d4048e6512f2446f1cDavid LawrenceNDLHDRS= dssetup.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence eventlog.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence llsrpc.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence lsarpc.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence ndrtypes.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence netdfs.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence netlogon.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence rpcpdu.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence samrpc.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence spoolss.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence srvsvc.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence svcctl.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence winreg.ndl \
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence
04bdb234571448ed6194e1d4048e6512f2446f1cDavid LawrenceROOTDIR= $(ROOT)/usr/include/smbsrv
04bdb234571448ed6194e1d4048e6512f2446f1cDavid LawrenceNDLDIR= $(ROOTDIR)/ndl
04bdb234571448ed6194e1d4048e6512f2446f1cDavid LawrenceROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid LawrenceCHECKHDRS= $(HDRS:%.h=%.check)
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence$(ROOTDIR)/%: %
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence $(INS.file)
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence$(NDLDIR)/%: ndl/%
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence $(INS.file)
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence$(ROOTDIR) $(NDLDIR):
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence $(INS.dir)
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafsson.KEEP_STATE:
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson
f5eb48652c7ec98514256b5b6e6fd7cbc22b1916Andreas Gustafsson.PARALLEL: $(CHECKHDRS)
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson
021a3183ec1db24e2b9627bdd059a121c56ab886Andreas Gustafssoninstall_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafssoncheck: $(CHECKHDRS)
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson