summaryrefslogtreecommitdiff
path: root/data/network-cmds/make.sh
blob: e1b564df3f45b5210e09bfcf6f189eefde857b9f (plain)
1
2
3
4
5
6
7
8
9
shopt -s extglob
pkg:setup
for tproj in !(natd|ping|spray).tproj; do
    tproj=$(basename "${tproj}" .tproj)
    "${PKG_TARG}-gcc" -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
    pkg:usrbin "${tproj}"
done
"${PKG_TARG}-gcc" -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
pkg:usrbin natd