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