diff -r 000000000000 -r 920e6ed5889b Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun Jan 30 12:59:10 2005 +0000 @@ -0,0 +1,737 @@ +############################################################################# +# Makefile for building: vym +# Generated by qmake (1.07a) (Qt 3.3.1) on: Tue Jan 4 10:40:21 2005 +# Project: vym.pro +# Template: app +# Command: $(QMAKE) -o Makefile vym.pro +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +LEX = flex +YACC = yacc +CFLAGS = -pipe -O2 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT +CXXFLAGS = -pipe -O2 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT +LEXFLAGS = +YACCFLAGS= -d +INCPATH = -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I/usr/include -I$(QTDIR)/include +LINK = g++ +LFLAGS = +LIBS = $(SUBLIBS) -L/usr/lib64/ -L$(QTDIR)/lib64/ -L/usr/X11R6/lib64/ -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) +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 = branchobj.h \ + exports.h \ + findwindow.h \ + flagobj.h \ + flagrowobj.h \ + floatimageobj.h \ + floatobj.h \ + frameobj.h \ + headingobj.h \ + imageobj.h \ + linkablemapobj.h \ + mainwindow.h \ + mapcenterobj.h \ + mapeditor.h \ + mapobj.h \ + misc.h \ + noteobj.h \ + ornamentedobj.h \ + process.h \ + selection.h \ + texteditor.h \ + version.h \ + xml.h \ + settings.h \ + options.h +SOURCES = branchobj.cpp \ + exports.cpp \ + findwindow.cpp \ + flagobj.cpp \ + flagrowobj.cpp \ + floatimageobj.cpp \ + floatobj.cpp \ + frameobj.cpp \ + headingobj.cpp \ + imageobj.cpp \ + linkablemapobj.cpp \ + main.cpp \ + mainwindow.cpp \ + mapcenterobj.cpp \ + mapeditor.cpp \ + mapobj.cpp \ + misc.cpp \ + noteobj.cpp \ + ornamentedobj.cpp \ + process.cpp \ + selection.cpp \ + texteditor.cpp \ + xml.cpp \ + settings.cpp \ + options.cpp +OBJECTS = branchobj.o \ + exports.o \ + findwindow.o \ + flagobj.o \ + flagrowobj.o \ + floatimageobj.o \ + floatobj.o \ + frameobj.o \ + headingobj.o \ + imageobj.o \ + linkablemapobj.o \ + main.o \ + mainwindow.o \ + mapcenterobj.o \ + mapeditor.o \ + mapobj.o \ + misc.o \ + noteobj.o \ + ornamentedobj.o \ + process.o \ + selection.o \ + texteditor.o \ + xml.o \ + settings.o \ + options.o \ + exporthtmldialog.o \ + exportxhtmldialog.o \ + showtextdialog.o \ + extrainfodialog.o +FORMS = exporthtmldialog.ui \ + exportxhtmldialog.ui \ + showtextdialog.ui \ + extrainfodialog.ui +UICDECLS = exporthtmldialog.h \ + exportxhtmldialog.h \ + showtextdialog.h \ + extrainfodialog.h +UICIMPLS = exporthtmldialog.cpp \ + exportxhtmldialog.cpp \ + showtextdialog.cpp \ + extrainfodialog.cpp +SRCMOC = moc_findwindow.cpp \ + moc_linkablemapobj.cpp \ + moc_mainwindow.cpp \ + moc_mapeditor.cpp \ + moc_ornamentedobj.cpp \ + moc_process.cpp \ + moc_texteditor.cpp \ + moc_exporthtmldialog.cpp \ + moc_exportxhtmldialog.cpp \ + moc_showtextdialog.cpp \ + moc_extrainfodialog.cpp +OBJMOC = moc_findwindow.o \ + moc_linkablemapobj.o \ + moc_mainwindow.o \ + moc_mapeditor.o \ + moc_ornamentedobj.o \ + moc_process.o \ + moc_texteditor.o \ + moc_exporthtmldialog.o \ + moc_exportxhtmldialog.o \ + moc_showtextdialog.o \ + moc_extrainfodialog.o +DIST = vym.pro +QMAKE_TARGET = vym +DESTDIR = +TARGET = vym + +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: vym.pro /usr/lib/qt3/mkspecs/linux-g++/qmake.conf /usr/lib/qt3/lib64/libqt-mt.prl + $(QMAKE) -o Makefile vym.pro +qmake: + @$(QMAKE) -o Makefile vym.pro + +dist: + @mkdir -p .tmp/vym && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/vym/ && $(COPY_FILE) --parents vym_de.ts .tmp/vym/ && $(COPY_FILE) --parents exporthtmldialog.ui.h exportxhtmldialog.ui.h showtextdialog.ui.h extrainfodialog.ui.h .tmp/vym/ && ( cd `dirname .tmp/vym` && $(TAR) vym.tar vym && $(GZIP) vym.tar ) && $(MOVE) `dirname .tmp/vym`/vym.tar.gz . && $(DEL_FILE) -r .tmp/vym + +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 + +branchobj.o: branchobj.cpp branchobj.h \ + texteditor.h \ + mapeditor.h \ + mainwindow.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + version.h \ + xml.h \ + findwindow.h + +exports.o: exports.cpp exports.h \ + linkablemapobj.h \ + mapcenterobj.h \ + branchobj.h \ + version.h \ + floatimageobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +findwindow.o: findwindow.cpp findwindow.h + +flagobj.o: flagobj.cpp flagobj.h \ + mapobj.h \ + imageobj.h \ + misc.h + +flagrowobj.o: flagrowobj.cpp flagrowobj.h \ + mapobj.h \ + flagobj.h \ + misc.h \ + imageobj.h + +floatimageobj.o: floatimageobj.cpp floatimageobj.h \ + branchobj.h \ + floatobj.h \ + linkablemapobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h \ + ornamentedobj.h + +floatobj.o: floatobj.cpp floatobj.h \ + linkablemapobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +frameobj.o: frameobj.cpp frameobj.h \ + mapobj.h \ + misc.h + +headingobj.o: headingobj.cpp headingobj.h \ + mapobj.h \ + misc.h + +imageobj.o: imageobj.cpp imageobj.h \ + mapobj.h \ + misc.h + +linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \ + branchobj.h \ + mapeditor.h \ + version.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h \ + floatimageobj.h \ + ornamentedobj.h \ + floatobj.h \ + mapcenterobj.h + +main.o: main.cpp settings.h \ + options.h \ + mainwindow.h \ + icons/vym-48x48.xpm \ + icons/vym-editor.xpm \ + flagrowobj.h \ + misc.h \ + xml.h \ + texteditor.h \ + mapeditor.h \ + findwindow.h \ + mapcenterobj.h \ + branchobj.h \ + version.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + mapobj.h \ + flagobj.h \ + imageobj.h + +mainwindow.o: mainwindow.cpp mainwindow.h \ + version.h \ + icons/filenew.xpm \ + icons/fileopen.xpm \ + icons/filesave.xpm \ + icons/fileprint.xpm \ + icons/editundo.xpm \ + icons/editcopy.xpm \ + icons/editcut.xpm \ + icons/editpaste.xpm \ + icons/editmoveup.xpm \ + icons/editmovedown.xpm \ + icons/formatcoloritem.xpm \ + icons/formatcolorbranch.xpm \ + icons/formatcolorpicker.xpm \ + icons/viewzoomreset.xpm \ + icons/viewzoomin.xpm \ + icons/viewzoomout.xpm \ + icons/vym-48x48.xpm \ + icons/flag-note.xpm \ + icons/flag-url.xpm \ + icons/flag-vymlink.xpm \ + icons/flag-scrolled-right.xpm \ + flagrowobj.h \ + texteditor.h \ + mapeditor.h \ + exporthtmldialog.h \ + exportxhtmldialog.h \ + showtextdialog.h \ + process.h \ + settings.h \ + options.h \ + xml.h \ + findwindow.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \ + floatimageobj.h \ + mapeditor.h \ + branchobj.h \ + version.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +mapeditor.o: mapeditor.cpp mapeditor.h \ + version.h \ + xml.h \ + texteditor.h \ + linkablemapobj.h \ + exports.h \ + misc.h \ + mainwindow.h \ + extrainfodialog.h \ + settings.h \ + icons/flag-note.xpm \ + icons/flag-url.xpm \ + icons/flag-vymlink.xpm \ + icons/flag-scrolled-right.xpm \ + icons/flag-tmpUnscrolled-right.xpm \ + icons/flag-questionmark.xpm \ + icons/flag-exclamationmark.xpm \ + icons/flag-hook-green.xpm \ + icons/flag-cross-red.xpm \ + icons/flag-stopsign.xpm \ + icons/flag-smiley-good.xpm \ + icons/flag-smiley-sad.xpm \ + icons/flag-clock.xpm \ + icons/flag-lamp.xpm \ + icons/flag-arrow-up.xpm \ + icons/flag-arrow-down.xpm \ + icons/flag-thumb-up.xpm \ + icons/flag-thumb-down.xpm \ + icons/flag-heart.xpm \ + icons/flag-flash.xpm \ + icons/flag-lifebelt.xpm \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + flagobj.h \ + imageobj.h \ + findwindow.h + +mapobj.o: mapobj.cpp mapobj.h \ + misc.h + +misc.o: misc.cpp misc.h + +noteobj.o: noteobj.cpp noteobj.h \ + misc.h + +ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \ + texteditor.h \ + mapeditor.h \ + linkablemapobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + branchobj.h \ + version.h \ + floatimageobj.h \ + floatobj.h + +process.o: process.cpp process.h + +selection.o: selection.cpp selection.h \ + linkablemapobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +texteditor.o: texteditor.cpp texteditor.h \ + icons/fileopen.xpm \ + icons/filesave.xpm \ + icons/fileprint.xpm \ + icons/editundo.xpm \ + icons/editredo.xpm \ + icons/editcopy.xpm \ + icons/editcut.xpm \ + icons/editpaste.xpm \ + icons/edittrash.xpm \ + icons/formatfixedfont.xpm \ + icons/formattextbold.xpm \ + icons/formattextitalic.xpm \ + icons/formattextunder.xpm \ + icons/formattextleft.xpm \ + icons/formattextcenter.xpm \ + icons/formattextright.xpm \ + icons/formattextjustify.xpm + +xml.o: xml.cpp xml.h \ + misc.h \ + settings.h \ + version.h \ + mapcenterobj.h \ + mapeditor.h \ + branchobj.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + flagobj.h \ + imageobj.h + +settings.o: settings.cpp settings.h \ + misc.h + +options.o: options.cpp options.h + +exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h + $(UIC) exporthtmldialog.ui -o exporthtmldialog.h + +exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h + $(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp + +exportxhtmldialog.h: exportxhtmldialog.ui process.h \ + showtextdialog.h + $(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h + +exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \ + showtextdialog.h + $(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp + +showtextdialog.h: showtextdialog.ui + $(UIC) showtextdialog.ui -o showtextdialog.h + +showtextdialog.cpp: showtextdialog.h showtextdialog.ui + $(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp + +extrainfodialog.h: extrainfodialog.ui + $(UIC) extrainfodialog.ui -o extrainfodialog.h + +extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui + $(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp + +exporthtmldialog.o: exporthtmldialog.cpp settings.h \ + misc.h \ + icons/flag-url.xpm \ + exporthtmldialog.ui.h \ + exporthtmldialog.h + +exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \ + icons/flag-url.xpm \ + exportxhtmldialog.ui.h \ + exportxhtmldialog.h + +showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \ + showtextdialog.h + +extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \ + extrainfodialog.h + +moc_findwindow.o: moc_findwindow.cpp findwindow.h + +moc_linkablemapobj.o: moc_linkablemapobj.cpp linkablemapobj.h frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +moc_mainwindow.o: moc_mainwindow.cpp mainwindow.h xml.h \ + texteditor.h \ + mapeditor.h \ + findwindow.h \ + mapcenterobj.h \ + branchobj.h \ + version.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +moc_mapeditor.o: moc_mapeditor.cpp mapeditor.h mapcenterobj.h \ + misc.h \ + branchobj.h \ + version.h \ + floatimageobj.h \ + linkablemapobj.h \ + ornamentedobj.h \ + floatobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + flagobj.h \ + imageobj.h + +moc_ornamentedobj.o: moc_ornamentedobj.cpp ornamentedobj.h linkablemapobj.h \ + frameobj.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + mapobj.h \ + misc.h \ + flagobj.h \ + imageobj.h + +moc_process.o: moc_process.cpp process.h + +moc_texteditor.o: moc_texteditor.cpp texteditor.h + +moc_exporthtmldialog.o: moc_exporthtmldialog.cpp exporthtmldialog.h showtextdialog.h + +moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp exportxhtmldialog.h process.h \ + showtextdialog.h + +moc_showtextdialog.o: moc_showtextdialog.cpp showtextdialog.h + +moc_extrainfodialog.o: moc_extrainfodialog.cpp extrainfodialog.h + +moc_findwindow.cpp: $(MOC) findwindow.h + $(MOC) findwindow.h -o moc_findwindow.cpp + +moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h + $(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp + +moc_mainwindow.cpp: $(MOC) mainwindow.h + $(MOC) mainwindow.h -o moc_mainwindow.cpp + +moc_mapeditor.cpp: $(MOC) mapeditor.h + $(MOC) mapeditor.h -o moc_mapeditor.cpp + +moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h + $(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp + +moc_process.cpp: $(MOC) process.h + $(MOC) process.h -o moc_process.cpp + +moc_texteditor.cpp: $(MOC) texteditor.h + $(MOC) texteditor.h -o moc_texteditor.cpp + +moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h + $(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp + +moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h + $(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp + +moc_showtextdialog.cpp: $(MOC) showtextdialog.h + $(MOC) showtextdialog.h -o moc_showtextdialog.cpp + +moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h + $(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp + +####### Install + +install_target: all + @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/" + -$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" + +uninstall_target: + -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" + -$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/" + + +install_support: all + @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/" + -$(INSTALL_DIR) "styles" "$(INSTALL_ROOT)/usr/share/vym/" + -$(INSTALL_DIR) "scripts" "$(INSTALL_ROOT)/usr/share/vym/" + -$(INSTALL_DIR) "icons" "$(INSTALL_ROOT)/usr/share/vym/" + + +uninstall_support: + -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/styles" + -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/scripts" + -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/icons" + -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/" + + +install_demo: all + @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/" + -$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/" + + +uninstall_demo: + -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos" + -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/" + + +install: install_target install_support install_demo + +uninstall: uninstall_target uninstall_support uninstall_demo +