vym.pro
author insilmaril
Tue, 04 Dec 2007 12:32:56 +0000
changeset 626 96c8e6860e0c
parent 625 22955004d512
child 628 d7d0708b1c60
permissions -rw-r--r--
Fixed HideExport bug, changed pre- and postscript in XHTML export dialog
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@0
    38
	headingobj.h \
insilmaril@434
    39
	highlighter.h \
insilmaril@380
    40
	historywindow.h \
insilmaril@0
    41
	imageobj.h \
insilmaril@205
    42
	imports.h \
insilmaril@0
    43
	linkablemapobj.h \
insilmaril@0
    44
	mainwindow.h \
insilmaril@0
    45
	mapcenterobj.h \
insilmaril@0
    46
	mapeditor.h \
insilmaril@0
    47
	mapobj.h \
insilmaril@0
    48
	misc.h \
insilmaril@0
    49
	noteobj.h \
insilmaril@388
    50
	options.h \
insilmaril@0
    51
	ornamentedobj.h \
insilmaril@432
    52
	parser.h \
insilmaril@0
    53
	process.h \
insilmaril@486
    54
	selection.h \
insilmaril@380
    55
	showtextdialog.h\
insilmaril@432
    56
	simplescripteditor.h\
insilmaril@0
    57
	texteditor.h \
insilmaril@0
    58
	version.h \
insilmaril@620
    59
	xlinkobj.h \
insilmaril@574
    60
	xml-base.h \
insilmaril@574
    61
	xml-vym.h \
insilmaril@566
    62
	xml-freemind.h \
insilmaril@620
    63
	xmlobj.h\
insilmaril@205
    64
	xsltproc.h \
insilmaril@0
    65
	settings.h \
insilmaril@388
    66
	warningdialog.h
insilmaril@102
    67
insilmaril@388
    68
SOURCES	+= \
insilmaril@388
    69
	aboutdialog.cpp \
insilmaril@477
    70
	animpoint.cpp \
insilmaril@620
    71
	attribute.cpp \
insilmaril@625
    72
	attributewidget.cpp \
insilmaril@625
    73
	attributedialog.cpp \
insilmaril@105
    74
	branchobj.cpp \
insilmaril@423
    75
	branchpropwindow.cpp \
insilmaril@388
    76
	editxlinkdialog.cpp \
insilmaril@191
    77
	exportoofiledialog.cpp \
insilmaril@0
    78
	exports.cpp \
insilmaril@388
    79
	exportxhtmldialog.cpp \
insilmaril@388
    80
	extrainfodialog.cpp \
insilmaril@179
    81
	file.cpp \
insilmaril@0
    82
	findwindow.cpp \
insilmaril@0
    83
	flagobj.cpp \
insilmaril@0
    84
	flagrowobj.cpp \
insilmaril@0
    85
	floatimageobj.cpp \
insilmaril@0
    86
	floatobj.cpp \
insilmaril@0
    87
	frameobj.cpp \
insilmaril@0
    88
	headingobj.cpp \
insilmaril@434
    89
	highlighter.cpp \
insilmaril@380
    90
	historywindow.cpp \
insilmaril@0
    91
	imageobj.cpp \
insilmaril@205
    92
	imports.cpp \
insilmaril@0
    93
	linkablemapobj.cpp \
insilmaril@0
    94
	main.cpp \
insilmaril@0
    95
	mainwindow.cpp \
insilmaril@0
    96
	mapcenterobj.cpp \
insilmaril@0
    97
	mapeditor.cpp \
insilmaril@0
    98
	mapobj.cpp \
insilmaril@0
    99
	misc.cpp \
insilmaril@0
   100
	noteobj.cpp \
insilmaril@388
   101
	options.cpp \
insilmaril@0
   102
	ornamentedobj.cpp \
insilmaril@432
   103
	parser.cpp \
insilmaril@0
   104
	process.cpp \
insilmaril@486
   105
	selection.cpp \
insilmaril@380
   106
	showtextdialog.cpp \
insilmaril@432
   107
	simplescripteditor.cpp \
insilmaril@0
   108
	texteditor.cpp \
insilmaril@395
   109
	version.cpp \
insilmaril@620
   110
	xlinkobj.cpp \
insilmaril@574
   111
	xml-base.cpp \
insilmaril@574
   112
	xml-vym.cpp \
insilmaril@566
   113
	xml-freemind.cpp \
insilmaril@620
   114
	xmlobj.cpp \
insilmaril@205
   115
	xsltproc.cpp \
insilmaril@0
   116
	settings.cpp \
insilmaril@625
   117
	warningdialog.cpp
insilmaril@102
   118
insilmaril@388
   119
FORMS = \
insilmaril@625
   120
	attributewidget.ui \
insilmaril@625
   121
	attributedialog.ui \
insilmaril@423
   122
	branchpropwindow.ui \
insilmaril@388
   123
	exportxhtmldialog.ui \
insilmaril@94
   124
	extrainfodialog.ui \
insilmaril@317
   125
	editxlinkdialog.ui \
insilmaril@388
   126
	historywindow.ui \
insilmaril@432
   127
	simplescripteditor.ui \
insilmaril@388
   128
	showtextdialog.ui \
insilmaril@317
   129
	warningdialog.ui
insilmaril@0
   130
insilmaril@625
   131
win32 {
insilmaril@625
   132
	HEADERS += mkdtemp.h
insilmaril@625
   133
	SOURCES += mkdtemp.cpp
insilmaril@625
   134
	RC_FILE = vym.rc
insilmaril@625
   135
}
insilmaril@625
   136
insilmaril@380
   137
#The following lines were inserted by qt3to4
insilmaril@625
   138
QT += xml
insilmaril@366
   139
insilmaril@102
   140
TARGET  = vym
insilmaril@398
   141
insilmaril@102
   142
TRANSLATIONS += lang/vym_de.ts
insilmaril@102
   143
TRANSLATIONS += lang/vym_en.ts
insilmaril@148
   144
TRANSLATIONS += lang/vym_es.ts
insilmaril@243
   145
TRANSLATIONS += lang/vym_it.ts
insilmaril@102
   146
insilmaril@608
   147
isEmpty( PREFIX ) {
insilmaril@608
   148
	PREFIX = /usr/local
insilmaril@608
   149
	count( INSTALLDIR, 1 ) {
insilmaril@608
   150
		PREFIX = $${INSTALLDIR}
insilmaril@608
   151
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   152
	}
insilmaril@608
   153
}
insilmaril@608
   154
isEmpty( BINDIR ) {
insilmaril@608
   155
	BINDIR = $${PREFIX}/bin
insilmaril@608
   156
}
insilmaril@608
   157
isEmpty( DATADIR ) {
insilmaril@608
   158
	DATADIR = $${PREFIX}/share
insilmaril@608
   159
}
insilmaril@608
   160
isEmpty( DOCDIR ) {
insilmaril@608
   161
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   162
}
insilmaril@608
   163
isEmpty( DEMODIR ) {
insilmaril@608
   164
	DEMODIR = $${DOCDIR}
insilmaril@360
   165
}
insilmaril@360
   166
insilmaril@360
   167
message( "Installation directory" )
insilmaril@608
   168
message( $$PREFIX )
insilmaril@360
   169
insilmaril@360
   170
insilmaril@608
   171
target.path = $${BINDIR}
insilmaril@102
   172
INSTALLS += target
insilmaril@102
   173
insilmaril@447
   174
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
insilmaril@608
   175
support.path = $${DATADIR}/vym
insilmaril@102
   176
INSTALLS += support 
insilmaril@102
   177
insilmaril@625
   178
doc.files = doc/vym.pdf
insilmaril@608
   179
doc.path = $${DOCDIR}
insilmaril@102
   180
INSTALLS += doc
insilmaril@608
   181
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   182
insilmaril@102
   183
demo.files = demos/
insilmaril@608
   184
demo.path = $${DEMODIR}
insilmaril@102
   185
INSTALLS += demo