############################################################################# # Makefile for building: install # Generated by qmake (1.05a) (Qt 3.1.2) on: Thu Mar 27 16:37:20 2003 # Project: setup.pro # Template: app # Command: $(QMAKE) -o Makefile setup.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG CXXFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QTDIR)/mkspecs/default -I. -I$(QTDIR)/include LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm 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) -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 = ./ ####### Files HEADERS = setup.h \ language.h SOURCES = main.cpp \ setup.cpp OBJECTS = main.o \ setup.o FORMS = UICDECLS = UICIMPLS = SRCMOC = moc_setup.cpp OBJMOC = moc_setup.o DIST = setup.pro QMAKE_TARGET = install DESTDIR = TARGET = install 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 $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) mocables: $(SRCMOC) $(MOC): ( cd $(QTDIR)/src/moc ; $(MAKE) ) Makefile: setup.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) -o Makefile setup.pro qmake: @$(QMAKE) -o Makefile setup.pro dist: @mkdir -p .tmp/install && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/install/ && ( cd `dirname .tmp/install` && $(TAR) install.tar install && $(GZIP) install.tar ) && $(MOVE) `dirname .tmp/install`/install.tar.gz . && $(DEL_FILE) -r .tmp/install 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 main.o: main.cpp setup.h \ miolo.xpm setup.o: setup.cpp setup.h \ language.h \ logo_miolo.xpm moc_setup.o: moc_setup.cpp setup.h moc_setup.cpp: $(MOC) setup.h $(MOC) setup.h -o moc_setup.cpp ####### Install install: all uninstall: