############################################################################# # Makefile for building: semaphores # Generated by qmake (1.07a) (Qt 3.3.6) on: Fri Sep 1 22:03:00 2006 # Project: semaphores.pro # Template: app # Command: $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile semaphores.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 = SOURCES = main.cpp OBJECTS = .obj/release-shared-mt/main.o FORMS = UICDECLS = UICIMPLS = SRCMOC = .moc/release-shared-mt/main.moc OBJMOC = DIST = semaphores.pro QMAKE_TARGET = semaphores DESTDIR = TARGET = semaphores 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: semaphores.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 semaphores.pro qmake: @$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile semaphores.pro dist: @mkdir -p .obj/release-shared-mt/semaphores && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared-mt/semaphores/ && ( cd `dirname .obj/release-shared-mt/semaphores` && $(TAR) semaphores.tar semaphores && $(GZIP) semaphores.tar ) && $(MOVE) `dirname .obj/release-shared-mt/semaphores`/semaphores.tar.gz . && $(DEL_FILE) -r .obj/release-shared-mt/semaphores mocclean: -$(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/main.o: main.cpp .moc/release-shared-mt/main.moc $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/main.o main.cpp .moc/release-shared-mt/main.moc: $(MOC) main.cpp $(MOC) main.cpp -o .moc/release-shared-mt/main.moc ####### Install install: uninstall: