#############################################################################
# Makefile for building: image
# Generated by qmake (1.07a) (Qt 3.3.3) on: Fri Mar 18 15:09:15 2005
# Project:  image.pro
# Template: app
# Command: $(QMAKE) -o Makefile image.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I$(QTDIR)/include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
AR       = ar cqs
RANLIB   = 
MOC      = $(QTDIR)/bin/moc
UIC      = $(QTDIR)/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 = Params.h \
		Proto.h
SOURCES = Affine.c \
		Amplify.c \
		Colorbar.c \
		CSh.c \
		Dilation.c \
		Disk.c \
		Erosion.c \
		Event.c \
		Expand.c \
		Features.c \
		Fft1.c \
		Fft2.c \
		FftFilt.c \
		FftImage.c \
		Gradient.c \
		HardMask.c \
		Hist2Im.c \
		Histgram.c \
		HistImag.c \
		HistPrin.c \
		HistSmth.c \
		Labeling.c \
		Laplacia.c \
		main.cpp \
		Masking.c \
		Median.c \
		OutHist.c \
		Perspect.c \
		Plane.c \
		Range.c \
		Rextract.c \
		RgbYc.c \
		Rotation.c \
		Scale.c \
		ScaleNea.c \
		ScaleNG.c \
		Sextract.c \
		Shift.c \
		ShImage.c \
		Smooth.c \
		SoftMask.c \
		Ssynth.c \
		Synth.c \
		Template.c \
		Thinning.c \
		Thresh.c \
		ThreshC.c \
		TranYsh.c
OBJECTS = Affine.o \
		Amplify.o \
		Colorbar.o \
		CSh.o \
		Dilation.o \
		Disk.o \
		Erosion.o \
		Event.o \
		Expand.o \
		Features.o \
		Fft1.o \
		Fft2.o \
		FftFilt.o \
		FftImage.o \
		Gradient.o \
		HardMask.o \
		Hist2Im.o \
		Histgram.o \
		HistImag.o \
		HistPrin.o \
		HistSmth.o \
		Labeling.o \
		Laplacia.o \
		main.o \
		Masking.o \
		Median.o \
		OutHist.o \
		Perspect.o \
		Plane.o \
		Range.o \
		Rextract.o \
		RgbYc.o \
		Rotation.o \
		Scale.o \
		ScaleNea.o \
		ScaleNG.o \
		Sextract.o \
		Shift.o \
		ShImage.o \
		Smooth.o \
		SoftMask.o \
		Ssynth.o \
		Synth.o \
		Template.o \
		Thinning.o \
		Thresh.o \
		ThreshC.o \
		TranYsh.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = 
OBJMOC = 
DIST	   = image.pro
QMAKE_TARGET = image
DESTDIR  = 
TARGET   = image

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)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)

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

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

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

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

mocclean:

uiclean:

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


####### Sub-libraries

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


FORCE:

####### Compile

Affine.o: Affine.c Params.h

Amplify.o: Amplify.c Params.h

Colorbar.o: Colorbar.c Params.h

CSh.o: CSh.c Params.h

Dilation.o: Dilation.c Params.h

Disk.o: Disk.c Params.h

Erosion.o: Erosion.c Params.h

Event.o: Event.c 

Expand.o: Expand.c Params.h

Features.o: Features.c Params.h

Fft1.o: Fft1.c 

Fft2.o: Fft2.c Params.h

FftFilt.o: FftFilt.c Params.h

FftImage.o: FftImage.c Params.h

Gradient.o: Gradient.c Params.h

HardMask.o: HardMask.c Params.h

Hist2Im.o: Hist2Im.c Params.h

Histgram.o: Histgram.c Params.h

HistImag.o: HistImag.c Params.h

HistPrin.o: HistPrin.c Params.h

HistSmth.o: HistSmth.c Params.h

Labeling.o: Labeling.c Params.h

Laplacia.o: Laplacia.c Params.h

main.o: main.cpp Params.h \
		Proto.h \
		Colorbar.c \
		RgbYc.c \
		CSh.c \
		ShImage.c \
		TranYsh.c \
		Hist2Im.c \
		Histgram.c \
		OutHist.c \
		ThreshC.c \
		HardMask.c \
		SoftMask.c \
		Synth.c \
		Ssynth.c \
		Perspect.c \
		Median.c \
		Scale.c \
		ScaleNG.c \
		ScaleNea.c \
		HistImag.c \
		Rotation.c \
		Shift.c \
		Affine.c \
		Smooth.c \
		Template.c \
		Gradient.c \
		Laplacia.c

Masking.o: Masking.c Params.h

Median.o: Median.c Params.h

OutHist.o: OutHist.c Params.h

Perspect.o: Perspect.c Params.h

Plane.o: Plane.c Params.h

Range.o: Range.c Params.h

Rextract.o: Rextract.c Params.h

RgbYc.o: RgbYc.c Params.h

Rotation.o: Rotation.c Params.h

Scale.o: Scale.c Params.h

ScaleNea.o: ScaleNea.c Params.h

ScaleNG.o: ScaleNG.c Params.h

Sextract.o: Sextract.c Params.h

Shift.o: Shift.c Params.h

ShImage.o: ShImage.c Params.h

Smooth.o: Smooth.c Params.h

SoftMask.o: SoftMask.c Params.h

Ssynth.o: Ssynth.c Params.h

Synth.o: Synth.c Params.h

Template.o: Template.c Params.h

Thinning.o: Thinning.c Params.h

Thresh.o: Thresh.c Params.h

ThreshC.o: ThreshC.c Params.h

TranYsh.o: TranYsh.c Params.h

####### Install

install:  

uninstall:  

