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# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/ALIBRARY= libntfs.a
1N/AVERS= .10
1N/A
1N/A#
1N/A# All relative to SRCDIR
1N/A#
1N/A
1N/ALIBNTFSDIR= libntfs
1N/A
1N/AOBJECTS= $(LIBNTFSDIR)/attrib.o \
1N/A $(LIBNTFSDIR)/attrlist.o \
1N/A $(LIBNTFSDIR)/bitmap.o \
1N/A $(LIBNTFSDIR)/bootsect.o \
1N/A $(LIBNTFSDIR)/collate.o \
1N/A $(LIBNTFSDIR)/compress.o \
1N/A $(LIBNTFSDIR)/crypto.o \
1N/A $(LIBNTFSDIR)/device.o \
1N/A $(LIBNTFSDIR)/device_io.o \
1N/A $(LIBNTFSDIR)/dir.o \
1N/A $(LIBNTFSDIR)/index.o \
1N/A $(LIBNTFSDIR)/inode.o \
1N/A $(LIBNTFSDIR)/lcnalloc.o \
1N/A $(LIBNTFSDIR)/logfile.o \
1N/A $(LIBNTFSDIR)/logging.o \
1N/A $(LIBNTFSDIR)/mft.o \
1N/A $(LIBNTFSDIR)/misc.o \
1N/A $(LIBNTFSDIR)/mst.o \
1N/A $(LIBNTFSDIR)/runlist.o \
1N/A $(LIBNTFSDIR)/security.o \
1N/A $(LIBNTFSDIR)/unistr.o \
1N/A $(LIBNTFSDIR)/version.o \
1N/A $(LIBNTFSDIR)/volume.o
1N/A
1N/A# include library definitions
1N/Ainclude ../../Makefile.lib
1N/A
1N/ASRCDIR = ../common
1N/A
2N/A# The following objects are unused. Refer to comments in Makefile.master.
2N/AUNUSEDOBJS = $(LIBNTFSDIR)/compat.o \
2N/A $(LIBNTFSDIR)/debug.o \
2N/A $(LIBNTFSDIR)/gnome-vfs-method.o \
2N/A $(LIBNTFSDIR)/gnome-vfs-module.o
2N/AUNUSEDFILES = $(UNUSEDOBJS:%.o=$(SRCDIR)/%.c) \
2N/A $(SRCDIR)/include/ntfs/gnome-vfs-method.h \
2N/A $(SRCDIR)/include/ntfs/gnome-vfs-module.h
2N/APOST_PROCESS_SO += $(ACCESS_UNUSEDFILES)
2N/A
1N/AC99MODE= $(C99_ENABLE)
1N/ACERRWARN += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
1N/ACERRWARN += -erroff=E_STRUCT_DERIVED_FROM_FLEX_MBR
1N/ACERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
1N/ACERRWARN += -erroff=E_LOOP_NOT_ENTERED_AT_TOP
1N/A
1N/ALIBS = $(DYNLIB)
1N/A
1N/ACFLAGS += $(CCVERBOSE)
1N/ACPPFLAGS += -DHAVE_CONFIG_H \
1N/A -DLTVERSION_LIBNTFS=\"10:0:0\" \
1N/A -I$(SRCDIR)/include/ntfs
1N/ADYNFLAGS += $(ZINTERPOSE)
2N/ALDLIBS += -lc
1N/A
1N/A.KEEP_STATE:
1N/A
1N/A#
1N/A# This open source is exempted from lint
1N/A#
1N/Alint:
1N/A
1N/A# include library targets
1N/Ainclude ../../Makefile.targ
1N/A
1N/Apics/$(LIBNTFSDIR)/gnome-vfs-method.o: ../common/$(LIBNTFSDIR)/gnome-vfs-method.c
1N/A $(CC) $(CFLAGS) \
1N/A -I/usr/include/glib-2.0 \
1N/A -I/usr/lib/glib-2.0/include \
1N/A -I/usr/include/gnome-vfs-2.0 \
1N/A -I/usr/include/gnome-vfs-module-2.0 \
1N/A -I/usr/lib/gnome-vfs-2.0/include \
1N/A -I/usr/include/gconf/2 \
1N/A -I/usr/include/orbit-2.0 \
1N/A -I/usr/include/dbus-1.0 \
1N/A -I/usr/lib/dbus-1.0/include \
1N/A -D_PTHREADS -DORBIT2=1 \
1N/A $(CPPFLAGS) -c -o $@ \
1N/A ../common/$(LIBNTFSDIR)/gnome-vfs-method.c
1N/A $(POST_PROCESS_O)
1N/A
1N/Apics/$(LIBNTFSDIR)/gnome-vfs-module.o: ../common/$(LIBNTFSDIR)/gnome-vfs-module.c
1N/A $(CC) $(CFLAGS) \
1N/A -I/usr/include/glib-2.0 \
1N/A -I/usr/lib/glib-2.0/include \
1N/A -I/usr/include/gnome-vfs-2.0 \
1N/A -I/usr/include/gnome-vfs-module-2.0 \
1N/A -I/usr/lib/gnome-vfs-2.0/include \
1N/A -I/usr/include/gconf/2 \
1N/A -I/usr/include/orbit-2.0 \
1N/A -I/usr/include/dbus-1.0 \
1N/A -I/usr/lib/dbus-1.0/include \
1N/A -D_PTHREADS -DORBIT2=1 \
1N/A $(CPPFLAGS) -c -o $@ \
1N/A ../common/$(LIBNTFSDIR)/gnome-vfs-module.c
1N/A $(POST_PROCESS_O)