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