disable cxx binding for dist-win32

Hamlib-1.2.14
Stephane Fillod 2011-06-14 23:36:07 +02:00
rodzic 4e24dd6eee
commit ba7f19408a
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -46,18 +46,19 @@ dist-win32:
@# FIXME: Need to forge a file libusb.pc
$(am__cd) $(distdirw32)/_build \
&& ( test -d libltdl || ( libtoolize --ltdl && \
$(am__cd) libltdl && ./configure --host=i586-mingw32msvc && make ) ) \
$(am__cd) libltdl && ./configure --disable-static --host=i586-mingw32msvc && make ) ) \
&& ../../$(top_srcdir)/configure --disable-static \
--host=i586-mingw32msvc \
--prefix=`pwd`/../_inst \
--without-rpc-backends \
--without-cxx-binding \
PKG_CONFIG_LIBDIR=../../$(libusb_win32_bin_path)/lib/pkgconfig \
&& make $(AM_MAKEFLAGS) install
mkdir -p $(zipdir)/bin $(zipdir)/lib/msvc $(zipdir)/lib/gcc $(zipdir)/include
cp -a $(distdirw32)/_build/src/libhamlib.def $(zipdir)/lib/msvc/libhamlib-@ABI_VERSION@.def
cp -a $(distdirw32)/_inst/include/hamlib $(zipdir)/include/.
$(TODOS) $(zipdir)/lib/msvc/libhamlib-@ABI_VERSION@.def $(zipdir)/include/hamlib/*.h
@# C++ binding is useless on win32 because of its ABI
@# C++ binding is pointless on win32 because of its ABI
rm -f $(zipdir)/include/hamlib/{rig,rot}class.h
for f in README README.betatester LICENSE COPYING.LIB README_VB ; do \
cp -a $(top_srcdir)/$${f} $(zipdir)/$${f}.txt && $(TODOS) $(zipdir)/$${f}.txt ; done