#############################################################################
# Makefile for building: libqmeters.so.0.6.0
# Generated by qmake (1.07a) (Qt 3.3.5) on: Tue May  6 13:47:30 2008
# Project:  qmeters.pro
# Template: lib
# Command: $(QMAKE) -o Makefile qmeters.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -Wall -W -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -fPIC  -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -Wall -W -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -fPIC  -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/include -I$(QTDIR)/include
LINK     = g++
LFLAGS   = -shared -Wl,-soname,libqmeters.so.0
LIBS     = $(SUBLIBS) -L/usr/lib/ -L$(QTDIR)/lib/ -lqt-mt
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 = qaclockindex.h \
		qaclockscale.h \
		qadonutindex.h \
		qalinearscale.h \
		qanalogindex.h \
		qanalogmeter.h \
		qanalogscale.h \
		qapieindex.h \
		qasectindex.h \
		qasectscale.h \
		qmetersutils.h
SOURCES = qaclockindex.cpp \
		qaclockscale.cpp \
		qadonutindex.cpp \
		qalinearscale.cpp \
		qanalogindex.cpp \
		qanalogmeter.cpp \
		qanalogscale.cpp \
		qapieindex.cpp \
		qasectindex.cpp \
		qasectscale.cpp \
		qmetersutils.cpp
OBJECTS = qaclockindex.o \
		qaclockscale.o \
		qadonutindex.o \
		qalinearscale.o \
		qanalogindex.o \
		qanalogmeter.o \
		qanalogscale.o \
		qapieindex.o \
		qasectindex.o \
		qasectscale.o \
		qmetersutils.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_qaclockindex.cpp \
		moc_qaclockscale.cpp \
		moc_qadonutindex.cpp \
		moc_qalinearscale.cpp \
		moc_qanalogindex.cpp \
		moc_qanalogmeter.cpp \
		moc_qanalogscale.cpp \
		moc_qapieindex.cpp \
		moc_qasectindex.cpp \
		moc_qasectscale.cpp
OBJMOC = moc_qaclockindex.o \
		moc_qaclockscale.o \
		moc_qadonutindex.o \
		moc_qalinearscale.o \
		moc_qanalogindex.o \
		moc_qanalogmeter.o \
		moc_qanalogscale.o \
		moc_qapieindex.o \
		moc_qasectindex.o \
		moc_qasectscale.o
DIST	   = qmeters.pro
QMAKE_TARGET = qmeters
DESTDIR  = 
TARGET   = libqmeters.so.0.6.0
TARGETA	= libqmeters.a
TARGETD	= libqmeters.so.0.6.0
TARGET0	= libqmeters.so
TARGET1	= libqmeters.so.0
TARGET2	= libqmeters.so.0.6

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) $(SUBLIBS) $(OBJCOMP)  
	-$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) $(OBJCOMP)
	-ln -s $(TARGET) $(TARGET0)
	-ln -s $(TARGET) $(TARGET1)
	-ln -s $(TARGET) $(TARGET2)



staticlib: $(TARGETA)

$(TARGETA):  $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP)
	-$(DEL_FILE) $(TARGETA) 
	$(AR) $(TARGETA) $(OBJECTS) $(OBJMOC)

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

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

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

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

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)
	-$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)


FORCE:

####### Compile

qaclockindex.o: qaclockindex.cpp qanalogscale.h \
		qaclockindex.h \
		qanalogmeter.h \
		qmetersutils.h \
		qanalogindex.h

qaclockscale.o: qaclockscale.cpp qanalogscale.h \
		qaclockscale.h \
		qanalogmeter.h \
		qmetersutils.h \
		qasectscale.h

qadonutindex.o: qadonutindex.cpp qanalogscale.h \
		qasectscale.h \
		qadonutindex.h \
		qanalogmeter.h \
		qmetersutils.h \
		qapieindex.h \
		qanalogindex.h

qalinearscale.o: qalinearscale.cpp qanalogscale.h \
		qalinearscale.h \
		qanalogmeter.h \
		qmetersutils.h

qanalogindex.o: qanalogindex.cpp qanalogscale.h \
		qanalogindex.h \
		qanalogmeter.h \
		qmetersutils.h

qanalogmeter.o: qanalogmeter.cpp qanalogmeter.h \
		qanalogscale.h \
		qanalogindex.h \
		qmetersutils.h

qanalogscale.o: qanalogscale.cpp qanalogscale.h \
		qanalogmeter.h \
		qmetersutils.h

qapieindex.o: qapieindex.cpp qanalogscale.h \
		qapieindex.h \
		qanalogmeter.h \
		qmetersutils.h \
		qanalogindex.h

qasectindex.o: qasectindex.cpp qanalogscale.h \
		qasectscale.h \
		qasectindex.h \
		qanalogmeter.h \
		qmetersutils.h \
		qaclockindex.h \
		qanalogindex.h

qasectscale.o: qasectscale.cpp qanalogscale.h \
		qasectscale.h \
		qanalogmeter.h \
		qmetersutils.h

qmetersutils.o: qmetersutils.cpp qmetersutils.h

moc_qaclockindex.o: moc_qaclockindex.cpp  qaclockindex.h qanalogindex.h \
		qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qaclockscale.o: moc_qaclockscale.cpp  qaclockscale.h qanalogmeter.h \
		qasectscale.h \
		qmetersutils.h \
		qanalogscale.h

moc_qadonutindex.o: moc_qadonutindex.cpp  qadonutindex.h qapieindex.h \
		qanalogindex.h \
		qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qalinearscale.o: moc_qalinearscale.cpp  qalinearscale.h qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qanalogindex.o: moc_qanalogindex.cpp  qanalogindex.h qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qanalogmeter.o: moc_qanalogmeter.cpp  qanalogmeter.h qmetersutils.h

moc_qanalogscale.o: moc_qanalogscale.cpp  qanalogscale.h qanalogmeter.h \
		qmetersutils.h

moc_qapieindex.o: moc_qapieindex.cpp  qapieindex.h qanalogindex.h \
		qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qasectindex.o: moc_qasectindex.cpp  qasectindex.h qaclockindex.h \
		qanalogindex.h \
		qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qasectscale.o: moc_qasectscale.cpp  qasectscale.h qanalogmeter.h \
		qanalogscale.h \
		qmetersutils.h

moc_qaclockindex.cpp: $(MOC) qaclockindex.h
	$(MOC) qaclockindex.h -o moc_qaclockindex.cpp

moc_qaclockscale.cpp: $(MOC) qaclockscale.h
	$(MOC) qaclockscale.h -o moc_qaclockscale.cpp

moc_qadonutindex.cpp: $(MOC) qadonutindex.h
	$(MOC) qadonutindex.h -o moc_qadonutindex.cpp

moc_qalinearscale.cpp: $(MOC) qalinearscale.h
	$(MOC) qalinearscale.h -o moc_qalinearscale.cpp

moc_qanalogindex.cpp: $(MOC) qanalogindex.h
	$(MOC) qanalogindex.h -o moc_qanalogindex.cpp

moc_qanalogmeter.cpp: $(MOC) qanalogmeter.h
	$(MOC) qanalogmeter.h -o moc_qanalogmeter.cpp

moc_qanalogscale.cpp: $(MOC) qanalogscale.h
	$(MOC) qanalogscale.h -o moc_qanalogscale.cpp

moc_qapieindex.cpp: $(MOC) qapieindex.h
	$(MOC) qapieindex.h -o moc_qapieindex.cpp

moc_qasectindex.cpp: $(MOC) qasectindex.h
	$(MOC) qasectindex.h -o moc_qasectindex.cpp

moc_qasectscale.cpp: $(MOC) qasectscale.h
	$(MOC) qasectscale.h -o moc_qasectscale.cpp

####### Install

install_library: all 
	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/lib/" || $(MKDIR) "$(INSTALL_ROOT)/usr/lib/"
	-$(INSTALL_FILE) "libqmeters.so.0.6.0" "$(INSTALL_ROOT)/usr/lib/"
	-strip "$(INSTALL_ROOT)/usr/lib/libqmeters.so.0.6.0"


uninstall_library: 
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/lib/libqmeters.so.0.6.0"
	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/lib/"


install_headers: all 
	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/include/qmeters/" || $(MKDIR) "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qaclockindex.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qaclockscale.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qadonutindex.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qalinearscale.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qanalogindex.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qanalogmeter.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qanalogscale.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qapieindex.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qasectindex.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qasectscale.h" "$(INSTALL_ROOT)/usr/include/qmeters/"
	-$(INSTALL_FILE) "qmetersutils.h" "$(INSTALL_ROOT)/usr/include/qmeters/"


uninstall_headers: 
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qaclockindex.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qaclockscale.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qadonutindex.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qalinearscale.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qanalogindex.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qanalogmeter.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qanalogscale.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qapieindex.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qasectindex.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qasectscale.h"
	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/include/qmeters/qmetersutils.h"
	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/include/qmeters/"


install: install_library install_headers  

uninstall: uninstall_library uninstall_headers  

