############################################################################# # Makefile for building: qpsword # Generated by qmake (1.04a) on: Tue May 11 21:08:56 2004 # Project: qpsword.pro # Template: app # Command: $(QMAKE) -o Makefile qpsword.pro ############################################################################# ####### Compiler, tools and options CC = arm-linux-gcc CXX = arm-linux-g++ LEX = flex YACC = yacc CFLAGS = -pipe $(CFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -DQT_NO_DEBUG CXXFLAGS = -pipe $(CFLAGS_EXTRA) -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QPEDIR)/include -I/usr/include/sword -I$(QTDIR)/include -I/opt/OpieSdk/opie/x86/sdk/mkspecs/qws//linux-arm-g++ LINK = arm-linux-gcc LFLAGS = $(LFLAGS_EXTRA) LIBS = $(SUBLIBS) -Wl,-rpath,./ -Wl,-rpath,$(QPEDIR)/lib -L./ -L$(QPEDIR)/lib -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib $(LIBS_EXTRA) -lqpe -lsword -lstdc++ -lqte 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 PRO = qpsword.pro ####### Output directory OBJECTS_DIR = ./ ####### Files HEADERS = qpsword.h \ qswdisplay.h SOURCES = main.cpp \ qpsword.cpp \ mainfrm.cpp \ moc_mainfrm.cpp \ qswdisplay.cpp OBJECTS = main.o \ qpsword.o \ mainfrm.o \ moc_mainfrm.o \ qswdisplay.o \ about.o FORMS = about.ui UICDECLS = about.h UICIMPLS = about.cpp SRCMOC = moc_qpsword.cpp \ moc_qswdisplay.cpp \ moc_about.cpp OBJMOC = moc_qpsword.o \ moc_qswdisplay.o \ moc_about.o DIST = /space/home/scribe/src/qpsword/qpsword.pro PRO = qpsword.pro QMAKE_TARGET = qpsword DESTDIR = TARGET = qpsword 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: qpsword.pro /opt/OpieSdk/opie/x86/sdk/mkspecs/qws//linux-arm-g++/qmake.conf $(QMAKE) -o Makefile qpsword.pro qmake: @$(QMAKE) -o Makefile qpsword.pro dist: @mkdir -p .tmp/qpsword && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/qpsword/ && ( cd `dirname .tmp/qpsword` && $(TAR) qpsword.tar qpsword && $(GZIP) qpsword.tar ) && $(MOVE) `dirname .tmp/qpsword`/qpsword.tar.gz . && $(DEL_DIR) .tmp/qpsword mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile main.o: main.cpp qpsword.h \ $(QPEDIR)/include/qpe/qpeapplication.h \ mainfrm.h \ qswdisplay.h \ $(QPEDIR)/include/qpe/qpedecoration_qws.h \ $(QPEDIR)/include/qpe/timestring.h \ $(QPEDIR)/include/qpe/windowdecorationinterface.h \ $(QPEDIR)/include/qpe/qcom.h \ $(QPEDIR)/include/qpe/quuid.h qpsword.o: qpsword.cpp qpsword.h \ qswtextview.h \ about.h \ mainfrm.h \ qswdisplay.h mainfrm.o: mainfrm.cpp mainfrm.h \ qpsword.h \ qswdisplay.h moc_mainfrm.o: moc_mainfrm.cpp mainfrm.h qswdisplay.o: qswdisplay.cpp qswdisplay.h \ qpsword.h \ mainfrm.h about.h: about.ui $(UIC) about.ui -o about.h about.cpp: about.h about.ui $(UIC) about.ui -i about.h -o about.cpp about.o: about.cpp about.h moc_qpsword.o: moc_qpsword.cpp qpsword.h mainfrm.h \ qswdisplay.h moc_qswdisplay.o: moc_qswdisplay.cpp qswdisplay.h moc_about.o: moc_about.cpp about.h moc_qpsword.cpp: $(MOC) qpsword.h $(MOC) qpsword.h -o moc_qpsword.cpp moc_qswdisplay.cpp: $(MOC) qswdisplay.h $(MOC) qswdisplay.h -o moc_qswdisplay.cpp moc_about.cpp: $(MOC) about.h $(MOC) about.h -o moc_about.cpp ####### Install install: all uninstall: