#############################################################################
# Makefile for building: libqsimple.a
# Generated by qmake (1.07a) (Qt 3.3.7) on: Tue Sep 18 15:52:40 2007
# Project:  simple.pro
# Template: lib
# Command: $(QMAKE) -spec /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/mkspecs/linux-g++-64 -o Makefile simple.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC  -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG
CXXFLAGS = -pipe -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC  -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I. -I../../../../include -I.moc/release-static-mt/
AR       = ar cqs
RANLIB   = 
MOC      = /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/bin/moc
UIC      = /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/bin/uic -L /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/plugins
QMAKE    = /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/bin/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 = .obj/release-static-mt/

####### Files

HEADERS = qsimpleinputcontext.h \
		qsimpleinputcontextplugin.h
SOURCES = qsimpleinputcontext.cpp \
		qsimpleinputcontextplugin.cpp \
		composetable.cpp
OBJECTS = .obj/release-static-mt/qsimpleinputcontext.o \
		.obj/release-static-mt/qsimpleinputcontextplugin.o \
		.obj/release-static-mt/composetable.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = .moc/release-static-mt/moc_qsimpleinputcontext.cpp \
		.moc/release-static-mt/moc_qsimpleinputcontextplugin.cpp
OBJMOC = .obj/release-static-mt/moc_qsimpleinputcontext.o \
		.obj/release-static-mt/moc_qsimpleinputcontextplugin.o
DIST	   = simple.pro
QMAKE_TARGET = qsimple
DESTDIR  = ../../../inputmethods/
TARGET   = libqsimple.a
TARGETD   = libqsimple.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 ../../../inputmethods/$(TARGET) 

staticlib: ../../../inputmethods/$(TARGET)

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


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

$(MOC): 
	( cd /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/src/moc && $(MAKE) )

Makefile: simple.pro ../../../../.qmake.cache /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/mkspecs/linux-g++-64/qmake.conf ../../../../lib/libqt-mt.prl
	$(QMAKE) -spec /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/mkspecs/linux-g++-64 -o Makefile simple.pro
qmake: 
	@$(QMAKE) -spec /home/builduser/svn/x86_64-trunk/pkgs/qt/BUILD/qt-x11-free-3.3.7/mkspecs/linux-g++-64 -o Makefile simple.pro

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

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) ../../../inputmethods/$(TARGET) $(TARGET)


FORCE:

####### Compile

.obj/release-static-mt/qsimpleinputcontext.o: qsimpleinputcontext.cpp qsimpleinputcontext.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-static-mt/qsimpleinputcontext.o qsimpleinputcontext.cpp

.obj/release-static-mt/qsimpleinputcontextplugin.o: qsimpleinputcontextplugin.cpp qsimpleinputcontext.h \
		qsimpleinputcontextplugin.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-static-mt/qsimpleinputcontextplugin.o qsimpleinputcontextplugin.cpp

.obj/release-static-mt/composetable.o: composetable.cpp qsimpleinputcontext.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-static-mt/composetable.o composetable.cpp

.obj/release-static-mt/moc_qsimpleinputcontext.o: .moc/release-static-mt/moc_qsimpleinputcontext.cpp  qsimpleinputcontext.h 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-static-mt/moc_qsimpleinputcontext.o .moc/release-static-mt/moc_qsimpleinputcontext.cpp

.obj/release-static-mt/moc_qsimpleinputcontextplugin.o: .moc/release-static-mt/moc_qsimpleinputcontextplugin.cpp  qsimpleinputcontextplugin.h qsimpleinputcontext.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-static-mt/moc_qsimpleinputcontextplugin.o .moc/release-static-mt/moc_qsimpleinputcontextplugin.cpp

.moc/release-static-mt/moc_qsimpleinputcontext.cpp: $(MOC) qsimpleinputcontext.h
	$(MOC) qsimpleinputcontext.h -o .moc/release-static-mt/moc_qsimpleinputcontext.cpp

.moc/release-static-mt/moc_qsimpleinputcontextplugin.cpp: $(MOC) qsimpleinputcontextplugin.h
	$(MOC) qsimpleinputcontextplugin.h -o .moc/release-static-mt/moc_qsimpleinputcontextplugin.cpp

####### Install

install_target: all 
	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/lib64/qt-3.3.7/plugins/inputmethods/" || $(MKDIR) "$(INSTALL_ROOT)/usr/lib64/qt-3.3.7/plugins/inputmethods/"
	-$(INSTALL_FILE) "../../../inputmethods/$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/qt-3.3.7/plugins/inputmethods/$(TARGET)"

uninstall_target: 
	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/qt-3.3.7/plugins/inputmethods/$(TARGET)"
	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/lib64/qt-3.3.7/plugins/inputmethods/"


install: install_target  

uninstall: uninstall_target  

