summaryrefslogtreecommitdiffstats
path: root/build
blob: 39de86c21efcafb55140dc9a6205000522d4149c (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
#!/usr/bin/make -f

build-ncurses:
	oh-autoconfigure -B obj-ncurses -- \
		--without-profile \
		--without-debug \
		--without-ada \
		--with-shared \
		--disable-termcap \
		--with-termlib=tinfo \
		--with-ticlib=tic \
		--disable-python
	oh-autobuild -B obj-ncurses
	touch $@

build-ncursesw:
	oh-autoconfigure -B obj-ncursesw -- \
		--includedir=/usr/include/ncursesw \
		--without-profile \
		--without-debug \
		--without-ada \
		--with-shared \
		--disable-termcap \
		--without-termlib \
		--without-ticlib \
		--enable-widec \
		--disable-python
	oh-autobuild -B obj-ncursesw
	touch $@

build: build-ncurses build-ncursesw

install: build
	oh-autoinstall -B obj-ncurses
	oh-autoinstall -B obj-ncursesw
	oh-installfiles