#############################################################################
# Makefile for building: src
# Generated by qmake (1.07a) (Qt 3.3.7) on: Sat Dec  2 14:28:41 2006
# Project:  src.pro
# Template: app
# Command: $(QMAKE) -o Makefile src.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables  -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 -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 = actor.h \
		actorlabel.h \
		actornumber.h \
		app.h \
		arrow.h \
		backgrcircle.h \
		canvasview.h \
		edge.h \
		edgeweight.h \
		graph.h \
		htmlviewer.h \
		matrix.h \
		netlayout.h \
		table.h \
		texteditor.h \
		vertice.h
SOURCES = actor.cpp \
		actorlabel.cpp \
		actornumber.cpp \
		app.cpp \
		arrow.cpp \
		backgrcircle.cpp \
		canvasview.cpp \
		edge.cpp \
		edgeweight.cpp \
		graph.cpp \
		htmlviewer.cpp \
		main.cpp \
		matrix.cpp \
		netlayout.cpp \
		table.cpp \
		texteditor.cpp
OBJECTS = actor.o \
		actorlabel.o \
		actornumber.o \
		app.o \
		arrow.o \
		backgrcircle.o \
		canvasview.o \
		edge.o \
		edgeweight.o \
		graph.o \
		htmlviewer.o \
		main.o \
		matrix.o \
		netlayout.o \
		table.o \
		texteditor.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_app.cpp \
		moc_canvasview.cpp \
		moc_htmlviewer.cpp \
		moc_texteditor.cpp
OBJMOC = moc_app.o \
		moc_canvasview.o \
		moc_htmlviewer.o \
		moc_texteditor.o
DIST	   = src.pro
QMAKE_TARGET = src
DESTDIR  = 
TARGET   = src

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: src.pro  /usr/lib/qt-3.3/mkspecs/default/qmake.conf /usr/lib/qt-3.3/lib/libqt-mt.prl
	$(QMAKE) -o Makefile src.pro
qmake: 
	@$(QMAKE) -o Makefile src.pro

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

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

actor.o: actor.cpp actor.h \
		edge.h \
		actorlabel.h \
		actornumber.h \
		arrow.h

actorlabel.o: actorlabel.cpp actorlabel.h \
		actor.h \
		edge.h \
		actornumber.h \
		arrow.h

actornumber.o: actornumber.cpp actornumber.h \
		actor.h \
		edge.h \
		actorlabel.h \
		arrow.h

app.o: app.cpp app.h \
		images/filesave.xpm \
		images/fileopen.xpm \
		images/filenew.xpm \
		images/snv.xpm \
		canvasview.h \
		actor.h \
		edge.h \
		actornumber.h \
		actorlabel.h \
		edgeweight.h \
		htmlviewer.h \
		texteditor.h \
		matrix.h \
		arrow.h \
		table.h \
		backgrcircle.h \
		netlayout.h \
		graph.h \
		vertice.h

arrow.o: arrow.cpp arrow.h \
		actor.h \
		edge.h \
		actorlabel.h \
		actornumber.h

backgrcircle.o: backgrcircle.cpp backgrcircle.h

canvasview.o: canvasview.cpp canvasview.h \
		app.h \
		actor.h \
		edge.h \
		actorlabel.h \
		actornumber.h \
		arrow.h \
		edgeweight.h \
		htmlviewer.h \
		texteditor.h \
		matrix.h \
		table.h \
		backgrcircle.h \
		netlayout.h \
		graph.h \
		vertice.h

edge.o: edge.cpp edge.h \
		actor.h \
		edgeweight.h \
		actorlabel.h \
		actornumber.h \
		arrow.h

edgeweight.o: edgeweight.cpp edgeweight.h \
		edge.h

graph.o: graph.cpp graph.h \
		vertice.h

htmlviewer.o: htmlviewer.cpp htmlviewer.h

main.o: main.cpp app.h \
		canvasview.h \
		actor.h \
		edge.h \
		actornumber.h \
		actorlabel.h \
		edgeweight.h \
		htmlviewer.h \
		texteditor.h \
		matrix.h \
		arrow.h \
		table.h \
		backgrcircle.h \
		netlayout.h \
		graph.h \
		vertice.h

matrix.o: matrix.cpp matrix.h

netlayout.o: netlayout.cpp netlayout.h \
		matrix.h

table.o: table.cpp 

texteditor.o: texteditor.cpp texteditor.h \
		images/filesave.xpm \
		images/fileopen.xpm \
		images/fileprint.xpm

moc_app.o: moc_app.cpp  app.h canvasview.h \
		actor.h \
		edge.h \
		actornumber.h \
		actorlabel.h \
		edgeweight.h \
		htmlviewer.h \
		texteditor.h \
		matrix.h \
		arrow.h \
		table.h \
		backgrcircle.h \
		netlayout.h \
		graph.h \
		vertice.h

moc_canvasview.o: moc_canvasview.cpp  canvasview.h actor.h \
		edge.h \
		actorlabel.h \
		actornumber.h \
		arrow.h

moc_htmlviewer.o: moc_htmlviewer.cpp  htmlviewer.h 

moc_texteditor.o: moc_texteditor.cpp  texteditor.h 

moc_app.cpp: $(MOC) app.h
	$(MOC) app.h -o moc_app.cpp

moc_canvasview.cpp: $(MOC) canvasview.h
	$(MOC) canvasview.h -o moc_canvasview.cpp

moc_htmlviewer.cpp: $(MOC) htmlviewer.h
	$(MOC) htmlviewer.h -o moc_htmlviewer.cpp

moc_texteditor.cpp: $(MOC) texteditor.h
	$(MOC) texteditor.h -o moc_texteditor.cpp

####### Install

install:  

uninstall:  

