-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Build.xml
137 lines (121 loc) · 5.72 KB
/
Build.xml
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
<xml>
<set name="lib_folder" value="${haxelib:haxeui-pdcurses}/lib" />
<section if="windows">
<files id="haxe">
<compilerflag value="-I${lib_folder}" />
<compilerflag value="-DPDC_FORCE_UTF8" />
<file name="${lib_folder}/pdcurses/initscr.c" />
<file name="${lib_folder}/pdcurses/kernel.c" />
<file name="${lib_folder}/pdcurses/outopts.c" />
<file name="${lib_folder}/pdcurses/inopts.c" />
<file name="${lib_folder}/pdcurses/refresh.c" />
<file name="${lib_folder}/pdcurses/window.c" />
<file name="${lib_folder}/pdcurses/overlay.c" />
<file name="${lib_folder}/pdcurses/touch.c" />
<file name="${lib_folder}/pdcurses/pad.c" />
<file name="${lib_folder}/pdcurses/clear.c" />
<file name="${lib_folder}/pdcurses/move.c" />
<file name="${lib_folder}/pdcurses/addch.c" />
<file name="${lib_folder}/pdcurses/scroll.c" />
<file name="${lib_folder}/pdcurses/slk.c" />
<file name="${lib_folder}/pdcurses/attr.c" />
<file name="${lib_folder}/pdcurses/color.c" />
<file name="${lib_folder}/pdcurses/printw.c" />
<file name="${lib_folder}/pdcurses/addstr.c" />
<file name="${lib_folder}/pdcurses/border.c" />
<file name="${lib_folder}/pdcurses/getch.c" />
<file name="${lib_folder}/pdcurses/mouse.c" />
<file name="${lib_folder}/pdcurses/bkgd.c" />
<file name="${lib_folder}/pdcurses/inch.c" />
<file name="${lib_folder}/pdcurses/getyx.c" />
<file name="${lib_folder}/pdcurses/panel.c" />
<file name="${lib_folder}/wincon/pdcdisp.c" />
<file name="${lib_folder}/wincon/pdcsetsc.c" />
<file name="${lib_folder}/wincon/pdcutil.c" />
<file name="${lib_folder}/wincon/pdcscrn.c" />
<file name="${lib_folder}/wincon/pdckbd.c" />
<file name="${lib_folder}/wincon/pdcgetsc.c" />
<file name="${lib_folder}/wincon/pdcclip.c" />
</files>
<target id="haxe" tool="linker" toolid="exe">
<lib name="Advapi32.lib" />
<lib name="Winmm.lib" />
</target>
</section>
<section if="linux">
<files id="haxe">
<!--
sudo apt-get install libxmu-dev
sudo apt-get install libx11-dev
sudo apt-get install libxaw7-dev
cd ${haxelib:haxeui-pdcurses}/lib/x11
sudo chmod +x configure
./configure
sudo chmod +x make
./make install
-->
<compilerflag value="-I${lib_folder}" />
<compilerflag value="-I/usr/include/X11" />
<compilerflag value="-DPDC_FORCE_UTF8" />
<file name="${lib_folder}/pdcurses/initscr.c" />
<file name="${lib_folder}/pdcurses/kernel.c" />
<file name="${lib_folder}/pdcurses/outopts.c" />
<file name="${lib_folder}/pdcurses/inopts.c" />
<file name="${lib_folder}/pdcurses/refresh.c" />
<file name="${lib_folder}/pdcurses/window.c" />
<file name="${lib_folder}/pdcurses/overlay.c" />
<file name="${lib_folder}/pdcurses/touch.c" />
<file name="${lib_folder}/pdcurses/pad.c" />
<file name="${lib_folder}/pdcurses/clear.c" />
<file name="${lib_folder}/pdcurses/move.c" />
<file name="${lib_folder}/pdcurses/addch.c" />
<file name="${lib_folder}/pdcurses/scroll.c" />
<file name="${lib_folder}/pdcurses/slk.c" />
<file name="${lib_folder}/pdcurses/attr.c" />
<file name="${lib_folder}/pdcurses/color.c" />
<file name="${lib_folder}/pdcurses/printw.c" />
<file name="${lib_folder}/pdcurses/addstr.c" />
<file name="${lib_folder}/pdcurses/border.c" />
<file name="${lib_folder}/pdcurses/getch.c" />
<file name="${lib_folder}/pdcurses/mouse.c" />
<file name="${lib_folder}/pdcurses/bkgd.c" />
<file name="${lib_folder}/pdcurses/inch.c" />
<file name="${lib_folder}/pdcurses/getyx.c" />
<file name="${lib_folder}/pdcurses/panel.c" />
<file name="${lib_folder}/x11/pdcdisp.c" />
<file name="${lib_folder}/x11/pdcsetsc.c" />
<file name="${lib_folder}/x11/pdcutil.c" />
<file name="${lib_folder}/x11/pdcscrn.c" />
<file name="${lib_folder}/x11/pdckbd.c" />
<file name="${lib_folder}/x11/pdcgetsc.c" />
<file name="${lib_folder}/x11/pdcclip.c" />
</files>
<target id="haxe" tool="linker" toolid="exe">
<!--
<flag value="-L/usr/lib/x86_64-linux-gnu" />
<flag value="/usr/local/lib/libXCurses.a" />
<flag value="-lXaw" />
<flag value="-lXmu" />
<flag value="-lXt" />
<flag value="-lX11" />
<flag value="-lXpm" />
<flag value="-lSM" />
<flag value="-lICE" />
<flag value="-lXext" />
-->
<flag value="-L/usr/local/lib" />
<flag value="-lXCurses" />
<!--
<flag value="-L/usr/lib/x86_64-linux-gnu" />
<flag value="-lXaw" />
<flag value="-lXmu" />
<flag value="-lXt" />
<flag value="-lX11" />
<flag value="-lXpm" />
<flag value="-lSM" />
<flag value="-lICE" />
<flag value="-lXext" />
-->
</target>
</section>
</xml>