14bff34e3Sthurlow# 24bff34e3Sthurlow# CDDL HEADER START 34bff34e3Sthurlow# 44bff34e3Sthurlow# The contents of this file are subject to the terms of the 54bff34e3Sthurlow# Common Development and Distribution License (the "License"). 64bff34e3Sthurlow# You may not use this file except in compliance with the License. 74bff34e3Sthurlow# 84bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing. 104bff34e3Sthurlow# See the License for the specific language governing permissions 114bff34e3Sthurlow# and limitations under the License. 124bff34e3Sthurlow# 134bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each 144bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the 164bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying 174bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner] 184bff34e3Sthurlow# 194bff34e3Sthurlow# CDDL HEADER END 204bff34e3Sthurlow# 214bff34e3Sthurlow# 22*613a2f6bSGordon Ross# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 234bff34e3Sthurlow# Use is subject to license terms. 244bff34e3Sthurlow# 25*613a2f6bSGordon Ross 264bff34e3Sthurlow# 274bff34e3Sthurlow# lib/libsmbfs/Makefile 284bff34e3Sthurlow# 294bff34e3Sthurlow 304bff34e3Sthurlowinclude $(SRC)/lib/Makefile.lib 314bff34e3Sthurlow 32*613a2f6bSGordon RossHDRS= smbfs_acl.h smbfs_api.h 33*613a2f6bSGordon RossHDRDIR= netsmb 34*613a2f6bSGordon Ross 35*613a2f6bSGordon RossROOTHDRDIR= $(ROOT)/usr/include/netsmb 36*613a2f6bSGordon RossROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%) 37*613a2f6bSGordon Ross 384bff34e3Sthurlow# ISA targets 394bff34e3SthurlowSUBDIRS = $(MACH) 404bff34e3Sthurlow$(BUILD64)SUBDIRS += $(MACH64) 414bff34e3Sthurlow 424bff34e3Sthurlow# conditional assignments 434bff34e3Sthurlowall := TARGET= all 444bff34e3Sthurlowinstall := TARGET= install 454bff34e3Sthurlowclean := TARGET= clean 464bff34e3Sthurlowclobber := TARGET= clobber 474bff34e3Sthurlowlint := TARGET= lint 484bff34e3Sthurlow 49*613a2f6bSGordon RossMSGFILES = `$(GREP) -l gettext smb/*.[ch]` 504bff34e3SthurlowPOFILE = libsmbfs.po 514bff34e3Sthurlow 524bff34e3Sthurlow.KEEP_STATE: 534bff34e3Sthurlow 544bff34e3Sthurlowall install clean clobber lint: $(SUBDIRS) 554bff34e3Sthurlow 564bff34e3Sthurlow_msg: $(MSGDOMAINPOFILE) 574bff34e3Sthurlow 58*613a2f6bSGordon Ross$(POFILE): pofile_MSGFILES 594bff34e3Sthurlow 60*613a2f6bSGordon Rossinstall_h: $(ROOTHDRDIR) $(ROOTHDRS) 614bff34e3Sthurlow 62*613a2f6bSGordon Rosscheck: $(CHECKHDRS) 63*613a2f6bSGordon Ross 64*613a2f6bSGordon Ross$(ROOTHDRDIR)/%: % 65*613a2f6bSGordon Ross $(INS.file) 66*613a2f6bSGordon Ross 67*613a2f6bSGordon Ross$(ROOTHDRDIR): 68*613a2f6bSGordon Ross $(INS.dir) 694bff34e3Sthurlow 704bff34e3Sthurlow$(SUBDIRS): FRC 714bff34e3Sthurlow @cd $@; pwd; $(MAKE) $(TARGET) 724bff34e3Sthurlow 734bff34e3SthurlowFRC: 744bff34e3Sthurlow 754bff34e3Sthurlowinclude $(SRC)/lib/Makefile.targ 76*613a2f6bSGordon Rossinclude $(SRC)/Makefile.msg.targ 77