Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# The contents of this file are subject to the terms of the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Common Development and Distribution License (the "License").
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# You may not use this file except in compliance with the License.
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# or http://www.opensolaris.org/os/licensing.
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# See the License for the specific language governing permissions
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# Use is subject to license terms.
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyFSTYPE= smbfs
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyLIBPROG= testnp
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyROOTFS_PROG= $(LIBPROG)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyinclude ../../Makefile.fstype
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyOBJS= $(LIBPROG).o
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleySRCS= $(LIBPROG).c $(FSLIBSRC)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyLDLIBS += -lsmbfs
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCFLAGS += $(CCVERBOSE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCERRWARN += -_gcc=-Wno-unused-variable
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinC99MODE= $(C99_ENABLE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLOBBERFILES += $(LIBPROG)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# uncomment these for dbx debugging
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#COPTFLAG = -g
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#CTF_FLAGS =
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#CTFCONVERT_O=
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#CTFMERGE_LIB=
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyall: $(ROOTFS_PROG)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyinstall: $(ROOTLIBFSTYPEPROG)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleylint: lint_SRCS
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyclean:
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley $(RM) $(OBJS)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley.KEEP_STATE:
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley