vym.pro
author insilmaril
Mon, 30 Mar 2009 07:50:51 +0000
branchrelease-1-12-maintained
changeset 63 e4d3a9313d04
parent 62 85683324f94a
child 64 4f305c07dd7c
permissions -rw-r--r--
Fixed export to KDE3 bookmarks
     1 TEMPLATE	= app
     2 LANGUAGE	= C++
     3 
     4 CONFIG	+= qt warn_on release debug
     5 CONFIG += x86 ppc
     6 
     7 TRANSLATIONS += lang/vym_de.ts
     8 TRANSLATIONS += lang/vym_en.ts
     9 TRANSLATIONS += lang/vym_es.ts
    10 TRANSLATIONS += lang/vym_fr.ts
    11 TRANSLATIONS += lang/vym_it.ts
    12 TRANSLATIONS += lang/vym_pt_BR.ts
    13 TRANSLATIONS += lang/vym_ru.ts
    14 TRANSLATIONS += lang/vym_zh_CN.ts
    15 TRANSLATIONS += lang/vym_zh_TW.ts
    16 
    17 # Manifest embedding was suggested by Qt docs somewhere...
    18 win32: CONFIG += embed_manifest_exe
    19 
    20 # Without this, M_PI, and M_PI_2 won`t be defined.
    21 win32:DEFINES *= _USE_MATH_DEFINES
    22 
    23 ICON =icons/vym.icns
    24 
    25 QT += qt3support
    26 QT += network
    27 
    28 HEADERS	+= \
    29 	aboutdialog.h \
    30 	animpoint.h \
    31 	attribute.h \
    32 	attributedelegate.h\
    33 	attributedialog.h \
    34 	attributewidget.h \
    35 	branchobj.h \
    36 	branchpropwindow.h\
    37 	editxlinkdialog.h \
    38 	exportoofiledialog.h \
    39 	exportxhtmldialog.h\
    40 	exports.h \
    41 	extrainfodialog.h \
    42 	file.h \
    43 	findwindow.h \
    44 	flagobj.h \
    45 	flagrowobj.h \
    46 	floatimageobj.h \
    47 	floatobj.h \
    48 	frameobj.h \
    49 	geometry.h \
    50 	headingobj.h \
    51 	highlighter.h \
    52 	historywindow.h \
    53 	imageobj.h \
    54 	imports.h \
    55 	linkablemapobj.h \
    56 	mainwindow.h \
    57 	mapcenterobj.h \
    58 	mapeditor.h \
    59 	mapobj.h \
    60 	misc.h \
    61 	noteobj.h \
    62 	options.h \
    63 	ornamentedobj.h \
    64 	parser.h \
    65 	process.h \
    66 	selection.h \
    67 	showtextdialog.h\
    68 	simplescripteditor.h\
    69 	texteditor.h \
    70 	version.h \
    71 	vymmodel.h \
    72 	xlinkobj.h \
    73 	xml-base.h \
    74 	xml-vym.h \
    75 	xml-freemind.h \
    76 	xmlobj.h\
    77 	xsltproc.h \
    78 	settings.h \
    79 	warningdialog.h
    80 
    81 SOURCES	+= \
    82 	aboutdialog.cpp \
    83 	animpoint.cpp \
    84 	attribute.cpp \
    85 	attributedelegate.cpp \
    86 	attributedialog.cpp \
    87 	attributewidget.cpp \
    88 	branchobj.cpp \
    89 	branchpropwindow.cpp \
    90 	editxlinkdialog.cpp \
    91 	exportoofiledialog.cpp \
    92 	exports.cpp \
    93 	exportxhtmldialog.cpp \
    94 	extrainfodialog.cpp \
    95 	file.cpp \
    96 	findwindow.cpp \
    97 	flagobj.cpp \
    98 	flagrowobj.cpp \
    99 	floatimageobj.cpp \
   100 	floatobj.cpp \
   101 	frameobj.cpp \
   102 	geometry.cpp \
   103 	headingobj.cpp \
   104 	highlighter.cpp \
   105 	historywindow.cpp \
   106 	imageobj.cpp \
   107 	imports.cpp \
   108 	linkablemapobj.cpp \
   109 	main.cpp \
   110 	mainwindow.cpp \
   111 	mapcenterobj.cpp \
   112 	mapeditor.cpp \
   113 	mapobj.cpp \
   114 	misc.cpp \
   115 	noteobj.cpp \
   116 	options.cpp \
   117 	ornamentedobj.cpp \
   118 	parser.cpp \
   119 	process.cpp \
   120 	selection.cpp \
   121 	showtextdialog.cpp \
   122 	simplescripteditor.cpp \
   123 	texteditor.cpp \
   124 	version.cpp \
   125 	vymmodel.cpp \
   126 	xlinkobj.cpp \
   127 	xml-base.cpp \
   128 	xml-vym.cpp \
   129 	xml-freemind.cpp \
   130 	xmlobj.cpp \
   131 	xsltproc.cpp \
   132 	settings.cpp \
   133 	warningdialog.cpp
   134 
   135 FORMS = \
   136 	attributewidget.ui \
   137 	branchpropwindow.ui \
   138 	exportxhtmldialog.ui \
   139 	extrainfodialog.ui \
   140 	editxlinkdialog.ui \
   141 	historywindow.ui \
   142 	simplescripteditor.ui \
   143 	showtextdialog.ui \
   144 	warningdialog.ui
   145 
   146 win32 {
   147 	HEADERS += mkdtemp.h
   148 	SOURCES += mkdtemp.cpp
   149 	RC_FILE = vym.rc
   150 }
   151 
   152 #The following lines were inserted by qt3to4
   153 QT += xml
   154 
   155 TARGET  = vym
   156 
   157 
   158 isEmpty( PREFIX ) {
   159 	PREFIX = /usr/local
   160 	count( INSTALLDIR, 1 ) {
   161 		PREFIX = $${INSTALLDIR}
   162 		message( "Please use PREFIX instead of INSTALLDIR" )
   163 	}
   164 }
   165 isEmpty( BINDIR ) {
   166 	BINDIR = $${PREFIX}/bin
   167 }
   168 isEmpty( DATADIR ) {
   169 	DATADIR = $${PREFIX}/share
   170 }
   171 isEmpty( DOCDIR ) {
   172 	DOCDIR = $${DATADIR}/doc/packages/vym
   173 }
   174 
   175 message( "Installation directory" )
   176 message( $$PREFIX )
   177 
   178 
   179 target.path = $${BINDIR}
   180 INSTALLS += target
   181 
   182 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
   183 support.path = $${DATADIR}/vym
   184 INSTALLS += support 
   185 
   186 doc.files = doc/vym.pdf
   187 doc.path = $${DOCDIR}
   188 INSTALLS += doc
   189 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   190