1 #############################################################################
2 # Makefile for building: vym
3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Tue Jan 4 10:40:21 2005
6 # Command: $(QMAKE) -o Makefile vym.pro
7 #############################################################################
9 ####### Compiler, tools and options
15 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
16 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
19 INCPATH = -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I/usr/include -I$(QTDIR)/include
22 LIBS = $(SUBLIBS) -L/usr/lib64/ -L$(QTDIR)/lib64/ -L/usr/X11R6/lib64/ -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 \
73 SOURCES = branchobj.cpp \
98 OBJECTS = branchobj.o \
124 exportxhtmldialog.o \
127 FORMS = exporthtmldialog.ui \
128 exportxhtmldialog.ui \
131 UICDECLS = exporthtmldialog.h \
132 exportxhtmldialog.h \
135 UICIMPLS = exporthtmldialog.cpp \
136 exportxhtmldialog.cpp \
139 SRCMOC = moc_findwindow.cpp \
140 moc_linkablemapobj.cpp \
143 moc_ornamentedobj.cpp \
146 moc_exporthtmldialog.cpp \
147 moc_exportxhtmldialog.cpp \
148 moc_showtextdialog.cpp \
149 moc_extrainfodialog.cpp
150 OBJMOC = moc_findwindow.o \
151 moc_linkablemapobj.o \
154 moc_ornamentedobj.o \
157 moc_exporthtmldialog.o \
158 moc_exportxhtmldialog.o \
159 moc_showtextdialog.o \
160 moc_extrainfodialog.o
167 ####### Implicit rules
169 .SUFFIXES: .c .o .cpp .cc .cxx .C
172 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
175 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
178 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
181 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
184 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
188 all: Makefile $(TARGET)
190 $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
191 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
194 uicables: $(UICDECLS) $(UICIMPLS)
197 ( cd $(QTDIR)/src/moc && $(MAKE) )
199 Makefile: vym.pro /usr/lib/qt3/mkspecs/linux-g++/qmake.conf /usr/lib/qt3/lib64/libqt-mt.prl
200 $(QMAKE) -o Makefile vym.pro
202 @$(QMAKE) -o Makefile vym.pro
205 @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
208 -$(DEL_FILE) $(OBJMOC)
209 -$(DEL_FILE) $(SRCMOC)
212 -$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
216 clean: mocclean uiclean
217 -$(DEL_FILE) $(OBJECTS)
218 -$(DEL_FILE) *~ core *.core
221 ####### Sub-libraries
224 -$(DEL_FILE) $(TARGET) $(TARGET)
231 branchobj.o: branchobj.cpp branchobj.h \
252 exports.o: exports.cpp exports.h \
269 findwindow.o: findwindow.cpp findwindow.h
271 flagobj.o: flagobj.cpp flagobj.h \
276 flagrowobj.o: flagrowobj.cpp flagrowobj.h \
282 floatimageobj.o: floatimageobj.cpp floatimageobj.h \
296 floatobj.o: floatobj.cpp floatobj.h \
307 frameobj.o: frameobj.cpp frameobj.h \
311 headingobj.o: headingobj.cpp headingobj.h \
315 imageobj.o: imageobj.cpp imageobj.h \
319 linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \
336 main.o: main.cpp settings.h \
339 icons/vym-48x48.xpm \
340 icons/vym-editor.xpm \
361 mainwindow.o: mainwindow.cpp mainwindow.h \
366 icons/fileprint.xpm \
370 icons/editpaste.xpm \
371 icons/editmoveup.xpm \
372 icons/editmovedown.xpm \
373 icons/formatcoloritem.xpm \
374 icons/formatcolorbranch.xpm \
375 icons/formatcolorpicker.xpm \
376 icons/viewzoomreset.xpm \
377 icons/viewzoomin.xpm \
378 icons/viewzoomout.xpm \
379 icons/vym-48x48.xpm \
380 icons/flag-note.xpm \
382 icons/flag-vymlink.xpm \
383 icons/flag-scrolled-right.xpm \
388 exportxhtmldialog.h \
409 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
426 mapeditor.o: mapeditor.cpp mapeditor.h \
436 icons/flag-note.xpm \
438 icons/flag-vymlink.xpm \
439 icons/flag-scrolled-right.xpm \
440 icons/flag-tmpUnscrolled-right.xpm \
441 icons/flag-questionmark.xpm \
442 icons/flag-exclamationmark.xpm \
443 icons/flag-hook-green.xpm \
444 icons/flag-cross-red.xpm \
445 icons/flag-stopsign.xpm \
446 icons/flag-smiley-good.xpm \
447 icons/flag-smiley-sad.xpm \
448 icons/flag-clock.xpm \
449 icons/flag-lamp.xpm \
450 icons/flag-arrow-up.xpm \
451 icons/flag-arrow-down.xpm \
452 icons/flag-thumb-up.xpm \
453 icons/flag-thumb-down.xpm \
454 icons/flag-heart.xpm \
455 icons/flag-flash.xpm \
456 icons/flag-lifebelt.xpm \
471 mapobj.o: mapobj.cpp mapobj.h \
474 misc.o: misc.cpp misc.h
476 noteobj.o: noteobj.cpp noteobj.h \
479 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
497 process.o: process.cpp process.h
499 selection.o: selection.cpp selection.h \
510 texteditor.o: texteditor.cpp texteditor.h \
513 icons/fileprint.xpm \
518 icons/editpaste.xpm \
519 icons/edittrash.xpm \
520 icons/formatfixedfont.xpm \
521 icons/formattextbold.xpm \
522 icons/formattextitalic.xpm \
523 icons/formattextunder.xpm \
524 icons/formattextleft.xpm \
525 icons/formattextcenter.xpm \
526 icons/formattextright.xpm \
527 icons/formattextjustify.xpm
529 xml.o: xml.cpp xml.h \
548 settings.o: settings.cpp settings.h \
551 options.o: options.cpp options.h
553 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
554 $(UIC) exporthtmldialog.ui -o exporthtmldialog.h
556 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
557 $(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
559 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
561 $(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
563 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
565 $(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
567 showtextdialog.h: showtextdialog.ui
568 $(UIC) showtextdialog.ui -o showtextdialog.h
570 showtextdialog.cpp: showtextdialog.h showtextdialog.ui
571 $(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
573 extrainfodialog.h: extrainfodialog.ui
574 $(UIC) extrainfodialog.ui -o extrainfodialog.h
576 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui
577 $(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
579 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
582 exporthtmldialog.ui.h \
585 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
587 exportxhtmldialog.ui.h \
590 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
593 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
596 moc_findwindow.o: moc_findwindow.cpp findwindow.h
598 moc_linkablemapobj.o: moc_linkablemapobj.cpp linkablemapobj.h frameobj.h \
607 moc_mainwindow.o: moc_mainwindow.cpp mainwindow.h xml.h \
627 moc_mapeditor.o: moc_mapeditor.cpp mapeditor.h mapcenterobj.h \
643 moc_ornamentedobj.o: moc_ornamentedobj.cpp ornamentedobj.h linkablemapobj.h \
653 moc_process.o: moc_process.cpp process.h
655 moc_texteditor.o: moc_texteditor.cpp texteditor.h
657 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp exporthtmldialog.h showtextdialog.h
659 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp exportxhtmldialog.h process.h \
662 moc_showtextdialog.o: moc_showtextdialog.cpp showtextdialog.h
664 moc_extrainfodialog.o: moc_extrainfodialog.cpp extrainfodialog.h
666 moc_findwindow.cpp: $(MOC) findwindow.h
667 $(MOC) findwindow.h -o moc_findwindow.cpp
669 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
670 $(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
672 moc_mainwindow.cpp: $(MOC) mainwindow.h
673 $(MOC) mainwindow.h -o moc_mainwindow.cpp
675 moc_mapeditor.cpp: $(MOC) mapeditor.h
676 $(MOC) mapeditor.h -o moc_mapeditor.cpp
678 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
679 $(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
681 moc_process.cpp: $(MOC) process.h
682 $(MOC) process.h -o moc_process.cpp
684 moc_texteditor.cpp: $(MOC) texteditor.h
685 $(MOC) texteditor.h -o moc_texteditor.cpp
687 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
688 $(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
690 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
691 $(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
693 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
694 $(MOC) showtextdialog.h -o moc_showtextdialog.cpp
696 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
697 $(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
702 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
703 -$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
706 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
707 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
711 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
712 -$(INSTALL_DIR) "styles" "$(INSTALL_ROOT)/usr/share/vym/"
713 -$(INSTALL_DIR) "scripts" "$(INSTALL_ROOT)/usr/share/vym/"
714 -$(INSTALL_DIR) "icons" "$(INSTALL_ROOT)/usr/share/vym/"
718 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/styles"
719 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/scripts"
720 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/icons"
721 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
725 @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
726 -$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
730 -$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
731 -$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
734 install: install_target install_support install_demo
736 uninstall: uninstall_target uninstall_support uninstall_demo