Makefile
author insilmaril
Fri, 05 Mar 2010 20:16:46 +0000
branchrelease-1-12-maintained
changeset 80 5c5b4464b24f
parent 0 7a96bd401351
child 83 e90f5bef70c8
permissions -rw-r--r--
Some changes by Tagg for Win version
     1 #############################################################################
     2 # Makefile for building: vym
     3 # Generated by qmake (1.07a) (Qt 3.3.1) on: Tue Jan  4 10:40:21 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 -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
    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/lib64/ -L$(QTDIR)/lib64/ -L/usr/X11R6/lib64/ -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 		mainwindow.h \
    60 		mapcenterobj.h \
    61 		mapeditor.h \
    62 		mapobj.h \
    63 		misc.h \
    64 		noteobj.h \
    65 		ornamentedobj.h \
    66 		process.h \
    67 		selection.h \
    68 		texteditor.h \
    69 		version.h \
    70 		xml.h \
    71 		settings.h \
    72 		options.h
    73 SOURCES = branchobj.cpp \
    74 		exports.cpp \
    75 		findwindow.cpp \
    76 		flagobj.cpp \
    77 		flagrowobj.cpp \
    78 		floatimageobj.cpp \
    79 		floatobj.cpp \
    80 		frameobj.cpp \
    81 		headingobj.cpp \
    82 		imageobj.cpp \
    83 		linkablemapobj.cpp \
    84 		main.cpp \
    85 		mainwindow.cpp \
    86 		mapcenterobj.cpp \
    87 		mapeditor.cpp \
    88 		mapobj.cpp \
    89 		misc.cpp \
    90 		noteobj.cpp \
    91 		ornamentedobj.cpp \
    92 		process.cpp \
    93 		selection.cpp \
    94 		texteditor.cpp \
    95 		xml.cpp \
    96 		settings.cpp \
    97 		options.cpp
    98 OBJECTS = branchobj.o \
    99 		exports.o \
   100 		findwindow.o \
   101 		flagobj.o \
   102 		flagrowobj.o \
   103 		floatimageobj.o \
   104 		floatobj.o \
   105 		frameobj.o \
   106 		headingobj.o \
   107 		imageobj.o \
   108 		linkablemapobj.o \
   109 		main.o \
   110 		mainwindow.o \
   111 		mapcenterobj.o \
   112 		mapeditor.o \
   113 		mapobj.o \
   114 		misc.o \
   115 		noteobj.o \
   116 		ornamentedobj.o \
   117 		process.o \
   118 		selection.o \
   119 		texteditor.o \
   120 		xml.o \
   121 		settings.o \
   122 		options.o \
   123 		exporthtmldialog.o \
   124 		exportxhtmldialog.o \
   125 		showtextdialog.o \
   126 		extrainfodialog.o
   127 FORMS = exporthtmldialog.ui \
   128 		exportxhtmldialog.ui \
   129 		showtextdialog.ui \
   130 		extrainfodialog.ui
   131 UICDECLS = exporthtmldialog.h \
   132 		exportxhtmldialog.h \
   133 		showtextdialog.h \
   134 		extrainfodialog.h
   135 UICIMPLS = exporthtmldialog.cpp \
   136 		exportxhtmldialog.cpp \
   137 		showtextdialog.cpp \
   138 		extrainfodialog.cpp
   139 SRCMOC   = moc_findwindow.cpp \
   140 		moc_linkablemapobj.cpp \
   141 		moc_mainwindow.cpp \
   142 		moc_mapeditor.cpp \
   143 		moc_ornamentedobj.cpp \
   144 		moc_process.cpp \
   145 		moc_texteditor.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 \
   152 		moc_mainwindow.o \
   153 		moc_mapeditor.o \
   154 		moc_ornamentedobj.o \
   155 		moc_process.o \
   156 		moc_texteditor.o \
   157 		moc_exporthtmldialog.o \
   158 		moc_exportxhtmldialog.o \
   159 		moc_showtextdialog.o \
   160 		moc_extrainfodialog.o
   161 DIST	   = vym.pro
   162 QMAKE_TARGET = vym
   163 DESTDIR  = 
   164 TARGET   = vym
   165 
   166 first: all
   167 ####### Implicit rules
   168 
   169 .SUFFIXES: .c .o .cpp .cc .cxx .C
   170 
   171 .cpp.o:
   172 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   173 
   174 .cc.o:
   175 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   176 
   177 .cxx.o:
   178 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   179 
   180 .C.o:
   181 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
   182 
   183 .c.o:
   184 	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
   185 
   186 ####### Build rules
   187 
   188 all: Makefile $(TARGET)
   189 
   190 $(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
   191 	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
   192 
   193 mocables: $(SRCMOC)
   194 uicables: $(UICDECLS) $(UICIMPLS)
   195 
   196 $(MOC): 
   197 	( cd $(QTDIR)/src/moc && $(MAKE) )
   198 
   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
   201 qmake: 
   202 	@$(QMAKE) -o Makefile vym.pro
   203 
   204 dist: 
   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
   206 
   207 mocclean:
   208 	-$(DEL_FILE) $(OBJMOC)
   209 	-$(DEL_FILE) $(SRCMOC)
   210 
   211 uiclean:
   212 	-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
   213 
   214 yaccclean:
   215 lexclean:
   216 clean: mocclean uiclean
   217 	-$(DEL_FILE) $(OBJECTS)
   218 	-$(DEL_FILE) *~ core *.core
   219 
   220 
   221 ####### Sub-libraries
   222 
   223 distclean: clean
   224 	-$(DEL_FILE) $(TARGET) $(TARGET)
   225 
   226 
   227 FORCE:
   228 
   229 ####### Compile
   230 
   231 branchobj.o: branchobj.cpp branchobj.h \
   232 		texteditor.h \
   233 		mapeditor.h \
   234 		mainwindow.h \
   235 		floatimageobj.h \
   236 		linkablemapobj.h \
   237 		ornamentedobj.h \
   238 		floatobj.h \
   239 		frameobj.h \
   240 		noteobj.h \
   241 		headingobj.h \
   242 		flagrowobj.h \
   243 		mapobj.h \
   244 		misc.h \
   245 		flagobj.h \
   246 		imageobj.h \
   247 		mapcenterobj.h \
   248 		version.h \
   249 		xml.h \
   250 		findwindow.h
   251 
   252 exports.o: exports.cpp exports.h \
   253 		linkablemapobj.h \
   254 		mapcenterobj.h \
   255 		branchobj.h \
   256 		version.h \
   257 		floatimageobj.h \
   258 		ornamentedobj.h \
   259 		floatobj.h \
   260 		frameobj.h \
   261 		noteobj.h \
   262 		headingobj.h \
   263 		flagrowobj.h \
   264 		mapobj.h \
   265 		misc.h \
   266 		flagobj.h \
   267 		imageobj.h
   268 
   269 findwindow.o: findwindow.cpp findwindow.h
   270 
   271 flagobj.o: flagobj.cpp flagobj.h \
   272 		mapobj.h \
   273 		imageobj.h \
   274 		misc.h
   275 
   276 flagrowobj.o: flagrowobj.cpp flagrowobj.h \
   277 		mapobj.h \
   278 		flagobj.h \
   279 		misc.h \
   280 		imageobj.h
   281 
   282 floatimageobj.o: floatimageobj.cpp floatimageobj.h \
   283 		branchobj.h \
   284 		floatobj.h \
   285 		linkablemapobj.h \
   286 		frameobj.h \
   287 		noteobj.h \
   288 		headingobj.h \
   289 		flagrowobj.h \
   290 		mapobj.h \
   291 		misc.h \
   292 		flagobj.h \
   293 		imageobj.h \
   294 		ornamentedobj.h
   295 
   296 floatobj.o: floatobj.cpp floatobj.h \
   297 		linkablemapobj.h \
   298 		frameobj.h \
   299 		noteobj.h \
   300 		headingobj.h \
   301 		flagrowobj.h \
   302 		mapobj.h \
   303 		misc.h \
   304 		flagobj.h \
   305 		imageobj.h
   306 
   307 frameobj.o: frameobj.cpp frameobj.h \
   308 		mapobj.h \
   309 		misc.h
   310 
   311 headingobj.o: headingobj.cpp headingobj.h \
   312 		mapobj.h \
   313 		misc.h
   314 
   315 imageobj.o: imageobj.cpp imageobj.h \
   316 		mapobj.h \
   317 		misc.h
   318 
   319 linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \
   320 		branchobj.h \
   321 		mapeditor.h \
   322 		version.h \
   323 		frameobj.h \
   324 		noteobj.h \
   325 		headingobj.h \
   326 		flagrowobj.h \
   327 		mapobj.h \
   328 		misc.h \
   329 		flagobj.h \
   330 		imageobj.h \
   331 		floatimageobj.h \
   332 		ornamentedobj.h \
   333 		floatobj.h \
   334 		mapcenterobj.h
   335 
   336 main.o: main.cpp settings.h \
   337 		options.h \
   338 		mainwindow.h \
   339 		icons/vym-48x48.xpm \
   340 		icons/vym-editor.xpm \
   341 		flagrowobj.h \
   342 		misc.h \
   343 		xml.h \
   344 		texteditor.h \
   345 		mapeditor.h \
   346 		findwindow.h \
   347 		mapcenterobj.h \
   348 		branchobj.h \
   349 		version.h \
   350 		floatimageobj.h \
   351 		linkablemapobj.h \
   352 		ornamentedobj.h \
   353 		floatobj.h \
   354 		frameobj.h \
   355 		noteobj.h \
   356 		headingobj.h \
   357 		mapobj.h \
   358 		flagobj.h \
   359 		imageobj.h
   360 
   361 mainwindow.o: mainwindow.cpp mainwindow.h \
   362 		version.h \
   363 		icons/filenew.xpm \
   364 		icons/fileopen.xpm \
   365 		icons/filesave.xpm \
   366 		icons/fileprint.xpm \
   367 		icons/editundo.xpm \
   368 		icons/editcopy.xpm \
   369 		icons/editcut.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 \
   381 		icons/flag-url.xpm \
   382 		icons/flag-vymlink.xpm \
   383 		icons/flag-scrolled-right.xpm \
   384 		flagrowobj.h \
   385 		texteditor.h \
   386 		mapeditor.h \
   387 		exporthtmldialog.h \
   388 		exportxhtmldialog.h \
   389 		showtextdialog.h \
   390 		process.h \
   391 		settings.h \
   392 		options.h \
   393 		xml.h \
   394 		findwindow.h \
   395 		mapcenterobj.h \
   396 		branchobj.h \
   397 		floatimageobj.h \
   398 		linkablemapobj.h \
   399 		ornamentedobj.h \
   400 		floatobj.h \
   401 		frameobj.h \
   402 		noteobj.h \
   403 		headingobj.h \
   404 		mapobj.h \
   405 		misc.h \
   406 		flagobj.h \
   407 		imageobj.h
   408 
   409 mapcenterobj.o: mapcenterobj.cpp mapcenterobj.h \
   410 		floatimageobj.h \
   411 		mapeditor.h \
   412 		branchobj.h \
   413 		version.h \
   414 		linkablemapobj.h \
   415 		ornamentedobj.h \
   416 		floatobj.h \
   417 		frameobj.h \
   418 		noteobj.h \
   419 		headingobj.h \
   420 		flagrowobj.h \
   421 		mapobj.h \
   422 		misc.h \
   423 		flagobj.h \
   424 		imageobj.h
   425 
   426 mapeditor.o: mapeditor.cpp mapeditor.h \
   427 		version.h \
   428 		xml.h \
   429 		texteditor.h \
   430 		linkablemapobj.h \
   431 		exports.h \
   432 		misc.h \
   433 		mainwindow.h \
   434 		extrainfodialog.h \
   435 		settings.h \
   436 		icons/flag-note.xpm \
   437 		icons/flag-url.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 \
   457 		mapcenterobj.h \
   458 		branchobj.h \
   459 		floatimageobj.h \
   460 		ornamentedobj.h \
   461 		floatobj.h \
   462 		frameobj.h \
   463 		noteobj.h \
   464 		headingobj.h \
   465 		flagrowobj.h \
   466 		mapobj.h \
   467 		flagobj.h \
   468 		imageobj.h \
   469 		findwindow.h
   470 
   471 mapobj.o: mapobj.cpp mapobj.h \
   472 		misc.h
   473 
   474 misc.o: misc.cpp misc.h
   475 
   476 noteobj.o: noteobj.cpp noteobj.h \
   477 		misc.h
   478 
   479 ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \
   480 		texteditor.h \
   481 		mapeditor.h \
   482 		linkablemapobj.h \
   483 		frameobj.h \
   484 		noteobj.h \
   485 		headingobj.h \
   486 		flagrowobj.h \
   487 		mapobj.h \
   488 		misc.h \
   489 		flagobj.h \
   490 		imageobj.h \
   491 		mapcenterobj.h \
   492 		branchobj.h \
   493 		version.h \
   494 		floatimageobj.h \
   495 		floatobj.h
   496 
   497 process.o: process.cpp process.h
   498 
   499 selection.o: selection.cpp selection.h \
   500 		linkablemapobj.h \
   501 		frameobj.h \
   502 		noteobj.h \
   503 		headingobj.h \
   504 		flagrowobj.h \
   505 		mapobj.h \
   506 		misc.h \
   507 		flagobj.h \
   508 		imageobj.h
   509 
   510 texteditor.o: texteditor.cpp texteditor.h \
   511 		icons/fileopen.xpm \
   512 		icons/filesave.xpm \
   513 		icons/fileprint.xpm \
   514 		icons/editundo.xpm \
   515 		icons/editredo.xpm \
   516 		icons/editcopy.xpm \
   517 		icons/editcut.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
   528 
   529 xml.o: xml.cpp xml.h \
   530 		misc.h \
   531 		settings.h \
   532 		version.h \
   533 		mapcenterobj.h \
   534 		mapeditor.h \
   535 		branchobj.h \
   536 		floatimageobj.h \
   537 		linkablemapobj.h \
   538 		ornamentedobj.h \
   539 		floatobj.h \
   540 		frameobj.h \
   541 		noteobj.h \
   542 		headingobj.h \
   543 		flagrowobj.h \
   544 		mapobj.h \
   545 		flagobj.h \
   546 		imageobj.h
   547 
   548 settings.o: settings.cpp settings.h \
   549 		misc.h
   550 
   551 options.o: options.cpp options.h
   552 
   553 exporthtmldialog.h: exporthtmldialog.ui showtextdialog.h
   554 	$(UIC) exporthtmldialog.ui -o exporthtmldialog.h
   555 
   556 exporthtmldialog.cpp: exporthtmldialog.h exporthtmldialog.ui showtextdialog.h
   557 	$(UIC) exporthtmldialog.ui -i exporthtmldialog.h -o exporthtmldialog.cpp
   558 
   559 exportxhtmldialog.h: exportxhtmldialog.ui process.h \
   560 		showtextdialog.h
   561 	$(UIC) exportxhtmldialog.ui -o exportxhtmldialog.h
   562 
   563 exportxhtmldialog.cpp: exportxhtmldialog.h exportxhtmldialog.ui process.h \
   564 		showtextdialog.h
   565 	$(UIC) exportxhtmldialog.ui -i exportxhtmldialog.h -o exportxhtmldialog.cpp
   566 
   567 showtextdialog.h: showtextdialog.ui 
   568 	$(UIC) showtextdialog.ui -o showtextdialog.h
   569 
   570 showtextdialog.cpp: showtextdialog.h showtextdialog.ui 
   571 	$(UIC) showtextdialog.ui -i showtextdialog.h -o showtextdialog.cpp
   572 
   573 extrainfodialog.h: extrainfodialog.ui 
   574 	$(UIC) extrainfodialog.ui -o extrainfodialog.h
   575 
   576 extrainfodialog.cpp: extrainfodialog.h extrainfodialog.ui 
   577 	$(UIC) extrainfodialog.ui -i extrainfodialog.h -o extrainfodialog.cpp
   578 
   579 exporthtmldialog.o: exporthtmldialog.cpp settings.h \
   580 		misc.h \
   581 		icons/flag-url.xpm \
   582 		exporthtmldialog.ui.h \
   583 		exporthtmldialog.h
   584 
   585 exportxhtmldialog.o: exportxhtmldialog.cpp settings.h \
   586 		icons/flag-url.xpm \
   587 		exportxhtmldialog.ui.h \
   588 		exportxhtmldialog.h
   589 
   590 showtextdialog.o: showtextdialog.cpp showtextdialog.ui.h \
   591 		showtextdialog.h
   592 
   593 extrainfodialog.o: extrainfodialog.cpp extrainfodialog.ui.h \
   594 		extrainfodialog.h
   595 
   596 moc_findwindow.o: moc_findwindow.cpp  findwindow.h 
   597 
   598 moc_linkablemapobj.o: moc_linkablemapobj.cpp  linkablemapobj.h frameobj.h \
   599 		noteobj.h \
   600 		headingobj.h \
   601 		flagrowobj.h \
   602 		mapobj.h \
   603 		misc.h \
   604 		flagobj.h \
   605 		imageobj.h
   606 
   607 moc_mainwindow.o: moc_mainwindow.cpp  mainwindow.h xml.h \
   608 		texteditor.h \
   609 		mapeditor.h \
   610 		findwindow.h \
   611 		mapcenterobj.h \
   612 		branchobj.h \
   613 		version.h \
   614 		floatimageobj.h \
   615 		linkablemapobj.h \
   616 		ornamentedobj.h \
   617 		floatobj.h \
   618 		frameobj.h \
   619 		noteobj.h \
   620 		headingobj.h \
   621 		flagrowobj.h \
   622 		mapobj.h \
   623 		misc.h \
   624 		flagobj.h \
   625 		imageobj.h
   626 
   627 moc_mapeditor.o: moc_mapeditor.cpp  mapeditor.h mapcenterobj.h \
   628 		misc.h \
   629 		branchobj.h \
   630 		version.h \
   631 		floatimageobj.h \
   632 		linkablemapobj.h \
   633 		ornamentedobj.h \
   634 		floatobj.h \
   635 		frameobj.h \
   636 		noteobj.h \
   637 		headingobj.h \
   638 		flagrowobj.h \
   639 		mapobj.h \
   640 		flagobj.h \
   641 		imageobj.h
   642 
   643 moc_ornamentedobj.o: moc_ornamentedobj.cpp  ornamentedobj.h linkablemapobj.h \
   644 		frameobj.h \
   645 		noteobj.h \
   646 		headingobj.h \
   647 		flagrowobj.h \
   648 		mapobj.h \
   649 		misc.h \
   650 		flagobj.h \
   651 		imageobj.h
   652 
   653 moc_process.o: moc_process.cpp  process.h 
   654 
   655 moc_texteditor.o: moc_texteditor.cpp  texteditor.h 
   656 
   657 moc_exporthtmldialog.o: moc_exporthtmldialog.cpp  exporthtmldialog.h showtextdialog.h
   658 
   659 moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp  exportxhtmldialog.h process.h \
   660 		showtextdialog.h
   661 
   662 moc_showtextdialog.o: moc_showtextdialog.cpp  showtextdialog.h 
   663 
   664 moc_extrainfodialog.o: moc_extrainfodialog.cpp  extrainfodialog.h 
   665 
   666 moc_findwindow.cpp: $(MOC) findwindow.h
   667 	$(MOC) findwindow.h -o moc_findwindow.cpp
   668 
   669 moc_linkablemapobj.cpp: $(MOC) linkablemapobj.h
   670 	$(MOC) linkablemapobj.h -o moc_linkablemapobj.cpp
   671 
   672 moc_mainwindow.cpp: $(MOC) mainwindow.h
   673 	$(MOC) mainwindow.h -o moc_mainwindow.cpp
   674 
   675 moc_mapeditor.cpp: $(MOC) mapeditor.h
   676 	$(MOC) mapeditor.h -o moc_mapeditor.cpp
   677 
   678 moc_ornamentedobj.cpp: $(MOC) ornamentedobj.h
   679 	$(MOC) ornamentedobj.h -o moc_ornamentedobj.cpp
   680 
   681 moc_process.cpp: $(MOC) process.h
   682 	$(MOC) process.h -o moc_process.cpp
   683 
   684 moc_texteditor.cpp: $(MOC) texteditor.h
   685 	$(MOC) texteditor.h -o moc_texteditor.cpp
   686 
   687 moc_exporthtmldialog.cpp: $(MOC) exporthtmldialog.h
   688 	$(MOC) exporthtmldialog.h -o moc_exporthtmldialog.cpp
   689 
   690 moc_exportxhtmldialog.cpp: $(MOC) exportxhtmldialog.h
   691 	$(MOC) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp
   692 
   693 moc_showtextdialog.cpp: $(MOC) showtextdialog.h
   694 	$(MOC) showtextdialog.h -o moc_showtextdialog.cpp
   695 
   696 moc_extrainfodialog.cpp: $(MOC) extrainfodialog.h
   697 	$(MOC) extrainfodialog.h -o moc_extrainfodialog.cpp
   698 
   699 ####### Install
   700 
   701 install_target: all 
   702 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/"
   703 	-$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   704 
   705 uninstall_target: 
   706 	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
   707 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/bin/"
   708 
   709 
   710 install_support: all 
   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/"
   715 
   716 
   717 uninstall_support: 
   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/"
   722 
   723 
   724 install_demo: all 
   725 	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/vym/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/vym/"
   726 	-$(INSTALL_DIR) "demos" "$(INSTALL_ROOT)/usr/share/vym/"
   727 
   728 
   729 uninstall_demo: 
   730 	-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/vym/demos"
   731 	-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/vym/"
   732 
   733 
   734 install: install_target install_support install_demo  
   735 
   736 uninstall: uninstall_target uninstall_support uninstall_demo  
   737