summaryrefslogtreecommitdiff
path: root/data/network-cmds/make.sh
blob: aa20f9d384ac3b543b831480db48a5729b88f84b (plain)
1
2
3
4
5
6
7
8
9
shopt -s extglob
pkg:setup
for tproj in !(natd|ping|rarpd|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