summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild46
1 files changed, 18 insertions, 28 deletions
diff --git a/build b/build
index 80fa3bd..cd2a9d8 100755
--- a/build
+++ b/build
@@ -2,46 +2,36 @@
include ../source.mk
+common_opts = \
+ --without-ada \
+ --without-tests \
+ --with-pkg-config-libdir='/usr/lib/$(OPK_HOST_ARCH)/pkgconfig' \
+ --enable-pc-files \
+ --with-install-prefix="$${PWD}/dest" \
+ --with-shared \
+ --without-debug \
+ --without-profile \
+ --with-termlib=tinfo \
+ --with-ticlib=tic \
+ --disable-termcap \
+ --enable-symlinks \
+ --enable-const
+
nop:
@:
build-ncurses:
oh-autoconfigure -B obj-ncurses -- \
- --without-ada \
- --without-tests \
- --with-pkg-config-libdir='/usr/lib/$(OPK_HOST_ARCH)/pkgconfig' \
- --enable-pc-files \
- --with-install-prefix="$${PWD}/dest" \
- --with-shared \
- --without-debug \
- --without-profile \
- --with-termlib=tinfo \
- --with-ticlib=tic \
- --disable-termcap \
- --enable-symlinks \
- --enable-const
+ $(common_opts)
oh-autobuild -B obj-ncurses
touch $@
build-ncursesw:
oh-autoconfigure -B obj-ncursesw -- \
+ $(common_opts) \
--includedir=/usr/include/ncursesw \
- --without-ada \
- --without-manpages \
--without-progs \
- --without-tests \
- --with-pkg-config-libdir='/usr/lib/$(OPK_HOST_ARCH)/pkgconfig' \
- --enable-pc-files \
- --with-install-prefix="$${PWD}/dest" \
- --with-shared \
- --without-debug \
- --without-profile \
- --without-termlib \
- --without-ticlib \
- --disable-termcap \
- --enable-symlinks \
- --enable-widec \
- --enable-const
+ --enable-widec
oh-autobuild -B obj-ncursesw
touch $@