1 #############################################################################
2 # Makefile for building: vym
3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Sat Feb 19 15:28:50 2005
6 # Command: $(QMAKE) -o Makefile vym.pro
7 #############################################################################
9 ####### Compiler, tools and options
15 CFLAGS = -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
16 CXXFLAGS = -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT
19 INCPATH = -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I/usr/include -I$(QTDIR)/include
22 LIBS = $(SUBLIBS) -L/usr/lib/ -L$(QTDIR)/lib/ -L/usr/X11R6/lib/ -lqt-mt -lXext -lX11 -lm
25 MOC = $(QTDIR)/bin/moc
26 UIC = $(QTDIR)/bin/uic
33 INSTALL_FILE= $(COPY_FILE)
34 INSTALL_DIR = $(COPY_DIR)
39 CHK_DIR_EXISTS= test -d
42 ####### Output directory
48 HEADERS = branchobj.h \
74 SOURCES = branchobj.cpp \
100 OBJECTS = branchobj.o \
127 exportxhtmldialog.o \
130 FORMS = exporthtmldialog.ui \
131 exportxhtmldialog.ui \
134 UICDECLS = exporthtmldialog.h \
135 exportxhtmldialog.h \
138 UICIMPLS = exporthtmldialog.cpp \
139 exportxhtmldialog.cpp \
142 SRCMOC = moc_findwindow.cpp \
143 moc_linkablemapobj.cpp \
146 moc_ornamentedobj.cpp \
149 moc_exporthtmldialog.cpp \
150 moc_exportxhtmldialog.cpp \
151 moc_showtextdialog.cpp \
152 moc_extrainfodialog.cpp
153 OBJMOC = moc_findwindow.o \
154 moc_linkablemapobj.o \
157 moc_ornamentedobj.o \
160 moc_exporthtmldialog.o \
161 moc_exportxhtmldialog.o \
162 moc_showtextdialog.o \
163 moc_extrainfodialog.o
170 ####### Implicit rules
172 .SUFFIXES: .c .o .cpp .cc .cxx .C
175 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
178 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
181 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
184 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
187 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
191 all: Makefile $(TARGET)
193 $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
194 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
197 uicables: $(UICDECLS) $(UICIMPLS)
200 ( cd $(QTDIR)/src/moc && $(MAKE) )
202 Makefile: vym.pro /usr/lib/qt3/mkspecs/linux-g++/qmake.conf /usr/lib/qt3/lib/libqt-mt.prl
203 $(QMAKE) -o Makefile vym.pro
205 @$(QMAKE) -o Makefile vym.pro
208 @mkdir -p .tmp/vym && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/vym/ && $(COPY_FILE) --parents lang/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
211 -$(DEL_FILE) $(OBJMOC)
212 -$(DEL_FILE) $(SRCMOC)
215 -$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
219 clean: mocclean uiclean
220 -$(DEL_FILE) $(OBJECTS)
221 -$(DEL_FILE) *~ core *.core
224 ####### Sub-libraries
227 -$(DEL_FILE) $(TARGET) $(TARGET)
234 branchobj.o: branchobj.cpp branchobj.h \
256 exports.o: exports.cpp exports.h \
274 findwindow.o: findwindow.cpp findwindow.h
276 flagobj.o: flagobj.cpp flagobj.h \
281 flagrowobj.o: flagrowobj.cpp flagrowobj.h \
287 floatimageobj.o: floatimageobj.cpp floatimageobj.h \
302 floatobj.o: floatobj.cpp floatobj.h \
313 frameobj.o: frameobj.cpp frameobj.h \
317 headingobj.o: headingobj.cpp headingobj.h \
321 imageobj.o: imageobj.cpp imageobj.h \
325 linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \
343 linkobj.o: linkobj.cpp linkobj.h \
358 main.o: main.cpp settings.h \
361 icons/vym-48x48.xpm \
362 icons/vym-editor.xpm \
384 mainwindow.o: mainwindow.cpp mainwindow.h \
389 icons/fileprint.xpm \
393 icons/editpaste.xpm \
394 icons/editmoveup.xpm \
395 icons/editmovedown.xpm \
396 icons/formatcoloritem.xpm \
397 icons/formatcolorbranch.xpm \
398 icons/formatcolorpicker.xpm \
399 icons/viewzoomreset.xpm \
400 icons/viewzoomin.xpm \
401 icons/viewzoomout.xpm \
402 icons/modecolor.xpm \
404 icons/vym-48x48.xpm \
405 icons/flag-note.xpm \
407 icons/flag-vymlink.xpm \
408 icons/flag-scrolled-right.xpm \
413 exportxhtmldialog.h \
435 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
453 mapeditor.o: mapeditor.cpp mapeditor.h \
463 icons/flag-note.xpm \
465 icons/flag-vymlink.xpm \
466 icons/flag-scrolled-right.xpm \
467 icons/flag-tmpUnscrolled-right.xpm \
468 icons/flag-questionmark.xpm \
469 icons/flag-exclamationmark.xpm \
470 icons/flag-hook-green.xpm \
471 icons/flag-cross-red.xpm \
472 icons/flag-stopsign.xpm \
473 icons/flag-smiley-good.xpm \
474 icons/flag-smiley-sad.xpm \
475 icons/flag-clock.xpm \
476 icons/flag-lamp.xpm \
477 icons/flag-arrow-up.xpm \
478 icons/flag-arrow-down.xpm \
479 icons/flag-thumb-up.xpm \
480 icons/flag-thumb-down.xpm \
481 icons/flag-heart.xpm \
482 icons/flag-flash.xpm \
483 icons/flag-lifebelt.xpm \
499 mapobj.o: mapobj.cpp mapobj.h \
502 misc.o: misc.cpp misc.h
504 noteobj.o: noteobj.cpp noteobj.h \
507 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
526 process.o: process.cpp process.h
528 selection.o: selection.cpp selection.h \
539 texteditor.o: texteditor.cpp texteditor.h \
542 icons/fileprint.xpm \
547 icons/editpaste.xpm \
548 icons/edittrash.xpm \
549 icons/formatfixedfont.xpm \
550 icons/formattextbold.xpm \
551 icons/formattextitalic.xpm \
552 icons/formattextunder.xpm \
553 icons/formattextleft.xpm \
554 icons/formattextcenter.xpm \
555 icons/formattextright.xpm \
556 icons/formattextjustify.xpm
558 xml.o: xml.cpp xml.h \
578 settings.o: settings.cpp settings.h \
581 options.o: options.cpp options.h
583 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
584 $(UIC) exporthtmldialog.ui -o exporthtmldialog.h
586 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
587 $(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
589 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
591 $(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
593 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
595 $(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
597 showtextdialog.h: showtextdialog.ui
598 $(UIC) showtextdialog.ui -o showtextdialog.h
600 showtextdialog.cpp: showtextdialog.h showtextdialog.ui
601 $(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
603 extrainfodialog.h: extrainfodialog.ui
604 $(UIC) extrainfodialog.ui -o extrainfodialog.h
606 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui
607 $(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
609 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
612 exporthtmldialog.ui.h \
615 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
617 exportxhtmldialog.ui.h \
620 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
623 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
626 moc_findwindow.o: moc_findwindow.cpp findwindow.h
628 moc_linkablemapobj.o: moc_linkablemapobj.cpp linkablemapobj.h frameobj.h \
637 moc_mainwindow.o: moc_mainwindow.cpp mainwindow.h xml.h \
658 moc_mapeditor.o: moc_mapeditor.cpp mapeditor.h mapcenterobj.h \
675 moc_ornamentedobj.o: moc_ornamentedobj.cpp ornamentedobj.h linkablemapobj.h \
685 moc_process.o: moc_process.cpp process.h
687 moc_texteditor.o: moc_texteditor.cpp texteditor.h
689 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp exporthtmldialog.h showtextdialog.h
691 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp exportxhtmldialog.h process.h \
694 moc_showtextdialog.o: moc_showtextdialog.cpp showtextdialog.h
696 moc_extrainfodialog.o: moc_extrainfodialog.cpp extrainfodialog.h
698 moc_findwindow.cpp: $(MOC) findwindow.h
699 $(MOC) findwindow.h -o moc_findwindow.cpp
701 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
702 $(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
704 moc_mainwindow.cpp: $(MOC) mainwindow.h
705 $(MOC) mainwindow.h -o moc_mainwindow.cpp
707 moc_mapeditor.cpp: $(MOC) mapeditor.h
708 $(MOC) mapeditor.h -o moc_mapeditor.cpp
710 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
711 $(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
713 moc_process.cpp: $(MOC) process.h
714 $(MOC) process.h -o moc_process.cpp
716 moc_texteditor.cpp: $(MOC) texteditor.h
717 $(MOC) texteditor.h -o moc_texteditor.cpp
719 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
720 $(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
722 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
723 $(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
725 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
726 $(MOC) showtextdialog.h -o moc_showtextdialog.cpp
728 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
729 $(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
734 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
735 -$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
738 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
739 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
743 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
744 -$(INSTALL_DIR) "styles" "$(INSTALL_ROOT)/usr/share/vym/"
745 -$(INSTALL_DIR) "scripts" "$(INSTALL_ROOT)/usr/share/vym/"
746 -$(INSTALL_DIR) "icons" "$(INSTALL_ROOT)/usr/share/vym/"
750 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/styles"
751 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/scripts"
752 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/icons"
753 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
757 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
758 -$(INSTALL_DIR) "doc/CVS" "$(INSTALL_ROOT)/usr/share/doc/packages/vym"
759 -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/packages/vym"
763 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/CVS"
764 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/vym.pdf"
765 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
769 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
770 -$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
774 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
775 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
778 install: install_target install_support install_doc install_demo
780 uninstall: uninstall_target uninstall_support uninstall_doc uninstall_demo