diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-04 09:04:36 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-04 09:04:36 (EDT) |
commit | 3ef033b8988a62fe8a8e4d5e31c2febc1e25ae8c (patch) | |
tree | 642741813aac34ab6a9e37fd790ab95c2e9dfa9b | |
parent | 2c36b2eee9c82612a8cf03fd1cf8378cc7d3dcc6 (diff) |
build: Unify common configure options
This also adds "--with-termlib=tinfo" and "--with-ticlib=tic" to the
"build-ncursesw" target.
-rwxr-xr-x | build | 46 |
1 files changed, 18 insertions, 28 deletions
@@ -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 $@ |