Welcome to mirror list, hosted at ThFree Co, Russian Federation.

myrulib.bkl - github.com/lintest/myrulib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2825857e4674ad4b26c7046abd8fcf74b145a3cd (plain)
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
<?xml version="1.0" ?>
<makefile>

	<set var="BUILDDIR">build</set>
	
	<set var="WX_PORT_DEFAULT"></set>
	<set var="WX_UNICODE_DEFAULT">1</set>
	<set var="WX_DEBUG_DEFAULT">0</set>
	
	<if cond="FORMAT=='mingw'">
		<set var="WX_SHARED_DEFAULT">0</set>
		<set var="WX_VERSION_DEFAULT">28</set>
		<set var="DEFAULT_LDFLAGS">-static</set>
	</if>

	<if cond="FORMAT=='gnu'">
		<set var="WX_SHARED_DEFAULT">1</set>
		<set var="WX_VERSION_DEFAULT">2.8</set>
		<set var="WX_PORT_DEFAULT">gtk2</set>
	</if>
	
	<include file="./Presets/wx.bkl"/>
	<include file="datafiles.bkl"/>

	<lib id="expat_static" template="wx-lib" cond="WX_SHARED_DEFAULT=='0'">
		<define>HAVE_EXPAT_CONFIG_H</define>
		<sources>Expat/xmlparse.c</sources>
		<sources>Expat/xmlrole.c</sources>
		<sources>Expat/xmltok.c</sources>
		<sources>Expat/xmltok_impl.c</sources>
		<sources>Expat/xmltok_ns.c</sources>
		<include>Expat</include>
	</lib>

	<lib id="sqlite3_static" template="wx-lib" cond="WX_SHARED_DEFAULT=='0'">
		<sources>SQLite3/sqlite3.c</sources>
	</lib>
	
	<lib id="wxsqlite3_static" template="wx-lib">
		<include cond="WX_SHARED_DEFAULT=='0'">SQLite3</include>
		<include>WxSQLite3</include>
		<include>WxSQLite3</include>
		<sources>WxSQLite3/wxsqlite3.cpp</sources>
	</lib>
	
	<exe id="myrulib" template="wxgui">
		<define cond="WX_SHARED_DEFAULT=='0'">XML_STATIC</define>
		<sources>MyRuLib/BaseThread.cpp</sources>
		<sources>MyRuLib/BookExtractInfo.cpp</sources>
		<sources>MyRuLib/ExpThread.cpp</sources>
		<sources>MyRuLib/ExternalDlg.cpp</sources>
		<sources>MyRuLib/FbAboutDlg.cpp</sources>
		<sources>MyRuLib/FbAuthorList.cpp</sources>
		<sources>MyRuLib/FbBookData.cpp</sources>
		<sources>MyRuLib/FbBookEvent.cpp</sources>
		<sources>MyRuLib/FbBookList.cpp</sources>
		<sources>MyRuLib/FbBookMenu.cpp</sources>
		<sources>MyRuLib/FbBookPanel.cpp</sources>
		<sources>MyRuLib/FbBookThread.cpp</sources>
		<sources>MyRuLib/FbConfigDlg.cpp</sources>
		<sources>MyRuLib/FbConst.cpp</sources>
		<sources>MyRuLib/FbDatabase.cpp</sources>
		<sources>MyRuLib/FbDataOpenDlg.cpp</sources>
		<sources>MyRuLib/FbDataPath.cpp</sources>
		<sources>MyRuLib/FbDownloader.cpp</sources>
		<sources>MyRuLib/FbFrameAuthor.cpp</sources>
		<sources>MyRuLib/FbFrameBase.cpp</sources>
		<sources>MyRuLib/FbFrameBaseThread.cpp</sources>
		<sources>MyRuLib/FbFrameDownld.cpp</sources>
		<sources>MyRuLib/FbFrameFolder.cpp</sources>
		<sources>MyRuLib/FbFrameInfo.cpp</sources>
		<sources>MyRuLib/FbFrameHtml.cpp</sources>
		<sources>MyRuLib/FbFrameGenres.cpp</sources>
		<sources>MyRuLib/FbFrameSearch.cpp</sources>
		<sources>MyRuLib/FbGenres.cpp</sources>
		<sources>MyRuLib/FbLogStream.cpp</sources>
		<sources>MyRuLib/FbMainFrame.cpp</sources>
		<sources>MyRuLib/FbMainMenu.cpp</sources>
		<sources>MyRuLib/FbManager.cpp</sources>
		<sources>MyRuLib/FbParams.cpp</sources>
		<sources>MyRuLib/FbTreeListCtrl.cpp</sources>
		<sources>MyRuLib/FbUpdateThread.cpp</sources>
		<sources>MyRuLib/ImpContext.cpp</sources>
		<sources>MyRuLib/ImpThread.cpp</sources>
		<sources>MyRuLib/InfoCash.cpp</sources>
		<sources>MyRuLib/InfoThread.cpp</sources>
		<sources>MyRuLib/LimitedTextCtrl.cpp</sources>
		<sources>MyRuLib/MyRuLibApp.cpp</sources>
		<sources>MyRuLib/ParseCtx.cpp</sources>
		<sources>MyRuLib/ProgressBar.cpp</sources>
		<sources>MyRuLib/SettingsDlg.cpp</sources>
		<sources>MyRuLib/TitleThread.cpp</sources>
		<sources>MyRuLib/VacuumThread.cpp</sources>
		<sources>MyRuLib/ZipReader.cpp</sources>
		<sources>MyRuLib/md5.c</sources>
		<sources>MyRuLib/wx/base64.cpp</sources>
		<sources>MyRuLib/wx/treelistctrl.cpp</sources>
		<win32-res>MyRuLib/res/resource.rc</win32-res>
		<include>WxSQLite3</include>
		<library>wxsqlite3_static</library>
		<if cond="WX_SHARED_DEFAULT=='0'">
			<include>Expat</include>
			<include>SQLite3</include>
			<library>expat_static</library>
			<library>sqlite3_static</library>
		</if>
		<if cond="WX_SHARED_DEFAULT=='1'">
			<sys-lib>expat</sys-lib>
			<sys-lib>sqlite3</sys-lib>
		</if>
		<wx-lib>aui</wx-lib>
		<wx-lib>html</wx-lib>
		<wx-lib>core</wx-lib>
		<wx-lib>net</wx-lib>
		<wx-lib>base</wx-lib>
		<if cond="PLATFORM_WIN32=='1'">
			<postlink-command>strip ./build/myrulib.exe</postlink-command>
		</if>
		<if cond="PLATFORM_WIN32=='0'">
			<postlink-command>strip ./build/myrulib</postlink-command>
		</if>
		<app-type>gui</app-type>
		<threading>single</threading>
		<optimize>speed</optimize>
		<debug-info>off</debug-info>
		<runtime-libs cond="FORMAT=='mingw'">static</runtime-libs>
		<install-to cond="FORMAT=='gnu'">/usr/bin</install-to>
	</exe>
	
	<if cond="FORMAT=='gnu'">
		<data-files> 
			<srcdir>MyRuLib/desktop</srcdir>
			<files>home-32x32.png</files>
			<install-to>/usr/share/myrulib</install-to>
		</data-files>
		<data-files>
			<srcdir>MyRuLib/desktop</srcdir>
			<files>myrulib.desktop</files>
			<install-to>/usr/share/applications</install-to>
		</data-files>
	</if>
	
</makefile>