Makefile
author insilmaril
Sun Jan 30 23:25:49 2005 +0000 (2005-01-30)
changeset 85 7e69734a51c4
parent 0 7a96bd401351
child 89 9db3eaa21237
permissions -rw-r--r--
1.6.1 optimized moving of branches, basic linking functions
     1 #############################################################################
     2 # Makefile for building: vym
     3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Mon Jan 31 00:05:28 2005
     4 # Project:  vym.pro
     5 # Template: app
     6 # Command: $(QMAKE) -o Makefile vym.pro
     7 #############################################################################
     8 
     9 ####### Compiler, tools and options
    10 
    11 CC       = gcc
    12 CXX      = g++
    13 LEX      = flex
    14 YACC     = yacc
    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
    17 LEXFLAGS = 
    18 YACCFLAGS= -d
    19 INCPATH  = -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I/usr/include -I$(QTDIR)/include
    20 LINK     = g++
    21 LFLAGS   = 
    22 LIBS     = $(SUBLIBS) -L/usr/lib/ -L$(QTDIR)/lib/ -L/usr/X11R6/lib/ -lqt-mt -lXext -lX11 -lm
    23 AR       = ar cqs
    24 RANLIB   = 
    25 MOC      = $(QTDIR)/bin/moc
    26 UIC      = $(QTDIR)/bin/uic
    27 QMAKE    = qmake
    28 TAR      = tar -cf
    29 GZIP     = gzip -9f
    30 COPY     = cp -f
    31 COPY_FILE= $(COPY)
    32 COPY_DIR = $(COPY) -r
    33 INSTALL_FILE= $(COPY_FILE)
    34 INSTALL_DIR = $(COPY_DIR)
    35 DEL_FILE = rm -f
    36 SYMLINK  = ln -sf
    37 DEL_DIR  = rmdir
    38 MOVE     = mv -f
    39 CHK_DIR_EXISTS= test -d
    40 MKDIR    = mkdir -p
    41 
    42 ####### Output directory
    43 
    44 OBJECTS_DIR = ./
    45 
    46 ####### Files
    47 
    48 HEADERS = branchobj.h \
    49 		exports.h \
    50 		findwindow.h \
    51 		flagobj.h \
    52 		flagrowobj.h \
    53 		floatimageobj.h \
    54 		floatobj.h \
    55 		frameobj.h \
    56 		headingobj.h \
    57 		imageobj.h \
    58 		linkablemapobj.h \
    59 		linkobj.h \
    60 		mainwindow.h \
    61 		mapcenterobj.h \
    62 		mapeditor.h \
    63 		mapobj.h \
    64 		misc.h \
    65 		noteobj.h \
    66 		ornamentedobj.h \
    67 		process.h \
    68 		selection.h \
    69 		texteditor.h \
    70 		version.h \
    71 		xml.h \
    72 		settings.h \
    73 		options.h
    74 SOURCES = branchobj.cpp \
    75 		exports.cpp \
    76 		findwindow.cpp \
    77 		flagobj.cpp \
    78 		flagrowobj.cpp \
    79 		floatimageobj.cpp \
    80 		floatobj.cpp \
    81 		frameobj.cpp \
    82 		headingobj.cpp \
    83 		imageobj.cpp \
    84 		linkablemapobj.cpp \
    85 		linkobj.cpp \
    86 		main.cpp \
    87 		mainwindow.cpp \
    88 		mapcenterobj.cpp \
    89 		mapeditor.cpp \
    90 		mapobj.cpp \
    91 		misc.cpp \
    92 		noteobj.cpp \
    93 		ornamentedobj.cpp \
    94 		process.cpp \
    95 		selection.cpp \
    96 		texteditor.cpp \
    97 		xml.cpp \
    98 		settings.cpp \
    99 		options.cpp
   100 OBJECTS = branchobj.o \
   101 		exports.o \
   102 		findwindow.o \
   103 		flagobj.o \
   104 		flagrowobj.o \
   105 		floatimageobj.o \
   106 		floatobj.o \
   107 		frameobj.o \
   108 		headingobj.o \
   109 		imageobj.o \
   110 		linkablemapobj.o \
   111 		linkobj.o \
   112 		main.o \
   113 		mainwindow.o \
   114 		mapcenterobj.o \
   115 		mapeditor.o \
   116 		mapobj.o \
   117 		misc.o \
   118 		noteobj.o \
   119 		ornamentedobj.o \
   120 		process.o \
   121 		selection.o \
   122 		texteditor.o \
   123 		xml.o \
   124 		settings.o \
   125 		options.o \
   126 		exporthtmldialog.o \
   127 		exportxhtmldialog.o \
   128 		showtextdialog.o \
   129 		extrainfodialog.o
   130 FORMS = exporthtmldialog.ui \
   131 		exportxhtmldialog.ui \
   132 		showtextdialog.ui \
   133 		extrainfodialog.ui
   134 UICDECLS = exporthtmldialog.h \
   135 		exportxhtmldialog.h \
   136 		showtextdialog.h \
   137 		extrainfodialog.h
   138 UICIMPLS = exporthtmldialog.cpp \
   139 		exportxhtmldialog.cpp \
   140 		showtextdialog.cpp \
   141 		extrainfodialog.cpp
   142 SRCMOC   = moc_findwindow.cpp \
   143 		moc_linkablemapobj.cpp \
   144 		moc_mainwindow.cpp \
   145 		moc_mapeditor.cpp \
   146 		moc_ornamentedobj.cpp \
   147 		moc_process.cpp \
   148 		moc_texteditor.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 \
   155 		moc_mainwindow.o \
   156 		moc_mapeditor.o \
   157 		moc_ornamentedobj.o \
   158 		moc_process.o \
   159 		moc_texteditor.o \
   160 		moc_exporthtmldialog.o \
   161 		moc_exportxhtmldialog.o \
   162 		moc_showtextdialog.o \
   163 		moc_extrainfodialog.o
   164 DIST	   = vym.pro
   165 QMAKE_TARGET = vym
   166 DESTDIR  = 
   167 TARGET   = vym
   168 
   169 first: all
   170 ####### Implicit rules
   171 
   172 .SUFFIXES: .c .o .cpp .cc .cxx .C
   173 
   174 .cpp.o:
   175 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   176 
   177 .cc.o:
   178 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   179 
   180 .cxx.o:
   181 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   182 
   183 .C.o:
   184 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   185 
   186 .c.o:
   187 	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
   188 
   189 ####### Build rules
   190 
   191 all: Makefile $(TARGET)
   192 
   193 $(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
   194 	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
   195 
   196 mocables: $(SRCMOC)
   197 uicables: $(UICDECLS) $(UICIMPLS)
   198 
   199 $(MOC): 
   200 	( cd $(QTDIR)/src/moc && $(MAKE) )
   201 
   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
   204 qmake: 
   205 	@$(QMAKE) -o Makefile vym.pro
   206 
   207 dist: 
   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
   209 
   210 mocclean:
   211 	-$(DEL_FILE) $(OBJMOC)
   212 	-$(DEL_FILE) $(SRCMOC)
   213 
   214 uiclean:
   215 	-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
   216 
   217 yaccclean:
   218 lexclean:
   219 clean: mocclean uiclean
   220 	-$(DEL_FILE) $(OBJECTS)
   221 	-$(DEL_FILE) *~ core *.core
   222 
   223 
   224 ####### Sub-libraries
   225 
   226 distclean: clean
   227 	-$(DEL_FILE) $(TARGET) $(TARGET)
   228 
   229 
   230 FORCE:
   231 
   232 ####### Compile
   233 
   234 branchobj.o: branchobj.cpp branchobj.h \
   235 		texteditor.h \
   236 		mapeditor.h \
   237 		mainwindow.h \
   238 		floatimageobj.h \
   239 		linkablemapobj.h \
   240 		ornamentedobj.h \
   241 		linkobj.h \
   242 		floatobj.h \
   243 		frameobj.h \
   244 		noteobj.h \
   245 		headingobj.h \
   246 		flagrowobj.h \
   247 		mapobj.h \
   248 		misc.h \
   249 		flagobj.h \
   250 		imageobj.h \
   251 		mapcenterobj.h \
   252 		version.h \
   253 		xml.h \
   254 		findwindow.h
   255 
   256 exports.o: exports.cpp exports.h \
   257 		linkablemapobj.h \
   258 		mapcenterobj.h \
   259 		branchobj.h \
   260 		linkobj.h \
   261 		version.h \
   262 		floatimageobj.h \
   263 		ornamentedobj.h \
   264 		floatobj.h \
   265 		frameobj.h \
   266 		noteobj.h \
   267 		headingobj.h \
   268 		flagrowobj.h \
   269 		mapobj.h \
   270 		misc.h \
   271 		flagobj.h \
   272 		imageobj.h
   273 
   274 findwindow.o: findwindow.cpp findwindow.h
   275 
   276 flagobj.o: flagobj.cpp flagobj.h \
   277 		mapobj.h \
   278 		imageobj.h \
   279 		misc.h
   280 
   281 flagrowobj.o: flagrowobj.cpp flagrowobj.h \
   282 		mapobj.h \
   283 		flagobj.h \
   284 		misc.h \
   285 		imageobj.h
   286 
   287 floatimageobj.o: floatimageobj.cpp floatimageobj.h \
   288 		branchobj.h \
   289 		floatobj.h \
   290 		linkablemapobj.h \
   291 		frameobj.h \
   292 		noteobj.h \
   293 		headingobj.h \
   294 		flagrowobj.h \
   295 		mapobj.h \
   296 		misc.h \
   297 		flagobj.h \
   298 		imageobj.h \
   299 		ornamentedobj.h \
   300 		linkobj.h
   301 
   302 floatobj.o: floatobj.cpp floatobj.h \
   303 		linkablemapobj.h \
   304 		frameobj.h \
   305 		noteobj.h \
   306 		headingobj.h \
   307 		flagrowobj.h \
   308 		mapobj.h \
   309 		misc.h \
   310 		flagobj.h \
   311 		imageobj.h
   312 
   313 frameobj.o: frameobj.cpp frameobj.h \
   314 		mapobj.h \
   315 		misc.h
   316 
   317 headingobj.o: headingobj.cpp headingobj.h \
   318 		mapobj.h \
   319 		misc.h
   320 
   321 imageobj.o: imageobj.cpp imageobj.h \
   322 		mapobj.h \
   323 		misc.h
   324 
   325 linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \
   326 		branchobj.h \
   327 		mapeditor.h \
   328 		version.h \
   329 		frameobj.h \
   330 		noteobj.h \
   331 		headingobj.h \
   332 		flagrowobj.h \
   333 		mapobj.h \
   334 		misc.h \
   335 		flagobj.h \
   336 		imageobj.h \
   337 		floatimageobj.h \
   338 		ornamentedobj.h \
   339 		linkobj.h \
   340 		floatobj.h \
   341 		mapcenterobj.h
   342 
   343 linkobj.o: linkobj.cpp linkobj.h \
   344 		branchobj.h \
   345 		linkablemapobj.h \
   346 		frameobj.h \
   347 		noteobj.h \
   348 		headingobj.h \
   349 		flagrowobj.h \
   350 		mapobj.h \
   351 		misc.h \
   352 		flagobj.h \
   353 		imageobj.h \
   354 		floatimageobj.h \
   355 		ornamentedobj.h \
   356 		floatobj.h
   357 
   358 main.o: main.cpp settings.h \
   359 		options.h \
   360 		mainwindow.h \
   361 		icons/vym-48x48.xpm \
   362 		icons/vym-editor.xpm \
   363 		flagrowobj.h \
   364 		misc.h \
   365 		xml.h \
   366 		texteditor.h \
   367 		mapeditor.h \
   368 		findwindow.h \
   369 		mapcenterobj.h \
   370 		branchobj.h \
   371 		linkobj.h \
   372 		version.h \
   373 		floatimageobj.h \
   374 		linkablemapobj.h \
   375 		ornamentedobj.h \
   376 		floatobj.h \
   377 		frameobj.h \
   378 		noteobj.h \
   379 		headingobj.h \
   380 		mapobj.h \
   381 		flagobj.h \
   382 		imageobj.h
   383 
   384 mainwindow.o: mainwindow.cpp mainwindow.h \
   385 		version.h \
   386 		icons/filenew.xpm \
   387 		icons/fileopen.xpm \
   388 		icons/filesave.xpm \
   389 		icons/fileprint.xpm \
   390 		icons/editundo.xpm \
   391 		icons/editcopy.xpm \
   392 		icons/editcut.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 \
   404 		icons/flag-url.xpm \
   405 		icons/flag-vymlink.xpm \
   406 		icons/flag-scrolled-right.xpm \
   407 		flagrowobj.h \
   408 		texteditor.h \
   409 		mapeditor.h \
   410 		exporthtmldialog.h \
   411 		exportxhtmldialog.h \
   412 		showtextdialog.h \
   413 		process.h \
   414 		settings.h \
   415 		options.h \
   416 		xml.h \
   417 		findwindow.h \
   418 		mapcenterobj.h \
   419 		branchobj.h \
   420 		linkobj.h \
   421 		floatimageobj.h \
   422 		linkablemapobj.h \
   423 		ornamentedobj.h \
   424 		floatobj.h \
   425 		frameobj.h \
   426 		noteobj.h \
   427 		headingobj.h \
   428 		mapobj.h \
   429 		misc.h \
   430 		flagobj.h \
   431 		imageobj.h
   432 
   433 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
   434 		floatimageobj.h \
   435 		mapeditor.h \
   436 		branchobj.h \
   437 		linkobj.h \
   438 		version.h \
   439 		linkablemapobj.h \
   440 		ornamentedobj.h \
   441 		floatobj.h \
   442 		frameobj.h \
   443 		noteobj.h \
   444 		headingobj.h \
   445 		flagrowobj.h \
   446 		mapobj.h \
   447 		misc.h \
   448 		flagobj.h \
   449 		imageobj.h
   450 
   451 mapeditor.o: mapeditor.cpp mapeditor.h \
   452 		version.h \
   453 		xml.h \
   454 		texteditor.h \
   455 		linkablemapobj.h \
   456 		exports.h \
   457 		misc.h \
   458 		mainwindow.h \
   459 		extrainfodialog.h \
   460 		settings.h \
   461 		icons/flag-note.xpm \
   462 		icons/flag-url.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 \
   482 		mapcenterobj.h \
   483 		branchobj.h \
   484 		linkobj.h \
   485 		floatimageobj.h \
   486 		ornamentedobj.h \
   487 		floatobj.h \
   488 		frameobj.h \
   489 		noteobj.h \
   490 		headingobj.h \
   491 		flagrowobj.h \
   492 		mapobj.h \
   493 		flagobj.h \
   494 		imageobj.h \
   495 		findwindow.h
   496 
   497 mapobj.o: mapobj.cpp mapobj.h \
   498 		misc.h
   499 
   500 misc.o: misc.cpp misc.h
   501 
   502 noteobj.o: noteobj.cpp noteobj.h \
   503 		misc.h
   504 
   505 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
   506 		texteditor.h \
   507 		mapeditor.h \
   508 		linkablemapobj.h \
   509 		frameobj.h \
   510 		noteobj.h \
   511 		headingobj.h \
   512 		flagrowobj.h \
   513 		mapobj.h \
   514 		misc.h \
   515 		flagobj.h \
   516 		imageobj.h \
   517 		mapcenterobj.h \
   518 		branchobj.h \
   519 		linkobj.h \
   520 		version.h \
   521 		floatimageobj.h \
   522 		floatobj.h
   523 
   524 process.o: process.cpp process.h
   525 
   526 selection.o: selection.cpp selection.h \
   527 		linkablemapobj.h \
   528 		frameobj.h \
   529 		noteobj.h \
   530 		headingobj.h \
   531 		flagrowobj.h \
   532 		mapobj.h \
   533 		misc.h \
   534 		flagobj.h \
   535 		imageobj.h
   536 
   537 texteditor.o: texteditor.cpp texteditor.h \
   538 		icons/fileopen.xpm \
   539 		icons/filesave.xpm \
   540 		icons/fileprint.xpm \
   541 		icons/editundo.xpm \
   542 		icons/editredo.xpm \
   543 		icons/editcopy.xpm \
   544 		icons/editcut.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
   555 
   556 xml.o: xml.cpp xml.h \
   557 		misc.h \
   558 		settings.h \
   559 		version.h \
   560 		mapcenterobj.h \
   561 		mapeditor.h \
   562 		branchobj.h \
   563 		linkobj.h \
   564 		floatimageobj.h \
   565 		linkablemapobj.h \
   566 		ornamentedobj.h \
   567 		floatobj.h \
   568 		frameobj.h \
   569 		noteobj.h \
   570 		headingobj.h \
   571 		flagrowobj.h \
   572 		mapobj.h \
   573 		flagobj.h \
   574 		imageobj.h
   575 
   576 settings.o: settings.cpp settings.h \
   577 		misc.h
   578 
   579 options.o: options.cpp options.h
   580 
   581 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
   582 	$(UIC) exporthtmldialog.ui -o exporthtmldialog.h
   583 
   584 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
   585 	$(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
   586 
   587 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
   588 		showtextdialog.h
   589 	$(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
   590 
   591 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
   592 		showtextdialog.h
   593 	$(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
   594 
   595 showtextdialog.h: showtextdialog.ui 
   596 	$(UIC) showtextdialog.ui -o showtextdialog.h
   597 
   598 showtextdialog.cpp: showtextdialog.h showtextdialog.ui 
   599 	$(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
   600 
   601 extrainfodialog.h: extrainfodialog.ui 
   602 	$(UIC) extrainfodialog.ui -o extrainfodialog.h
   603 
   604 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui 
   605 	$(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
   606 
   607 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
   608 		misc.h \
   609 		icons/flag-url.xpm \
   610 		exporthtmldialog.ui.h \
   611 		exporthtmldialog.h
   612 
   613 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
   614 		icons/flag-url.xpm \
   615 		exportxhtmldialog.ui.h \
   616 		exportxhtmldialog.h
   617 
   618 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
   619 		showtextdialog.h
   620 
   621 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
   622 		extrainfodialog.h
   623 
   624 moc_findwindow.o: moc_findwindow.cpp  findwindow.h 
   625 
   626 moc_linkablemapobj.o: moc_linkablemapobj.cpp  linkablemapobj.h frameobj.h \
   627 		noteobj.h \
   628 		headingobj.h \
   629 		flagrowobj.h \
   630 		mapobj.h \
   631 		misc.h \
   632 		flagobj.h \
   633 		imageobj.h
   634 
   635 moc_mainwindow.o: moc_mainwindow.cpp  mainwindow.h xml.h \
   636 		texteditor.h \
   637 		mapeditor.h \
   638 		findwindow.h \
   639 		mapcenterobj.h \
   640 		branchobj.h \
   641 		linkobj.h \
   642 		version.h \
   643 		floatimageobj.h \
   644 		linkablemapobj.h \
   645 		ornamentedobj.h \
   646 		floatobj.h \
   647 		frameobj.h \
   648 		noteobj.h \
   649 		headingobj.h \
   650 		flagrowobj.h \
   651 		mapobj.h \
   652 		misc.h \
   653 		flagobj.h \
   654 		imageobj.h
   655 
   656 moc_mapeditor.o: moc_mapeditor.cpp  mapeditor.h mapcenterobj.h \
   657 		misc.h \
   658 		branchobj.h \
   659 		linkobj.h \
   660 		version.h \
   661 		floatimageobj.h \
   662 		linkablemapobj.h \
   663 		ornamentedobj.h \
   664 		floatobj.h \
   665 		frameobj.h \
   666 		noteobj.h \
   667 		headingobj.h \
   668 		flagrowobj.h \
   669 		mapobj.h \
   670 		flagobj.h \
   671 		imageobj.h
   672 
   673 moc_ornamentedobj.o: moc_ornamentedobj.cpp  ornamentedobj.h linkablemapobj.h \
   674 		frameobj.h \
   675 		noteobj.h \
   676 		headingobj.h \
   677 		flagrowobj.h \
   678 		mapobj.h \
   679 		misc.h \
   680 		flagobj.h \
   681 		imageobj.h
   682 
   683 moc_process.o: moc_process.cpp  process.h 
   684 
   685 moc_texteditor.o: moc_texteditor.cpp  texteditor.h 
   686 
   687 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp  exporthtmldialog.h 
   688 
   689 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp  exportxhtmldialog.h 
   690 
   691 moc_showtextdialog.o: moc_showtextdialog.cpp  showtextdialog.h 
   692 
   693 moc_extrainfodialog.o: moc_extrainfodialog.cpp  extrainfodialog.h 
   694 
   695 moc_findwindow.cpp: $(MOC) findwindow.h
   696 	$(MOC) findwindow.h -o moc_findwindow.cpp
   697 
   698 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
   699 	$(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
   700 
   701 moc_mainwindow.cpp: $(MOC) mainwindow.h
   702 	$(MOC) mainwindow.h -o moc_mainwindow.cpp
   703 
   704 moc_mapeditor.cpp: $(MOC) mapeditor.h
   705 	$(MOC) mapeditor.h -o moc_mapeditor.cpp
   706 
   707 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
   708 	$(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
   709 
   710 moc_process.cpp: $(MOC) process.h
   711 	$(MOC) process.h -o moc_process.cpp
   712 
   713 moc_texteditor.cpp: $(MOC) texteditor.h
   714 	$(MOC) texteditor.h -o moc_texteditor.cpp
   715 
   716 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
   717 	$(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
   718 
   719 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
   720 	$(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
   721 
   722 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
   723 	$(MOC) showtextdialog.h -o moc_showtextdialog.cpp
   724 
   725 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
   726 	$(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
   727 
   728 ####### Install
   729 
   730 install_target: all 
   731 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
   732 	-$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   733 
   734 uninstall_target: 
   735 	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   736 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
   737 
   738 
   739 install_support: all 
   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/"
   744 
   745 
   746 uninstall_support: 
   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/"
   751 
   752 
   753 install_doc: all 
   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"
   757 
   758 
   759 uninstall_doc: 
   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/"
   763 
   764 
   765 install_demo: all 
   766 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
   767 	-$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
   768 
   769 
   770 uninstall_demo: 
   771 	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
   772 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
   773 
   774 
   775 install: install_target install_support install_doc install_demo  
   776 
   777 uninstall: uninstall_target uninstall_support uninstall_doc uninstall_demo  
   778