1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/AMKNTFS= mkntfs
1N/ANTFSCAT= ntfscat
1N/ANTFSCLONE= ntfsclone
1N/ANTFSCLUSTER= ntfscluster
1N/ANTFSCMP= ntfscmp
1N/ANTFSCP= ntfscp
1N/ANTFSFIX= ntfsfix
1N/ANTFSINFO= ntfsinfo
1N/ANTFSLABEL= ntfslabel
1N/ANTFSLS= ntfsls
1N/ANTFSRESIZE= ntfsresize
1N/ANTFSUNDELETE= ntfsundelete
1N/A
1N/Ainclude ../Makefile.cmd
1N/A
1N/AC99MODE= $(C99_ENABLE)
1N/ACERRWARN += -erroff=E_ATTRIBUTE_PARAM_UNDEFINED
1N/ACERRWARN += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
1N/ACERRWARN += -erroff=E_STRUCT_DERIVED_FROM_FLEX_MBR
1N/A
1N/ACPPFLAGS += -DHAVE_CONFIG_H \
1N/A -I. \
1N/A -I../../lib/libntfs/common/include/ntfs
1N/A
1N/AMKNTFSOBJS= attrdef.o boot.o sd.o mkntfs.o utils.o
1N/ANTFSCATOBJS= ntfscat.o utils.o
1N/ANTFSCLONEOBJS= ntfsclone.o utils.o
1N/ANTFSCLUSTEROBJS=ntfscluster.o cluster.o utils.o
1N/ANTFSCMPOBJS= ntfscmp.o utils.o
1N/ANTFSCPOBJS= ntfscp.o utils.o
1N/ANTFSFIXOBJS= ntfsfix.o utils.o
1N/ANTFSINFOOBJS= ntfsinfo.o utils.o
1N/ANTFSLABELOBJS= ntfslabel.o utils.o
1N/ANTFSLSOBJS= ntfsls.o utils.o
1N/ANTFSRESIZEOBJS= ntfsresize.o utils.o
1N/ANTFSUNDELETEOBJS=ntfsundelete.o utils.o
1N/A
1N/ALDLIBS += ../../lib/libntfs/i386/libntfs.so.10
1N/A
1N/AROOTPROG= $(MKNTFS:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSCAT:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSCLONE:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSCLUSTER:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSCMP:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSCP:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSFIX:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSINFO:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSLABEL:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSLS:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSRESIZE:%=$(ROOTUSRSBIN)/%) \
1N/A $(NTFSUNDELETE:%=$(ROOTUSRSBIN)/%)
1N/A
1N/A.KEEP_STATE:
1N/Aall: $(MKNTFS) $(NTFSCAT) $(NTFSCLONE) $(NTFSCLUSTER) \
1N/A $(NTFSCMP) $(NTFSCP) $(NTFSFIX) $(NTFSINFO) \
1N/A $(NTFSLABEL) $(NTFSLS) $(NTFSRESIZE) $(NTFSUNDELETE)
1N/A
1N/Aall install: THIRDPARTYLICENSE
1N/A
1N/ACLOBBERFILES += THIRDPARTYLICENSE
1N/A
1N/ATHIRDPARTYLICENSE: $(SRC)/common/GPLDISCLAIMER COPYING
1N/A $(RM) $@
1N/A $(CAT) $(SRC)/common/GPLDISCLAIMER COPYING > $@
1N/A
1N/A$(MKNTFS): $(MKNTFSOBJS)
1N/A $(LINK.c) -o $(MKNTFS) $(MKNTFSOBJS) $(LDLIBS) -luuid
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSCAT): $(NTFSCATOBJS)
1N/A $(LINK.c) -o $(NTFSCAT) $(NTFSCATOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSCLONE): $(NTFSCLONEOBJS)
1N/A $(LINK.c) -o $(NTFSCLONE) $(NTFSCLONEOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSCLUSTER): $(NTFSCLUSTEROBJS)
1N/A $(LINK.c) -o $(NTFSCLUSTER) $(NTFSCLUSTEROBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSCMP): $(NTFSCMPOBJS)
1N/A $(LINK.c) -o $(NTFSCMP) $(NTFSCMPOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSCP): $(NTFSCPOBJS)
1N/A $(LINK.c) -o $(NTFSCP) $(NTFSCPOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSFIX): $(NTFSFIXOBJS)
1N/A $(LINK.c) -o $(NTFSFIX) $(NTFSFIXOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSINFO): $(NTFSINFOOBJS)
1N/A $(LINK.c) -o $(NTFSINFO) $(NTFSINFOOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSLABEL): $(NTFSLABELOBJS)
1N/A $(LINK.c) -o $(NTFSLABEL) $(NTFSLABELOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSLS): $(NTFSLSOBJS)
1N/A $(LINK.c) -o $(NTFSLS) $(NTFSLSOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSRESIZE): $(NTFSRESIZEOBJS)
1N/A $(LINK.c) -o $(NTFSRESIZE) $(NTFSRESIZEOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/A$(NTFSUNDELETE): $(NTFSUNDELETEOBJS)
1N/A $(LINK.c) -o $(NTFSUNDELETE) $(NTFSUNDELETEOBJS) $(LDLIBS)
1N/A $(POST_PROCESS)
1N/A
1N/Ainstall: all $(ROOTPROG)
1N/A
1N/Aclean:
1N/A $(RM) $(MKNTFS) $(MKNTFSOBJS) \
1N/A $(NTFSCAT) $(NTFSCATOBJS) \
1N/A $(NTFSCLONE) $(NTFSCLONEOBJS) \
1N/A $(NTFSCLUSTER) $(NTFSCLUSTEROBJS) \
1N/A $(NTFSCMP) $(NTFSCMPOBJS) \
1N/A $(NTFSCP) $(NTFSCPOBJS) \
1N/A $(NTFSFIX) $(NTFSFIXOBJS) \
1N/A $(NTFSINFO) $(NTFSINFOOBJS) \
1N/A $(NTFSLABEL) $(NTFSLABELOBJS) \
1N/A $(NTFSLS) $(NTFSLSOBJS) \
1N/A $(NTFSRESIZE) $(NTFSRESIZEOBJS) \
1N/A $(NTFSUNDELETE) $(NTFSUNDELETEOBJS)
1N/A
1N/A#
1N/A# This open source is exempted from lint
1N/A#
1N/Alint:
1N/A
1N/Ainclude ../Makefile.targ