Makefile
author insilmaril
Sat, 19 Feb 2005 17:14:33 +0000
changeset 90 10f3d35dcbad
parent 89 9db3eaa21237
permissions -rw-r--r--
moved translation files to lang, basic link functionality
     1 #############################################################################
     2 # Makefile for building: vym
     3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Sat Feb 19 15:28:50 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 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
   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/modecolor.xpm \
   403 		icons/modelink.xpm \
   404 		icons/vym-48x48.xpm \
   405 		icons/flag-note.xpm \
   406 		icons/flag-url.xpm \
   407 		icons/flag-vymlink.xpm \
   408 		icons/flag-scrolled-right.xpm \
   409 		flagrowobj.h \
   410 		texteditor.h \
   411 		mapeditor.h \
   412 		exporthtmldialog.h \
   413 		exportxhtmldialog.h \
   414 		showtextdialog.h \
   415 		process.h \
   416 		settings.h \
   417 		options.h \
   418 		xml.h \
   419 		findwindow.h \
   420 		mapcenterobj.h \
   421 		branchobj.h \
   422 		linkobj.h \
   423 		floatimageobj.h \
   424 		linkablemapobj.h \
   425 		ornamentedobj.h \
   426 		floatobj.h \
   427 		frameobj.h \
   428 		noteobj.h \
   429 		headingobj.h \
   430 		mapobj.h \
   431 		misc.h \
   432 		flagobj.h \
   433 		imageobj.h
   434 
   435 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
   436 		floatimageobj.h \
   437 		mapeditor.h \
   438 		branchobj.h \
   439 		linkobj.h \
   440 		version.h \
   441 		linkablemapobj.h \
   442 		ornamentedobj.h \
   443 		floatobj.h \
   444 		frameobj.h \
   445 		noteobj.h \
   446 		headingobj.h \
   447 		flagrowobj.h \
   448 		mapobj.h \
   449 		misc.h \
   450 		flagobj.h \
   451 		imageobj.h
   452 
   453 mapeditor.o: mapeditor.cpp mapeditor.h \
   454 		version.h \
   455 		xml.h \
   456 		texteditor.h \
   457 		linkablemapobj.h \
   458 		exports.h \
   459 		misc.h \
   460 		mainwindow.h \
   461 		extrainfodialog.h \
   462 		settings.h \
   463 		icons/flag-note.xpm \
   464 		icons/flag-url.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 \
   484 		mapcenterobj.h \
   485 		branchobj.h \
   486 		linkobj.h \
   487 		floatimageobj.h \
   488 		ornamentedobj.h \
   489 		floatobj.h \
   490 		frameobj.h \
   491 		noteobj.h \
   492 		headingobj.h \
   493 		flagrowobj.h \
   494 		mapobj.h \
   495 		flagobj.h \
   496 		imageobj.h \
   497 		findwindow.h
   498 
   499 mapobj.o: mapobj.cpp mapobj.h \
   500 		misc.h
   501 
   502 misc.o: misc.cpp misc.h
   503 
   504 noteobj.o: noteobj.cpp noteobj.h \
   505 		misc.h
   506 
   507 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
   508 		texteditor.h \
   509 		mapeditor.h \
   510 		linkablemapobj.h \
   511 		frameobj.h \
   512 		noteobj.h \
   513 		headingobj.h \
   514 		flagrowobj.h \
   515 		mapobj.h \
   516 		misc.h \
   517 		flagobj.h \
   518 		imageobj.h \
   519 		mapcenterobj.h \
   520 		branchobj.h \
   521 		linkobj.h \
   522 		version.h \
   523 		floatimageobj.h \
   524 		floatobj.h
   525 
   526 process.o: process.cpp process.h
   527 
   528 selection.o: selection.cpp selection.h \
   529 		linkablemapobj.h \
   530 		frameobj.h \
   531 		noteobj.h \
   532 		headingobj.h \
   533 		flagrowobj.h \
   534 		mapobj.h \
   535 		misc.h \
   536 		flagobj.h \
   537 		imageobj.h
   538 
   539 texteditor.o: texteditor.cpp texteditor.h \
   540 		icons/fileopen.xpm \
   541 		icons/filesave.xpm \
   542 		icons/fileprint.xpm \
   543 		icons/editundo.xpm \
   544 		icons/editredo.xpm \
   545 		icons/editcopy.xpm \
   546 		icons/editcut.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
   557 
   558 xml.o: xml.cpp xml.h \
   559 		misc.h \
   560 		settings.h \
   561 		version.h \
   562 		mapcenterobj.h \
   563 		mapeditor.h \
   564 		branchobj.h \
   565 		linkobj.h \
   566 		floatimageobj.h \
   567 		linkablemapobj.h \
   568 		ornamentedobj.h \
   569 		floatobj.h \
   570 		frameobj.h \
   571 		noteobj.h \
   572 		headingobj.h \
   573 		flagrowobj.h \
   574 		mapobj.h \
   575 		flagobj.h \
   576 		imageobj.h
   577 
   578 settings.o: settings.cpp settings.h \
   579 		misc.h
   580 
   581 options.o: options.cpp options.h
   582 
   583 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
   584 	$(UIC) exporthtmldialog.ui -o exporthtmldialog.h
   585 
   586 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
   587 	$(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
   588 
   589 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
   590 		showtextdialog.h
   591 	$(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
   592 
   593 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
   594 		showtextdialog.h
   595 	$(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
   596 
   597 showtextdialog.h: showtextdialog.ui 
   598 	$(UIC) showtextdialog.ui -o showtextdialog.h
   599 
   600 showtextdialog.cpp: showtextdialog.h showtextdialog.ui 
   601 	$(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
   602 
   603 extrainfodialog.h: extrainfodialog.ui 
   604 	$(UIC) extrainfodialog.ui -o extrainfodialog.h
   605 
   606 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui 
   607 	$(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
   608 
   609 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
   610 		misc.h \
   611 		icons/flag-url.xpm \
   612 		exporthtmldialog.ui.h \
   613 		exporthtmldialog.h
   614 
   615 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
   616 		icons/flag-url.xpm \
   617 		exportxhtmldialog.ui.h \
   618 		exportxhtmldialog.h
   619 
   620 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
   621 		showtextdialog.h
   622 
   623 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
   624 		extrainfodialog.h
   625 
   626 moc_findwindow.o: moc_findwindow.cpp  findwindow.h 
   627 
   628 moc_linkablemapobj.o: moc_linkablemapobj.cpp  linkablemapobj.h frameobj.h \
   629 		noteobj.h \
   630 		headingobj.h \
   631 		flagrowobj.h \
   632 		mapobj.h \
   633 		misc.h \
   634 		flagobj.h \
   635 		imageobj.h
   636 
   637 moc_mainwindow.o: moc_mainwindow.cpp  mainwindow.h xml.h \
   638 		texteditor.h \
   639 		mapeditor.h \
   640 		findwindow.h \
   641 		mapcenterobj.h \
   642 		branchobj.h \
   643 		linkobj.h \
   644 		version.h \
   645 		floatimageobj.h \
   646 		linkablemapobj.h \
   647 		ornamentedobj.h \
   648 		floatobj.h \
   649 		frameobj.h \
   650 		noteobj.h \
   651 		headingobj.h \
   652 		flagrowobj.h \
   653 		mapobj.h \
   654 		misc.h \
   655 		flagobj.h \
   656 		imageobj.h
   657 
   658 moc_mapeditor.o: moc_mapeditor.cpp  mapeditor.h mapcenterobj.h \
   659 		misc.h \
   660 		branchobj.h \
   661 		linkobj.h \
   662 		version.h \
   663 		floatimageobj.h \
   664 		linkablemapobj.h \
   665 		ornamentedobj.h \
   666 		floatobj.h \
   667 		frameobj.h \
   668 		noteobj.h \
   669 		headingobj.h \
   670 		flagrowobj.h \
   671 		mapobj.h \
   672 		flagobj.h \
   673 		imageobj.h
   674 
   675 moc_ornamentedobj.o: moc_ornamentedobj.cpp  ornamentedobj.h linkablemapobj.h \
   676 		frameobj.h \
   677 		noteobj.h \
   678 		headingobj.h \
   679 		flagrowobj.h \
   680 		mapobj.h \
   681 		misc.h \
   682 		flagobj.h \
   683 		imageobj.h
   684 
   685 moc_process.o: moc_process.cpp  process.h 
   686 
   687 moc_texteditor.o: moc_texteditor.cpp  texteditor.h 
   688 
   689 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp  exporthtmldialog.h showtextdialog.h
   690 
   691 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp  exportxhtmldialog.h process.h \
   692 		showtextdialog.h
   693 
   694 moc_showtextdialog.o: moc_showtextdialog.cpp  showtextdialog.h 
   695 
   696 moc_extrainfodialog.o: moc_extrainfodialog.cpp  extrainfodialog.h 
   697 
   698 moc_findwindow.cpp: $(MOC) findwindow.h
   699 	$(MOC) findwindow.h -o moc_findwindow.cpp
   700 
   701 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
   702 	$(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
   703 
   704 moc_mainwindow.cpp: $(MOC) mainwindow.h
   705 	$(MOC) mainwindow.h -o moc_mainwindow.cpp
   706 
   707 moc_mapeditor.cpp: $(MOC) mapeditor.h
   708 	$(MOC) mapeditor.h -o moc_mapeditor.cpp
   709 
   710 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
   711 	$(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
   712 
   713 moc_process.cpp: $(MOC) process.h
   714 	$(MOC) process.h -o moc_process.cpp
   715 
   716 moc_texteditor.cpp: $(MOC) texteditor.h
   717 	$(MOC) texteditor.h -o moc_texteditor.cpp
   718 
   719 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
   720 	$(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
   721 
   722 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
   723 	$(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
   724 
   725 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
   726 	$(MOC) showtextdialog.h -o moc_showtextdialog.cpp
   727 
   728 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
   729 	$(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
   730 
   731 ####### Install
   732 
   733 install_target: all 
   734 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
   735 	-$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   736 
   737 uninstall_target: 
   738 	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   739 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
   740 
   741 
   742 install_support: all 
   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/"
   747 
   748 
   749 uninstall_support: 
   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/"
   754 
   755 
   756 install_doc: all 
   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"
   760 
   761 
   762 uninstall_doc: 
   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/"
   766 
   767 
   768 install_demo: all 
   769 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
   770 	-$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
   771 
   772 
   773 uninstall_demo: 
   774 	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
   775 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
   776 
   777 
   778 install: install_target install_support install_doc install_demo  
   779 
   780 uninstall: uninstall_target uninstall_support uninstall_doc uninstall_demo  
   781