#############################################################################
# Makefile for building: libqmotifstyle.so
# Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Aug 23 13:29:38 2004
# Project:  motif.pro
# Template: lib
# Command: $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile motif.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -fno-exceptions -w -O2 -march=i486 -mcpu=i686 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
CXXFLAGS = -pipe -fno-exceptions -w -O2 -march=i486 -mcpu=i686 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/
LINK     = g++
LFLAGS   = -fno-exceptions -shared -Wl,-soname,libqmotifstyle.so -Wl,-rpath,/usr/lib/qt/plugins/styles
LIBS     = $(SUBLIBS)  -Wl,-rpath,/usr/lib/qt/lib -L/usr/lib/qt/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
AR       = ar cqs
RANLIB   = 
MOC      = /usr/lib/qt/bin/moc
UIC      = /usr/lib/qt/bin/uic -L /usr/lib/qt/plugins
QMAKE    = /usr/lib/qt/bin/qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
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/

####### Files

HEADERS = ../../../../include/qmotifstyle.h
SOURCES = main.cpp \
		../../../../src/styles/qmotifstyle.cpp
OBJECTS = .obj/main.o \
		.obj/qmotifstyle.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = .moc/release-shared-mt/moc_qmotifstyle.cpp
OBJMOC = .obj/moc_qmotifstyle.o
DIST	   = motif.pro
QMAKE_TARGET = qmotifstyle
DESTDIR  = ../../../styles/
TARGET   = libqmotifstyle.so
TARGETD   = libqmotifstyle.so

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

.SUFFIXES: .c .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  ../../../styles/$(TARGET)

../../../styles/$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) 
	test -d ../../../styles/ || mkdir -p ../../../styles/
	-$(DEL_FILE) $(TARGET)
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
	-$(MOVE) $(TARGET) ../../../styles/



mocables: $(SRCMOC)

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

Makefile: motif.pro ../../../../.qmake.cache /usr/lib/qt/mkspecs/linux-g++/qmake.conf ../../../../lib/libqt-mt.prl
	$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile motif.pro
qmake: 
	@$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile motif.pro

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

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


FORCE:

####### Compile

.obj/main.o: main.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/main.o main.cpp

.obj/qmotifstyle.o: ../../../../src/styles/qmotifstyle.cpp ../../../../src/styles/qmotifstyle.h \
		../../../../include/qcommonstyle.h \
		../../../../include/qstyle.h \
		../../../../include/qobject.h \
		../../../../include/qobjectdefs.h \
		../../../../include/qwindowdefs.h \
		../../../../include/qstring.h \
		../../../../include/qevent.h \
		../../../../include/qnamespace.h \
		../../../../include/qwinexport.h \
		../../../../include/qglobal.h \
		../../../../include/qconfig-minimal.h \
		../../../../include/qconfig-small.h \
		../../../../include/qconfig-medium.h \
		../../../../include/qconfig-large.h \
		../../../../include/qconfig.h \
		../../../../include/qmodules.h \
		../../../../include/qfeatures.h \
		../../../../include/qcstring.h \
		../../../../include/qmemarray.h \
		../../../../include/qgarray.h \
		../../../../include/qshared.h \
		../../../../include/qregion.h \
		../../../../include/qmime.h \
		../../../../include/qpair.h \
		../../../../include/qrect.h \
		../../../../include/qsize.h \
		../../../../include/qpoint.h \
		../../../../include/qmap.h \
		../../../../include/qptrlist.h \
		../../../../include/qdatastream.h \
		../../../../include/qvaluelist.h \
		../../../../include/qiodevice.h \
		../../../../include/qtl.h \
		../../../../include/qtextstream.h \
		../../../../include/qglist.h \
		../../../../include/qptrcollection.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/qmotifstyle.o ../../../../src/styles/qmotifstyle.cpp

.obj/moc_qmotifstyle.o: .moc/release-shared-mt/moc_qmotifstyle.cpp ../../../../include/qmotifstyle.h ../../../../include/qcommonstyle.h \
		../../../../include/qstyle.h \
		../../../../include/qobject.h \
		../../../../include/qobjectdefs.h \
		../../../../include/qwindowdefs.h \
		../../../../include/qstring.h \
		../../../../include/qevent.h \
		../../../../include/qnamespace.h \
		../../../../include/qwinexport.h \
		../../../../include/qglobal.h \
		../../../../include/qconfig-minimal.h \
		../../../../include/qconfig-small.h \
		../../../../include/qconfig-medium.h \
		../../../../include/qconfig-large.h \
		../../../../include/qconfig.h \
		../../../../include/qmodules.h \
		../../../../include/qfeatures.h \
		../../../../include/qcstring.h \
		../../../../include/qmemarray.h \
		../../../../include/qgarray.h \
		../../../../include/qshared.h \
		../../../../include/qregion.h \
		../../../../include/qmime.h \
		../../../../include/qpair.h \
		../../../../include/qrect.h \
		../../../../include/qsize.h \
		../../../../include/qpoint.h \
		../../../../include/qmap.h \
		../../../../include/qptrlist.h \
		../../../../include/qdatastream.h \
		../../../../include/qvaluelist.h \
		../../../../include/qiodevice.h \
		../../../../include/qtl.h \
		../../../../include/qtextstream.h \
		../../../../include/qglist.h \
		../../../../include/qptrcollection.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_qmotifstyle.o .moc/release-shared-mt/moc_qmotifstyle.cpp

.moc/release-shared-mt/moc_qmotifstyle.cpp: $(MOC) ../../../../include/qmotifstyle.h
	$(MOC) ../../../../include/qmotifstyle.h -o .moc/release-shared-mt/moc_qmotifstyle.cpp

####### Install

install_target: 
	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)../../../styles/" || $(MKDIR) "$(INSTALL_ROOT)../../../styles/"
	-$(COPY) "../../../styles/$(TARGET)" "$(INSTALL_ROOT)../../../styles/$(TARGET)"
	-strip --strip-unneeded "$(INSTALL_ROOT)../../../styles/$(TARGET)"

uninstall_target: 
	-$(DEL_FILE) "$(INSTALL_ROOT)../../../styles/$(TARGET)"
	-$(DEL_DIR) "$(INSTALL_ROOT)../../../styles/"


install: all install_target 

uninstall: uninstall_target 

