2 #######################################################################
3 # first stage. generate auto-src for scale & slider.
4 #######################################################################
6 /bin/sh ./src/gen-scale.sh DSCALE DScale Double double ./include/gen-scale.h >include/dscale.h
7 /bin/sh ./src/gen-scale.sh FSCALE FScale Float float ./include/gen-scale.h >include/fscale.h
8 /bin/sh ./src/gen-scale.sh FSLIDER FSlider Float float ./include/gen-slider.h >include/fslider.h
9 /bin/sh ./src/gen-scale.sh SCALE Scale Int int ./include/gen-scale.h >include/scale.h
10 /bin/sh ./src/gen-scale.sh SLIDER Slider Int int ./include/gen-slider.h >include/slider.h
11 /bin/sh ./src/gen-scale.sh USCALE UScale Unsigned unsigned ./include/gen-scale.h >include/uscale.h
12 /bin/sh ./src/gen-scale.sh USLIDER USlider Unsigned unsigned ./include/gen-slider.h >include/uslider.h
13 /bin/sh ./src/gen-scale.sh DSCALE DScale Double double ./src/gen-scale.c >src/autosrc/dscale.c
14 /bin/sh ./src/gen-scale.sh FSCALE FScale Float float ./src/gen-scale.c >src/autosrc/fscale.c
15 /bin/sh ./src/gen-scale.sh FSLIDER FSlider Float float ./src/gen-slider.c >src/autosrc/fslider.c
16 /bin/sh ./src/gen-scale.sh SCALE Scale Int int ./src/gen-scale.c >src/autosrc/scale.c
17 /bin/sh ./src/gen-scale.sh SLIDER Slider Int int ./src/gen-slider.c >src/autosrc/slider.c
18 /bin/sh ./src/gen-scale.sh USCALE UScale Unsigned unsigned ./src/gen-scale.c >src/autosrc/uscale.c
19 /bin/sh ./src/gen-scale.sh USLIDER USlider Unsigned unsigned ./src/gen-slider.c >src/autosrc/uslider.c
22 #######################################################################
23 # second stage. compile $TUISRC for $TUILIB.
24 #######################################################################
26 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
27 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/dscale.c -o src/autosrc/dscale.o
28 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/fscale.c -o src/autosrc/fscale.o
29 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/fslider.c -o src/autosrc/fslider.o
30 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/scale.c -o src/autosrc/scale.o
31 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/slider.c -o src/autosrc/slider.o
32 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/uscale.c -o src/autosrc/uscale.o
33 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/autosrc/uslider.c -o src/autosrc/uslider.o
34 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/alphalist.c -o src/tuisrc/alphalist.o
35 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/binding.c -o src/tuisrc/binding.o
36 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/button.c -o src/tuisrc/button.o
37 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/buttonbox.c -o src/tuisrc/buttonbox.o
38 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/calendar.c -o src/tuisrc/calendar.o
39 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tui.c -o src/tuisrc/tui.o
40 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tui_compat.c -o src/tuisrc/tui_compat.o
41 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tui_display.c -o src/tuisrc/tui_display.o
42 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tui_objs.c -o src/tuisrc/tui_objs.o
43 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tui_params.c -o src/tuisrc/tui_params.o
44 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/tuiscreen.c -o src/tuisrc/tuiscreen.o
45 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/debug.c -o src/tuisrc/debug.o
46 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/dialog.c -o src/tuisrc/dialog.o
47 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/draw.c -o src/tuisrc/draw.o
48 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/entry.c -o src/tuisrc/entry.o
49 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/fselect.c -o src/tuisrc/fselect.o
50 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/get_index.c -o src/tuisrc/get_index.o
51 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/get_string.c -o src/tuisrc/get_string.o
52 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/graph.c -o src/tuisrc/graph.o
53 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/histogram.c -o src/tuisrc/histogram.o
54 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/itemlist.c -o src/tuisrc/itemlist.o
55 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/label.c -o src/tuisrc/label.o
56 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/marquee.c -o src/tuisrc/marquee.o
57 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/matrix.c -o src/tuisrc/matrix.o
58 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/mentry.c -o src/tuisrc/mentry.o
59 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/menu.c -o src/tuisrc/menu.o
60 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/popup_dialog.c -o src/tuisrc/popup_dialog.o
61 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/popup_label.c -o src/tuisrc/popup_label.o
62 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/position.c -o src/tuisrc/position.o
63 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/radio.c -o src/tuisrc/radio.o
64 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/scroll.c -o src/tuisrc/scroll.o
65 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/scroller.c -o src/tuisrc/scroller.o
66 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/selection.c -o src/tuisrc/selection.o
67 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/swindow.c -o src/tuisrc/swindow.o
68 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/select_file.c -o src/tuisrc/select_file.o
69 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/template.c -o src/tuisrc/template.o
70 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/traverse.c -o src/tuisrc/traverse.o
71 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/version.c -o src/tuisrc/version.o
72 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/view_file.c -o src/tuisrc/view_file.o
73 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/view_info.c -o src/tuisrc/view_info.o
74 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I./include -I./include -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/tuisrc/viewer.c -o src/tuisrc/viewer.o
76 gcc -L/lib -g -O2 -fPIC -shared -Wl,-soname,`basename libtui.so.1.0 .1.0`.0.0.1,-stats,-lc -o libtui.so.1.0 src/autosrc/dscale.o src/autosrc/fscale.o src/autosrc/fslider.o src/autosrc/scale.o src/autosrc/slider.o src/autosrc/uscale.o src/autosrc/uslider.o src/tuisrc/alphalist.o src/tuisrc/binding.o src/tuisrc/button.o src/tuisrc/buttonbox.o src/tuisrc/calendar.o src/tuisrc/tui.o src/tuisrc/tui_compat.o src/tuisrc/tui_display.o src/tuisrc/tui_objs.o src/tuisrc/tui_params.o src/tuisrc/tuiscreen.o src/tuisrc/debug.o src/tuisrc/dialog.o src/tuisrc/draw.o src/tuisrc/entry.o src/tuisrc/fselect.o src/tuisrc/get_index.o src/tuisrc/get_string.o src/tuisrc/graph.o src/tuisrc/histogram.o src/tuisrc/itemlist.o src/tuisrc/label.o src/tuisrc/marquee.o src/tuisrc/matrix.o src/tuisrc/mentry.o src/tuisrc/menu.o src/tuisrc/popup_dialog.o src/tuisrc/popup_label.o src/tuisrc/position.o src/tuisrc/radio.o src/tuisrc/scroll.o src/tuisrc/scroller.o src/tuisrc/selection.o src/tuisrc/swindow.o src/tuisrc/select_file.o src/tuisrc/template.o src/tuisrc/traverse.o src/tuisrc/version.o src/tuisrc/view_file.o src/tuisrc/view_info.o src/tuisrc/viewer.o -lncurses -L/lib
77 ln -s -f libtui.so.1.0 libtui.so.0.0.1
78 ln -s -f libtui.so.0.0.1 libtui.so
80 #######################################################################
81 # third stage. compile examples by 'cd examples && make prefix=/usr'.
82 #######################################################################
84 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
85 \e[032mlibtui.so.1.0 => all
\e[0m
86 cd examples && make prefix=/usr
87 make[1]: Entering directory '/mnt/lfs/build/ui-script/tui/examples'
88 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE alphalist_ex.c -o alphalist_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
89 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE bind_ex.c -o bind_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
90 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE buttonbox_ex.c -o buttonbox_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
91 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE calendar_ex.c -o calendar_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
92 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiscreen_ex.c -o tuiscreen_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
93 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE dialog_ex.c -o dialog_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
94 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE entry_ex.c -o entry_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
95 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE fscale_ex.c -o fscale_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
96 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE fselect_ex.c -o fselect_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
97 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE fslider_ex.c -o fslider_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
98 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE graph_ex.c -o graph_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
99 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE hello_ex.c -o hello_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
100 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE histogram_ex.c -o histogram_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
101 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE itemlist_ex.c -o itemlist_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
102 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE label_ex.c -o label_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
103 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE lowerTUIObject_ex.c -o lowerTUIObject_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
104 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE marquee_ex.c -o marquee_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
105 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE matrix_ex.c -o matrix_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
106 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE mentry_ex.c -o mentry_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
107 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE menu_ex.c -o menu_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
108 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE position_ex.c -o position_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
109 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE preprocess_ex.c -o preprocess_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
110 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE radio1_ex.c -o radio1_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
111 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE radio_ex.c -o radio_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
112 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE raiseTUIObject_ex.c -o raiseTUIObject_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
113 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE scale_ex.c -o scale_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
114 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE scroll_ex.c -o scroll_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
115 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE selection_ex.c -o selection_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
116 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE slider_ex.c -o slider_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
117 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE subwindow_ex.c -o subwindow_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
118 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE swindow_ex.c -o swindow_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
119 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE template_ex.c -o template_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
120 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE traverse_ex.c -o traverse_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
121 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE uslider_ex.c -o uslider_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
122 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE viewer_ex.c -o viewer_ex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
123 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE viewer_ex2.c -o viewer_ex2 -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
124 make[1]: Leaving directory '/mnt/lfs/build/ui-script/tui/examples'
127 #######################################################################
128 # forth stage. compile demoes by 'cd demos && make prefix=/usr'.
129 #######################################################################
131 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
132 cd demos && make prefix=/usr
133 make[1]: Entering directory '/mnt/lfs/build/ui-script/tui/demos'
134 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c fileview.c
135 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE fileview.o -o fileview -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
136 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c rolodex.c
137 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE rolodex.o -o rolodex -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
138 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c command.c
139 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE command.o -o command -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
140 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c clock.c
141 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE clock.o -o clock -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
142 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c stopSign.c
143 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE stopSign.o -o stopSign -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
144 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c appointment.c
145 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE appointment.o -o appointment -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
146 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -c vinstall.c
147 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE vinstall.o -o vinstall -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
148 make[1]: Leaving directory '/mnt/lfs/build/ui-script/tui/demos'
151 #######################################################################
152 # fifth stage. compile cli.
153 #######################################################################
155 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
156 cd cli && make prefix=/usr
157 make[1]: Entering directory '/mnt/lfs/build/ui-script/tui/cli'
158 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuialphalist.c -o tuialphalist -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
159 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuicalendar.c -o tuicalendar -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
160 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuidialog.c -o tuidialog -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
161 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuientry.c -o tuientry -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
162 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuifselect.c -o tuifselect -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
163 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiitemlist.c -o tuiitemlist -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
164 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuilabel.c -o tuilabel -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
165 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuimatrix.c -o tuimatrix -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
166 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuimentry.c -o tuimentry -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
167 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiradio.c -o tuiradio -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
168 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiscale.c -o tuiscale -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
169 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiscroll.c -o tuiscroll -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
170 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiselection.c -o tuiselection -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
171 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuislider.c -o tuislider -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
172 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuitemplate.c -o tuitemplate -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
173 gcc -g -O2 -fPIC -DHAVE_CONFIG_H -I../include -I./../include -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE tuiviewer.c -o tuiviewer -L.. -L/lib -Wl,-rpath,. -ltui -lncurses
174 make[1]: Leaving directory '/mnt/lfs/build/ui-script/tui/cli'
177 #######################################################################
178 # sixth stage. generate man pages.
179 #######################################################################
181 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
182 test -d man || mkdir man
183 /bin/sh ./src/gen-scale.sh DSCALE DScale Double double ./man/gen-scale.3 >man/tui_dscale.3
184 test -d man || mkdir man
185 /bin/sh ./src/gen-scale.sh FSCALE FScale Float float ./man/gen-scale.3 >man/tui_fscale.3
186 test -d man || mkdir man
187 /bin/sh ./src/gen-scale.sh FSLIDER FSlider Float float ./man/gen-slider.3 >man/tui_fslider.3
188 test -d man || mkdir man
189 /bin/sh ./src/gen-scale.sh SCALE Scale Int int ./man/gen-scale.3 >man/tui_scale.3
190 test -d man || mkdir man
191 /bin/sh ./src/gen-scale.sh SLIDER Slider Int int ./man/gen-slider.3 >man/tui_slider.3
192 test -d man || mkdir man
193 /bin/sh ./src/gen-scale.sh USCALE UScale Unsigned unsigned ./man/gen-scale.3 >man/tui_uscale.3
194 test -d man || mkdir man
195 /bin/sh ./src/gen-scale.sh USLIDER USlider Unsigned unsigned ./man/gen-slider.3 >man/tui_uslider.3
196 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX