1 #############################################################################
2 # Makefile for building: vym
3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Mon Jan 31 00:05:28 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 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/vym-48x48.xpm \
403 icons/flag-note.xpm \
405 icons/flag-vymlink.xpm \
406 icons/flag-scrolled-right.xpm \
411 exportxhtmldialog.h \
433 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
451 mapeditor.o: mapeditor.cpp mapeditor.h \
461 icons/flag-note.xpm \
463 icons/flag-vymlink.xpm \
464 icons/flag-scrolled-right.xpm \
465 icons/flag-tmpUnscrolled-right.xpm \
466 icons/flag-questionmark.xpm \
467 icons/flag-exclamationmark.xpm \
468 icons/flag-hook-green.xpm \
469 icons/flag-cross-red.xpm \
470 icons/flag-stopsign.xpm \
471 icons/flag-smiley-good.xpm \
472 icons/flag-smiley-sad.xpm \
473 icons/flag-clock.xpm \
474 icons/flag-lamp.xpm \
475 icons/flag-arrow-up.xpm \
476 icons/flag-arrow-down.xpm \
477 icons/flag-thumb-up.xpm \
478 icons/flag-thumb-down.xpm \
479 icons/flag-heart.xpm \
480 icons/flag-flash.xpm \
481 icons/flag-lifebelt.xpm \
497 mapobj.o: mapobj.cpp mapobj.h \
500 misc.o: misc.cpp misc.h
502 noteobj.o: noteobj.cpp noteobj.h \
505 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
524 process.o: process.cpp process.h
526 selection.o: selection.cpp selection.h \
537 texteditor.o: texteditor.cpp texteditor.h \
540 icons/fileprint.xpm \
545 icons/editpaste.xpm \
546 icons/edittrash.xpm \
547 icons/formatfixedfont.xpm \
548 icons/formattextbold.xpm \
549 icons/formattextitalic.xpm \
550 icons/formattextunder.xpm \
551 icons/formattextleft.xpm \
552 icons/formattextcenter.xpm \
553 icons/formattextright.xpm \
554 icons/formattextjustify.xpm
556 xml.o: xml.cpp xml.h \
576 settings.o: settings.cpp settings.h \
579 options.o: options.cpp options.h
581 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
582 $(UIC) exporthtmldialog.ui -o exporthtmldialog.h
584 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
585 $(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
587 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
589 $(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
591 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
593 $(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
595 showtextdialog.h: showtextdialog.ui
596 $(UIC) showtextdialog.ui -o showtextdialog.h
598 showtextdialog.cpp: showtextdialog.h showtextdialog.ui
599 $(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
601 extrainfodialog.h: extrainfodialog.ui
602 $(UIC) extrainfodialog.ui -o extrainfodialog.h
604 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui
605 $(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
607 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
610 exporthtmldialog.ui.h \
613 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
615 exportxhtmldialog.ui.h \
618 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
621 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
624 moc_findwindow.o: moc_findwindow.cpp findwindow.h
626 moc_linkablemapobj.o: moc_linkablemapobj.cpp linkablemapobj.h frameobj.h \
635 moc_mainwindow.o: moc_mainwindow.cpp mainwindow.h xml.h \
656 moc_mapeditor.o: moc_mapeditor.cpp mapeditor.h mapcenterobj.h \
673 moc_ornamentedobj.o: moc_ornamentedobj.cpp ornamentedobj.h linkablemapobj.h \
683 moc_process.o: moc_process.cpp process.h
685 moc_texteditor.o: moc_texteditor.cpp texteditor.h
687 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp exporthtmldialog.h
689 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp exportxhtmldialog.h
691 moc_showtextdialog.o: moc_showtextdialog.cpp showtextdialog.h
693 moc_extrainfodialog.o: moc_extrainfodialog.cpp extrainfodialog.h
695 moc_findwindow.cpp: $(MOC) findwindow.h
696 $(MOC) findwindow.h -o moc_findwindow.cpp
698 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
699 $(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
701 moc_mainwindow.cpp: $(MOC) mainwindow.h
702 $(MOC) mainwindow.h -o moc_mainwindow.cpp
704 moc_mapeditor.cpp: $(MOC) mapeditor.h
705 $(MOC) mapeditor.h -o moc_mapeditor.cpp
707 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
708 $(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
710 moc_process.cpp: $(MOC) process.h
711 $(MOC) process.h -o moc_process.cpp
713 moc_texteditor.cpp: $(MOC) texteditor.h
714 $(MOC) texteditor.h -o moc_texteditor.cpp
716 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
717 $(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
719 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
720 $(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
722 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
723 $(MOC) showtextdialog.h -o moc_showtextdialog.cpp
725 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
726 $(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
731 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
732 -$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
735 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
736 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
740 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
741 -$(INSTALL_DIR) "styles" "$(INSTALL_ROOT)/usr/share/vym/"
742 -$(INSTALL_DIR) "scripts" "$(INSTALL_ROOT)/usr/share/vym/"
743 -$(INSTALL_DIR) "icons" "$(INSTALL_ROOT)/usr/share/vym/"
747 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/styles"
748 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/scripts"
749 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/icons"
750 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
754 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
755 -$(INSTALL_DIR) "doc/CVS" "$(INSTALL_ROOT)/usr/share/doc/packages/vym"
756 -$(INSTALL_FILE) "doc/vym.pdf" "$(INSTALL_ROOT)/usr/share/doc/packages/vym"
760 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/CVS"
761 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/doc/packages/vym/vym.pdf"
762 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/doc/packages/vym/"
766 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
767 -$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
771 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
772 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
775 install: install_target install_support install_doc install_demo
777 uninstall: uninstall_target uninstall_support uninstall_doc uninstall_demo