vym.pro
author insilmaril
Tue, 23 Oct 2007 13:05:22 +0000
changeset 611 a1ae877b438d
parent 608 6cdc2e7b1937
child 620 24bfecc949a0
permissions -rw-r--r--
Fixes for compiling with gcc 4.3
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@608
    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@388
    18
HEADERS	+= \	
insilmaril@388
    19
	aboutdialog.h \
insilmaril@477
    20
	animpoint.h \
insilmaril@105
    21
	branchobj.h \
insilmaril@423
    22
	branchpropwindow.h\
insilmaril@388
    23
	editxlinkdialog.h \
insilmaril@191
    24
	exportoofiledialog.h \
insilmaril@388
    25
	exportxhtmldialog.h\
insilmaril@0
    26
	exports.h \
insilmaril@388
    27
	extrainfodialog.h \
insilmaril@179
    28
	file.h \
insilmaril@0
    29
	findwindow.h \
insilmaril@0
    30
	flagobj.h \
insilmaril@0
    31
	flagrowobj.h \
insilmaril@0
    32
	floatimageobj.h \
insilmaril@0
    33
	floatobj.h \
insilmaril@0
    34
	frameobj.h \
insilmaril@0
    35
	headingobj.h \
insilmaril@434
    36
	highlighter.h \
insilmaril@380
    37
	historywindow.h \
insilmaril@0
    38
	imageobj.h \
insilmaril@205
    39
	imports.h \
insilmaril@0
    40
	linkablemapobj.h \
insilmaril@95
    41
	xlinkobj.h \
insilmaril@0
    42
	mainwindow.h \
insilmaril@0
    43
	mapcenterobj.h \
insilmaril@0
    44
	mapeditor.h \
insilmaril@0
    45
	mapobj.h \
insilmaril@0
    46
	misc.h \
insilmaril@0
    47
	noteobj.h \
insilmaril@388
    48
	options.h \
insilmaril@0
    49
	ornamentedobj.h \
insilmaril@432
    50
	parser.h \
insilmaril@0
    51
	process.h \
insilmaril@486
    52
	selection.h \
insilmaril@380
    53
	showtextdialog.h\
insilmaril@432
    54
	simplescripteditor.h\
insilmaril@0
    55
	texteditor.h \
insilmaril@0
    56
	version.h \
insilmaril@574
    57
	xml-base.h \
insilmaril@574
    58
	xml-vym.h \
insilmaril@566
    59
	xml-freemind.h \
insilmaril@205
    60
	xsltproc.h \
insilmaril@0
    61
	settings.h \
insilmaril@388
    62
	warningdialog.h
insilmaril@102
    63
insilmaril@388
    64
SOURCES	+= \
insilmaril@388
    65
	aboutdialog.cpp \
insilmaril@477
    66
	animpoint.cpp \
insilmaril@105
    67
	branchobj.cpp \
insilmaril@423
    68
	branchpropwindow.cpp \
insilmaril@388
    69
	editxlinkdialog.cpp \
insilmaril@191
    70
	exportoofiledialog.cpp \
insilmaril@0
    71
	exports.cpp \
insilmaril@388
    72
	exportxhtmldialog.cpp \
insilmaril@388
    73
	extrainfodialog.cpp \
insilmaril@179
    74
	file.cpp \
insilmaril@0
    75
	findwindow.cpp \
insilmaril@0
    76
	flagobj.cpp \
insilmaril@0
    77
	flagrowobj.cpp \
insilmaril@0
    78
	floatimageobj.cpp \
insilmaril@0
    79
	floatobj.cpp \
insilmaril@0
    80
	frameobj.cpp \
insilmaril@0
    81
	headingobj.cpp \
insilmaril@434
    82
	highlighter.cpp \
insilmaril@380
    83
	historywindow.cpp \
insilmaril@0
    84
	imageobj.cpp \
insilmaril@205
    85
	imports.cpp \
insilmaril@0
    86
	linkablemapobj.cpp \
insilmaril@95
    87
	xlinkobj.cpp \
insilmaril@0
    88
	main.cpp \
insilmaril@0
    89
	mainwindow.cpp \
insilmaril@0
    90
	mapcenterobj.cpp \
insilmaril@0
    91
	mapeditor.cpp \
insilmaril@0
    92
	mapobj.cpp \
insilmaril@0
    93
	misc.cpp \
insilmaril@0
    94
	noteobj.cpp \
insilmaril@388
    95
	options.cpp \
insilmaril@0
    96
	ornamentedobj.cpp \
insilmaril@432
    97
	parser.cpp \
insilmaril@0
    98
	process.cpp \
insilmaril@486
    99
	selection.cpp \
insilmaril@380
   100
	showtextdialog.cpp \
insilmaril@432
   101
	simplescripteditor.cpp \
insilmaril@0
   102
	texteditor.cpp \
insilmaril@395
   103
	version.cpp \
insilmaril@574
   104
	xml-base.cpp \
insilmaril@574
   105
	xml-vym.cpp \
insilmaril@566
   106
	xml-freemind.cpp \
insilmaril@205
   107
	xsltproc.cpp \
insilmaril@0
   108
	settings.cpp \
insilmaril@388
   109
	warningdialog.cpp 
insilmaril@102
   110
insilmaril@388
   111
FORMS = \
insilmaril@423
   112
	branchpropwindow.ui \
insilmaril@388
   113
	exportxhtmldialog.ui \
insilmaril@94
   114
	extrainfodialog.ui \
insilmaril@317
   115
	editxlinkdialog.ui \
insilmaril@388
   116
	historywindow.ui \
insilmaril@432
   117
	simplescripteditor.ui \
insilmaril@388
   118
	showtextdialog.ui \
insilmaril@317
   119
	warningdialog.ui
insilmaril@0
   120
insilmaril@380
   121
#The following lines were inserted by qt3to4
insilmaril@366
   122
QT += xml  
insilmaril@366
   123
insilmaril@102
   124
TARGET  = vym
insilmaril@398
   125
insilmaril@102
   126
TRANSLATIONS += lang/vym_de.ts
insilmaril@102
   127
TRANSLATIONS += lang/vym_en.ts
insilmaril@148
   128
TRANSLATIONS += lang/vym_es.ts
insilmaril@243
   129
TRANSLATIONS += lang/vym_it.ts
insilmaril@102
   130
insilmaril@608
   131
isEmpty( PREFIX ) {
insilmaril@608
   132
	PREFIX = /usr/local
insilmaril@608
   133
	count( INSTALLDIR, 1 ) {
insilmaril@608
   134
		PREFIX = $${INSTALLDIR}
insilmaril@608
   135
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   136
	}
insilmaril@608
   137
}
insilmaril@608
   138
isEmpty( BINDIR ) {
insilmaril@608
   139
	BINDIR = $${PREFIX}/bin
insilmaril@608
   140
}
insilmaril@608
   141
isEmpty( DATADIR ) {
insilmaril@608
   142
	DATADIR = $${PREFIX}/share
insilmaril@608
   143
}
insilmaril@608
   144
isEmpty( DOCDIR ) {
insilmaril@608
   145
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   146
}
insilmaril@608
   147
isEmpty( DEMODIR ) {
insilmaril@608
   148
	DEMODIR = $${DOCDIR}
insilmaril@360
   149
}
insilmaril@360
   150
insilmaril@360
   151
message( "Installation directory" )
insilmaril@608
   152
message( $$PREFIX )
insilmaril@360
   153
insilmaril@360
   154
insilmaril@608
   155
target.path = $${BINDIR}
insilmaril@102
   156
INSTALLS += target
insilmaril@102
   157
insilmaril@447
   158
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
insilmaril@608
   159
support.path = $${DATADIR}/vym
insilmaril@102
   160
INSTALLS += support 
insilmaril@102
   161
insilmaril@608
   162
doc.files = tex/vym.pdf
insilmaril@608
   163
doc.path = $${DOCDIR}
insilmaril@102
   164
INSTALLS += doc
insilmaril@608
   165
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   166
insilmaril@102
   167
demo.files = demos/
insilmaril@608
   168
demo.path = $${DEMODIR}
insilmaril@102
   169
INSTALLS += demo
insilmaril@102
   170