16007Sthurlow# 26007Sthurlow# CDDL HEADER START 36007Sthurlow# 46007Sthurlow# The contents of this file are subject to the terms of the 56007Sthurlow# Common Development and Distribution License (the "License"). 66007Sthurlow# You may not use this file except in compliance with the License. 76007Sthurlow# 86007Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96007Sthurlow# or http://www.opensolaris.org/os/licensing. 106007Sthurlow# See the License for the specific language governing permissions 116007Sthurlow# and limitations under the License. 126007Sthurlow# 136007Sthurlow# When distributing Covered Code, include this CDDL HEADER in each 146007Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156007Sthurlow# If applicable, add the following below this CDDL HEADER, with the 166007Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying 176007Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner] 186007Sthurlow# 196007Sthurlow# CDDL HEADER END 206007Sthurlow# 216007Sthurlow# 22*10023SGordon.Ross@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 236007Sthurlow# Use is subject to license terms. 246007Sthurlow# 25*10023SGordon.Ross@Sun.COM 266007Sthurlow# 276007Sthurlow# lib/libsmbfs/Makefile 286007Sthurlow# 296007Sthurlow 306007Sthurlowinclude $(SRC)/lib/Makefile.lib 316007Sthurlow 32*10023SGordon.Ross@Sun.COMHDRS= smbfs_acl.h smbfs_api.h 33*10023SGordon.Ross@Sun.COMHDRDIR= netsmb 34*10023SGordon.Ross@Sun.COM 35*10023SGordon.Ross@Sun.COMROOTHDRDIR= $(ROOT)/usr/include/netsmb 36*10023SGordon.Ross@Sun.COMROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%) 37*10023SGordon.Ross@Sun.COM 386007Sthurlow# ISA targets 396007SthurlowSUBDIRS = $(MACH) 406007Sthurlow$(BUILD64)SUBDIRS += $(MACH64) 416007Sthurlow 426007Sthurlow# conditional assignments 436007Sthurlowall := TARGET= all 446007Sthurlowinstall := TARGET= install 456007Sthurlowclean := TARGET= clean 466007Sthurlowclobber := TARGET= clobber 476007Sthurlowlint := TARGET= lint 486007Sthurlow 49*10023SGordon.Ross@Sun.COMMSGFILES = `$(GREP) -l gettext smb/*.[ch]` 506007SthurlowPOFILE = libsmbfs.po 516007Sthurlow 526007Sthurlow.KEEP_STATE: 536007Sthurlow 546007Sthurlowall install clean clobber lint: $(SUBDIRS) 556007Sthurlow 56*10023SGordon.Ross@Sun.COM_msg: $(MSGDOMAINPOFILE) 576007Sthurlow 58*10023SGordon.Ross@Sun.COM$(POFILE): pofile_MSGFILES 59*10023SGordon.Ross@Sun.COM 60*10023SGordon.Ross@Sun.COMinstall_h: $(ROOTHDRDIR) $(ROOTHDRS) 616007Sthurlow 62*10023SGordon.Ross@Sun.COMcheck: $(CHECKHDRS) 636007Sthurlow 64*10023SGordon.Ross@Sun.COM$(ROOTHDRDIR)/%: % 65*10023SGordon.Ross@Sun.COM $(INS.file) 666007Sthurlow 67*10023SGordon.Ross@Sun.COM$(ROOTHDRDIR): 68*10023SGordon.Ross@Sun.COM $(INS.dir) 696007Sthurlow 706007Sthurlow$(SUBDIRS): FRC 716007Sthurlow @cd $@; pwd; $(MAKE) $(TARGET) 726007Sthurlow 736007SthurlowFRC: 746007Sthurlow 756007Sthurlowinclude $(SRC)/lib/Makefile.targ 76*10023SGordon.Ross@Sun.COMinclude $(SRC)/Makefile.msg.targ 77