############################################################################# # $Id$ # Makefile for building: src # Generated by qmake (1.07a) (Qt 3.3.8b) on: Fri Aug 27 10:17:07 2010 # 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 -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT CXXFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT LEXFLAGS = YACCFLAGS= -d INCPATH = -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread AR = ar cqs RANLIB = MOC = /usr/share/qt3/bin/moc UIC = /usr/share/qt3/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 = fancylogviewi18n.h \ fancylogviewversion.h \ fancystringfinder.h \ filterdialog.h \ LogFileDisplayer.h \ LogFileWatchdog.h \ LogViewMainWindow.h SOURCES = fancylogview.cpp \ fancylogviewi18n.cpp \ fancylogviewversion.c \ fancystringfinder.cpp \ filterdialog.cpp \ LogFileDisplayer.cpp \ LogFileWatchdog.cpp \ LogViewMainWindow.cpp OBJECTS = fancylogview.o \ fancylogviewi18n.o \ fancylogviewversion.o \ fancystringfinder.o \ filterdialog.o \ LogFileDisplayer.o \ LogFileWatchdog.o \ LogViewMainWindow.o \ filter_setup.o FORMS = ui/filter_setup.ui UICDECLS = ui/filter_setup.h UICIMPLS = ui/filter_setup.cpp SRCMOC = moc_filterdialog.cpp \ moc_LogFileDisplayer.cpp \ moc_LogFileWatchdog.cpp \ moc_LogViewMainWindow.cpp \ ui/moc_filter_setup.cpp OBJMOC = moc_filterdialog.o \ moc_LogFileDisplayer.o \ moc_LogFileWatchdog.o \ moc_LogViewMainWindow.o \ moc_filter_setup.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/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/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: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) yaccclean: lexclean: clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile fancylogview.o: fancylogview.cpp fancylogviewi18n.h \ LogViewMainWindow.h fancylogviewi18n.o: fancylogviewi18n.cpp fancylogviewi18n.h fancylogviewversion.o: fancylogviewversion.c fancylogviewversion.h fancystringfinder.o: fancystringfinder.cpp filterdialog.o: filterdialog.cpp filterdialog.h \ ui_filter_setup.h LogFileDisplayer.o: LogFileDisplayer.cpp LogFileDisplayer.h \ LogFileWatchdog.h \ filterdialog.h \ fancylogviewi18n.h \ ui_filter_setup.h LogFileWatchdog.o: LogFileWatchdog.cpp LogFileWatchdog.h \ fancystringfinder.h \ fancylogviewi18n.h LogViewMainWindow.o: LogViewMainWindow.cpp LogViewMainWindow.h \ LogFileDisplayer.h \ fancylogviewi18n.h \ fancylogviewversion.h ui/filter_setup.h: ui/filter_setup.ui $(UIC) ui/filter_setup.ui -o ui/filter_setup.h ui/filter_setup.cpp: ui/filter_setup.h ui/filter_setup.ui $(UIC) ui/filter_setup.ui -i filter_setup.h -o ui/filter_setup.cpp filter_setup.o: ui/filter_setup.cpp ui/filter_setup.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o filter_setup.o ui/filter_setup.cpp moc_filterdialog.o: moc_filterdialog.cpp filterdialog.h ui_filter_setup.h moc_LogFileDisplayer.o: moc_LogFileDisplayer.cpp LogFileDisplayer.h moc_LogFileWatchdog.o: moc_LogFileWatchdog.cpp LogFileWatchdog.h moc_LogViewMainWindow.o: moc_LogViewMainWindow.cpp LogViewMainWindow.h moc_filter_setup.o: ui/moc_filter_setup.cpp ui/filter_setup.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_filter_setup.o ui/moc_filter_setup.cpp moc_filterdialog.cpp: $(MOC) filterdialog.h $(MOC) filterdialog.h -o moc_filterdialog.cpp moc_LogFileDisplayer.cpp: $(MOC) LogFileDisplayer.h $(MOC) LogFileDisplayer.h -o moc_LogFileDisplayer.cpp moc_LogFileWatchdog.cpp: $(MOC) LogFileWatchdog.h $(MOC) LogFileWatchdog.h -o moc_LogFileWatchdog.cpp moc_LogViewMainWindow.cpp: $(MOC) LogViewMainWindow.h $(MOC) LogViewMainWindow.h -o moc_LogViewMainWindow.cpp ui/moc_filter_setup.cpp: $(MOC) ui/filter_setup.h $(MOC) ui/filter_setup.h -o ui/moc_filter_setup.cpp ####### Install install: uninstall: