#############################################################################
# Makefile for building: scriptbutton
# Generated by qmake (1.07a) (Qt 3.3.8) on: Tue Aug  7 10:03:46 2007
# Project:  scriptbutton.pro
# Template: app
# Command: $(QMAKE) "QSA_INSTALL_PREFIX=/usr/lib64/qt-3.3" -after  "CONFIG+=xml table sql network" -o Makefile scriptbutton.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 -m64 -mminimal-toc  -DQSA_NO_DLL -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc  -DQSA_NO_DLL -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib64/qt-3.3/mkspecs/default -I. -I../../src/qsa -I../../src/ide -I$(QTDIR)/include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -lqsa -L../../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 = scriptbutton.h \
		widgetwrapper.h
SOURCES = main.cpp \
		scriptbutton.cpp \
		widgetwrapper.cpp
OBJECTS = main.o \
		scriptbutton.o \
		widgetwrapper.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_scriptbutton.cpp \
		moc_widgetwrapper.cpp
OBJMOC = moc_scriptbutton.o \
		moc_widgetwrapper.o
DIST	   = ../../src/qsa/qsa.prf \
		../qsa.prf \
		scriptbutton.pro
QMAKE_TARGET = scriptbutton
DESTDIR  = 
TARGET   = scriptbutton

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: scriptbutton.pro  /usr/lib64/qt-3.3/mkspecs/default/qmake.conf ../../src/qsa/qsa.prf \
		../qsa.prf \
		/usr/lib64/qt-3.3/lib/libqt-mt.prl
	$(QMAKE) "QSA_INSTALL_PREFIX=/usr/lib64/qt-3.3" -after  "CONFIG+=xml table sql network" -o Makefile scriptbutton.pro
qmake: 
	@$(QMAKE) "QSA_INSTALL_PREFIX=/usr/lib64/qt-3.3" -after  "CONFIG+=xml table sql network" -o Makefile scriptbutton.pro

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

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

main.o: main.cpp scriptbutton.h \
		widgetwrapper.h

scriptbutton.o: scriptbutton.cpp scriptbutton.h

widgetwrapper.o: widgetwrapper.cpp widgetwrapper.h

moc_scriptbutton.o: moc_scriptbutton.cpp  scriptbutton.h 

moc_widgetwrapper.o: moc_widgetwrapper.cpp  widgetwrapper.h 

moc_scriptbutton.cpp: $(MOC) scriptbutton.h
	$(MOC) scriptbutton.h -o moc_scriptbutton.cpp

moc_widgetwrapper.cpp: $(MOC) widgetwrapper.h
	$(MOC) widgetwrapper.h -o moc_widgetwrapper.cpp

####### Install

install:  

uninstall:  

