############################################################################# # Makefile for building: sharedbox # Generated by qmake (1.07a) (Qt 3.3.6) on: Fri Sep 1 22:02:59 2006 # Project: sharedbox.pro # Template: app # Command: $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile sharedbox.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED CXXFLAGS = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -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 -Wl,-rpath,/usr/lib/qt/lib LIBS = $(SUBLIBS) -L/usr/lib/qt/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -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) 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-shared-mt/ ####### Files HEADERS = glbox.h \ globjwin.h SOURCES = glbox.cpp \ globjwin.cpp \ main.cpp OBJECTS = .obj/release-shared-mt/glbox.o \ .obj/release-shared-mt/globjwin.o \ .obj/release-shared-mt/main.o FORMS = UICDECLS = UICIMPLS = SRCMOC = .moc/release-shared-mt/moc_glbox.cpp \ .moc/release-shared-mt/moc_globjwin.cpp OBJMOC = .obj/release-shared-mt/moc_glbox.o \ .obj/release-shared-mt/moc_globjwin.o DIST = sharedbox.pro QMAKE_TARGET = sharedbox DESTDIR = TARGET = sharedbox 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 /usr/lib/qt/src/moc && $(MAKE) ) Makefile: sharedbox.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 sharedbox.pro qmake: @$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile sharedbox.pro dist: @mkdir -p .obj/release-shared-mt/sharedbox && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared-mt/sharedbox/ && ( cd `dirname .obj/release-shared-mt/sharedbox` && $(TAR) sharedbox.tar sharedbox && $(GZIP) sharedbox.tar ) && $(MOVE) `dirname .obj/release-shared-mt/sharedbox`/sharedbox.tar.gz . && $(DEL_FILE) -r .obj/release-shared-mt/sharedbox 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 .obj/release-shared-mt/glbox.o: glbox.cpp glbox.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/glbox.o glbox.cpp .obj/release-shared-mt/globjwin.o: globjwin.cpp globjwin.h \ glbox.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/globjwin.o globjwin.cpp .obj/release-shared-mt/main.o: main.cpp globjwin.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/main.o main.cpp .obj/release-shared-mt/moc_glbox.o: .moc/release-shared-mt/moc_glbox.cpp glbox.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/moc_glbox.o .moc/release-shared-mt/moc_glbox.cpp .obj/release-shared-mt/moc_globjwin.o: .moc/release-shared-mt/moc_globjwin.cpp globjwin.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/moc_globjwin.o .moc/release-shared-mt/moc_globjwin.cpp .moc/release-shared-mt/moc_glbox.cpp: $(MOC) glbox.h $(MOC) glbox.h -o .moc/release-shared-mt/moc_glbox.cpp .moc/release-shared-mt/moc_globjwin.cpp: $(MOC) globjwin.h $(MOC) globjwin.h -o .moc/release-shared-mt/moc_globjwin.cpp ####### Install install: uninstall: