#############################################################################
# Makefile for building: libntfs.a
# Generated by qmake (1.07a) (Qt 3.3.7) on: Mon Nov 27 00:27:54 2006
# Project:  lib.pro
# Template: lib
# Command: $(QMAKE) -o Makefile lib.pro
#############################################################################

####### Compiler, tools and options

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -g -D_REENTRANT  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
CXXFLAGS = -pipe -Wall -W -g -Wall -fpermissive -D_REENTRANT  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3
AR       = ar cqs
RANLIB   = 
MOC      = /usr/share/qt3/bin/moc
UIC      = /usr/share/qt3/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = ./

####### Files

HEADERS = ntfsvolume.h \
		ntfsstream.h \
		ntfs.h \
		ntfsutil.h \
		ntfsfile.h \
		ntfsattributes.h \
		ntfsattribute.h \
		ntfsrunlist.h \
		ntfsattributelistentry.h \
		ntfsattributedata.h \
		ntfsindexentry.h \
		ntfsindex.h \
		ntfsrecovery.h
SOURCES = ntfsvolume.cpp \
		ntfsstream.cpp \
		ntfsvolumeinfo.cpp \
		ntfsutil.cpp \
		ntfsfile.cpp \
		ntfsattributes.cpp \
		ntfsattribute.cpp \
		ntfsrunlist.cpp \
		ntfsattributelistentry.cpp \
		ntfsattributedata.cpp \
		ntfsindexentry.cpp \
		ntfsindex.cpp \
		ntfsrecovery.cpp
OBJECTS = ntfsvolume.o \
		ntfsstream.o \
		ntfsvolumeinfo.o \
		ntfsutil.o \
		ntfsfile.o \
		ntfsattributes.o \
		ntfsattribute.o \
		ntfsrunlist.o \
		ntfsattributelistentry.o \
		ntfsattributedata.o \
		ntfsindexentry.o \
		ntfsindex.o \
		ntfsrecovery.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_ntfsrecovery.cpp
OBJMOC = moc_ntfsrecovery.o
DIST	   = lib.pro
QMAKE_TARGET = ntfs
DESTDIR  = ../
TARGET   = libntfs.a

first: all
####### Implicit rules

.SUFFIXES: .c .o .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: Makefile ../$(TARGET) 

staticlib: ../$(TARGET)

../$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP) 
	test -d ../ || mkdir -p ../
	-$(DEL_FILE) $(TARGET)
	$(AR) $(TARGET) $(OBJECTS) $(OBJMOC)
	-$(DEL_FILE) ../$(TARGET)
	-$(MOVE) $(TARGET) ../


mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd $(QTDIR)/src/moc && $(MAKE) )

Makefile: lib.pro  /usr/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/lib/libqt-mt.prl
	$(QMAKE) -o Makefile lib.pro
qmake: 
	@$(QMAKE) -o Makefile lib.pro

dist: 
	@mkdir -p .tmp/ntfs && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/ntfs/ && ( cd `dirname .tmp/ntfs` && $(TAR) ntfs.tar ntfs && $(GZIP) ntfs.tar ) && $(MOVE) `dirname .tmp/ntfs`/ntfs.tar.gz . && $(DEL_FILE) -r .tmp/ntfs

mocclean:
	-$(DEL_FILE) $(OBJMOC)
	-$(DEL_FILE) $(SRCMOC)

uiclean:

yaccclean:
lexclean:
clean: mocclean
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) ../$(TARGET) $(TARGET)


FORCE:

####### Compile

ntfsvolume.o: ntfsvolume.cpp ntfsvolume.h \
		ntfsutil.h \
		ntfsfile.h \
		ntfsvolumeinfo.h \
		ntfsstream.h \
		ntfs.h \
		ntfsattributes.h \
		ntfsattribute.h \
		ntfsrunlist.h \
		ntfsattributedata.h

ntfsstream.o: ntfsstream.cpp ntfsvolume.h \
		ntfsstream.h \
		ntfsutil.h \
		ntfsvolumeinfo.h \
		ntfs.h

ntfsvolumeinfo.o: ntfsvolumeinfo.cpp ntfsutil.h \
		ntfsvolumeinfo.h \
		ntfs.h

ntfsutil.o: ntfsutil.cpp ntfs.h \
		ntfsutil.h \
		ntfsstream.h \
		ntfsvolumeinfo.h

ntfsfile.o: ntfsfile.cpp ntfsfile.h \
		ntfsutil.h \
		ntfsrunlist.h \
		ntfs.h \
		ntfsvolumeinfo.h \
		ntfsstream.h \
		ntfsattributes.h \
		ntfsattribute.h \
		ntfsvolume.h \
		ntfsattributedata.h

ntfsattributes.o: ntfsattributes.cpp ntfsattributes.h \
		ntfsutil.h \
		ntfsfile.h \
		ntfsattributelistentry.h \
		ntfs.h \
		ntfsstream.h \
		ntfsattribute.h \
		ntfsvolume.h \
		ntfsvolumeinfo.h \
		ntfsrunlist.h \
		ntfsattributedata.h

ntfsattribute.o: ntfsattribute.cpp ntfsattribute.h \
		ntfsutil.h \
		ntfsvolume.h \
		ntfs.h \
		ntfsstream.h \
		ntfsrunlist.h \
		ntfsattributedata.h \
		ntfsvolumeinfo.h

ntfsrunlist.o: ntfsrunlist.cpp ntfsrunlist.h \
		ntfsutil.h \
		ntfsvolumeinfo.h \
		ntfsvolume.h \
		ntfs.h \
		ntfsstream.h

ntfsattributelistentry.o: ntfsattributelistentry.cpp ntfsattributelistentry.h \
		ntfs.h \
		ntfsstream.h \
		ntfsvolumeinfo.h

ntfsattributedata.o: ntfsattributedata.cpp ntfsattributedata.h \
		ntfsutil.h \
		ntfs.h \
		ntfsstream.h \
		ntfsvolumeinfo.h

ntfsindexentry.o: ntfsindexentry.cpp ntfsindexentry.h \
		ntfsutil.h \
		ntfs.h \
		ntfsstream.h \
		ntfsattributedata.h \
		ntfsvolumeinfo.h

ntfsindex.o: ntfsindex.cpp ntfsindex.h \
		ntfsutil.h \
		ntfs.h \
		ntfsstream.h \
		ntfsfile.h \
		ntfsattribute.h \
		ntfsindexentry.h \
		ntfsvolumeinfo.h \
		ntfsattributes.h \
		ntfsvolume.h \
		ntfsrunlist.h \
		ntfsattributedata.h

ntfsrecovery.o: ntfsrecovery.cpp ntfsrecovery.h \
		ntfsutil.h \
		ntfs.h \
		ntfsvolume.h \
		ntfsstream.h \
		ntfsindex.h \
		ntfsvolumeinfo.h \
		ntfsfile.h \
		ntfsattribute.h \
		ntfsindexentry.h \
		ntfsattributes.h \
		ntfsrunlist.h \
		ntfsattributedata.h

moc_ntfsrecovery.o: moc_ntfsrecovery.cpp  ntfsrecovery.h ntfs.h \
		ntfsvolume.h \
		ntfsstream.h \
		ntfsindex.h \
		ntfsvolumeinfo.h \
		ntfsfile.h \
		ntfsattribute.h \
		ntfsindexentry.h \
		ntfsattributes.h \
		ntfsrunlist.h \
		ntfsattributedata.h

moc_ntfsrecovery.cpp: $(MOC) ntfsrecovery.h
	$(MOC) ntfsrecovery.h -o moc_ntfsrecovery.cpp

####### Install

install:  

uninstall:  

