File: BASIC256.pro

package info (click to toggle)
basic256 0.9.6.69a-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,304 kB
  • sloc: cpp: 7,778; yacc: 926; lex: 575; sh: 21; makefile: 7
file content (216 lines) | stat: -rw-r--r-- 6,096 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
######################################################################
# Automatically generated by qmake (2.00a) Fri Sep 15 19:35:58 2006
######################################################################

TEMPLATE		=	app
TARGET			=	basic256
DEPENDPATH		+=	.
INCLUDEPATH		+=	.
TMAKE_CXXFLAGS = -g 
CONFIG          	+=  qt debug_and_release
OBJECTS_DIR		=	tmp/obj
MOC_DIR			=	tmp/moc
QT			+=	webkit
RESOURCES		+=	resources/resource.qrc
RC_FILE         =   resources/basic256.rc
TRANSLATIONS	=	Translations/basic256_en_US.ts \
		        	Translations/basic256_de.ts \
		        	Translations/basic256_ru_RU.ts \
		        	Translations/basic256_sp.ts \
		        	Translations/basic256_nl.ts
LIBS			+= -lsqlite3

win32 {
	# use SAPI for speech
	DEFINES 		+= WIN32
	DEFINES 		+= USEQSOUND
	LIBS			+= -lole32 \
				-lsapi \
				-lws2_32 \
				-lwinmm


}

unix:!macx {
	## this is the LINUX (unix-non-mac)
	DEFINES		+= LINUX
	
	## TTS Option 1 - ececute 'espak' command to speak 
	#DEFINES		+= 	LINUX_ESPEAK_EXECUTE

	## TTS Option 2 - use the espeak library
	DEFINES		+= 	LINUX_ESPEAK
	INCLUDEPATH		+=	/usr/include/espeak
	LIBS			+=	-lespeak

	## TTS Option 3 - use the flite library
	#DEFINES			+= 	LINUX_FLITE
	#INCLUDEPATH		+=	/usr/include/flite
	#LIBS			+=	-lflite_cmu_us_kal16
	#LIBS			+=	-lflite
	#LIBS			+=	-lflite_cmulex
	#LIBS			+=	-lflite_usenglish
	
	LIBS			+=	-lm

	## include libraries for SDL audio for wav and sound output
	DEFINES 		+= USESDL
	LIBS			+= -lSDL
	LIBS			+= -lSDL_mixer

	## rules for make install
	examplesDiceFiles.files = ./Examples/dice/*.kbs \
				./Examples/dice/*.wav
	examplesDiceFiles.path = /usr/share/basic256/Examples/dice
	# INSTALLS += examplesDiceFiles
	examplesImgloadFiles.files = ./Examples/imgload/*.kbs \
				./Examples/imgload/*.png \
				./Examples/imgload/*.bmp
	examplesImgloadFiles.path = /usr/share/basic256/Examples/imgload
	# INSTALLS += examplesImgloadFiles
	examplesNetworkingFiles.files = ./Examples/networking/*.kbs
	examplesNetworkingFiles.path = /usr/share/basic256/Examples/networking
 	# INSTALLS += examplesNetworkingFiles
	examplesSpritesFiles.files = ./Examples/sprites/*.kbs \
				./Examples/sprites/*.wav \
				./Examples/sprites/*.png \
				./Examples/sprites/*.bmp
	examplesSpritesFiles.path = /usr/share/basic256/Examples/sprites
 	# INSTALLS += examplesSpritesFiles
	examplesTestingFiles.files = ./Examples/testing/*.kbs
	examplesTestingFiles.path = /usr/share/basic256/Examples/testing
	# INSTALLS += examplesTestingFiles
	examplesFiles.files = ./Examples/*.kbs
	examplesFiles.path = /usr/share/basic256/Examples
	# INSTALLS += examplesFiles
	transFiles.files = ./Translations/*.qm
	transFiles.path = /usr/share/basic256
	INSTALLS += transFiles
	# EN - english help files
	helpENFiles.files = ../doc/help/en/*.html \
		./help/en/*.css \
		./help/en/*.png \
		./help/en/*.jpg
	helpENFiles.path = /usr/share/basic256/help/en
	INSTALLS += helpENFiles
	# DE - german help files
	helpDEFiles.files = ../doc/help/de/*.html \
		./help/de/*.css \
		./help/de/*.png \
		./help/de/*.jpg
	helpDEFiles.path = /usr/share/basic256/help/de
	INSTALLS += helpDEFiles
	# ES - spanish help files
	helpESFiles.files = ../doc/help/es/*.html \
		./help/es/*.css \
		./help/es/*.png \
		./help/es/*.jpg
	helpESFiles.path = /usr/share/basic256/help/es
	INSTALLS += helpESFiles
	# FR - french help files
	helpFRFiles.files = ../doc/help/fr/*.html \
		./help/fr/*.css \
		./help/fr/*.png \
		./help/fr/*.jpg
	helpFRFiles.path = /usr/share/basic256/help/fr
	INSTALLS += helpFRFiles
	# RU - russian help files
	helpRUFiles.files = ../doc/help/ru/*.html \
		./help/ru/*.css \
		./help/ru/*.png \
		./help/ru/*.jpg
	helpRUFiles.path = /usr/share/basic256/help/ru
	INSTALLS += helpRUFiles
	# all language translation files
	transFiles.files = ./Translations/*.qm
	transFiles.path = /usr/share/basic256
	INSTALLS += transFiles
	# main program executable
	target.path = /usr/bin
	INSTALLS += target

}

macx {
	# macintosh
	DEFINES +=	MACX
	
	DEFINES +=  MACX_SAY
	
	ICON = resources/basic256.icns

	LIBS			+= -L/opt/local/lib
	INCLUDEPATH		+=	/opt/local/include

	## include libraries for SDL audio for wav and sound output
	DEFINES 		+= USESDL
	LIBS			+= -lSDL
	LIBS			+= -lSDL_mixer

	
}

exists( ./LEX/Makefile ) {
	message( Running make for ./LEX/Makefile )
	system( make -C ./LEX )
}
else { 
	error( Couldn't make LEX project - aborting... )
}


# Input
HEADERS 		+= 	LEX/basicParse.tab.h 
HEADERS 		+= 	BasicEdit.h 
HEADERS 		+= 	Interpreter.h 
HEADERS 		+= 	RunController.h 
HEADERS 		+= 	BasicOutput.h 
HEADERS 		+= 	BasicGraph.h 
HEADERS 		+= 	ErrorCodes.h 
HEADERS 		+= 	GhostButton.h 
HEADERS 		+= 	PauseButton.h 
HEADERS 		+= 	DockWidget.h
HEADERS			+=	BasicWidget.h
HEADERS			+=	ToolBar.h
HEADERS			+=	ViewWidgetIFace.h
HEADERS			+=	MainWindow.h
HEADERS			+=	Variables.h
HEADERS			+=	VariableWin.h
HEADERS			+=	DocumentationWin.h
HEADERS			+=	Version.h
HEADERS			+=	EditSyntaxHighlighter.h
HEADERS			+=	Stack.h
HEADERS			+=	PreferencesWin.h
HEADERS			+=	FindWin.h
HEADERS			+=	ReplaceWin.h
HEADERS			+=	md5.h

SOURCES 		+= 	LEX/lex.yy.c 
SOURCES 		+= 	LEX/basicParse.tab.c 
SOURCES 		+= 	BasicEdit.cpp 
SOURCES 		+= 	Interpreter.cpp 
SOURCES 		+= 	RunController.cpp 
SOURCES 		+= 	Main.cpp 
SOURCES 		+= 	BasicOutput.cpp 
SOURCES 		+= 	BasicGraph.cpp 
SOURCES 		+= 	GhostButton.cpp 
SOURCES 		+= 	PauseButton.cpp 
SOURCES 		+= 	DockWidget.cpp
SOURCES			+=	BasicWidget.cpp
SOURCES			+=	ToolBar.cpp
SOURCES			+=	ViewWidgetIFace.cpp
SOURCES			+=	MainWindow.cpp
SOURCES			+=	Variables.cpp
SOURCES			+=	VariableWin.cpp
SOURCES			+=	DocumentationWin.cpp
SOURCES			+=	EditSyntaxHighlighter.cpp
SOURCES			+=	Stack.cpp
SOURCES			+=	PreferencesWin.cpp
SOURCES			+=	FindWin.cpp
SOURCES			+=	ReplaceWin.cpp
SOURCES			+=	md5.cpp

# Generated Bison parser files
QMAKE_CLEAN		+=	LEX/basicParse.tab.h
QMAKE_CLEAN		+=	LEX/basicParse.tab.c