flrig/scripts/builddist.sh
dave-w1hkj 65064a3b3b SunSDR2
* add support for SunSDR2 series of transceivers
    . serial support via virtual device
    . tci support via socket interface
      address/port configurable by operator
  * add identification of /dev/tnt* virtual devices created
    by tty0tty.
  * add power limit control.  disallow power above % of max
    when power limiting enabled (can still be ursurped at xcvr)
2022-05-16 09:35:47 -05:00

25 lines
615 B
Bash
Executable file

# build file to generate the distribution binary tarball
autoreconf
# build windows installation file
./configure \
$PKGCFG \
--host=i686-w64-mingw32.static \
--with-ptw32=$PREFIX/i686-w64-mingw32.static \
--with-libiconv-prefix=$PREFIX/iconv \
--enable-static \
PTW32_LIBS="-lpthread -lpcreposix -lpcre -lwinmm" \
FLTK_CONFIG=$PREFIX/i686-w64-mingw32.static/bin/fltk-config \
CXXFLAGS+="-std=c++11 -std=gnu++11"
make -j 8
$PREFIX/bin/i686-w64-mingw32.static-strip src/flrig.exe
make nsisinst
mv src/*setup*exe .
make clean
# build the distribution tarball
./configure
make distcheck
make clean