diff options
-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 $@ |