summaryrefslogtreecommitdiff
path: root/data/developer-cmds/make.sh
blob: 43b80ceebc5d05b9ca6eed1eb7754d2cd4bf51a5 (plain)
1
2
3
4
5
6
7
8
9
10
pkg:setup
pkg: mkdir -p /usr/bin

${PKG_TARG}-gcc -o hexdump/hexdump hexdump/{conv,display,hexdump,hexsyntax,odsyntax,parse}.c -D'__FBSDID(x)=' -D__DARWIN_C_LEVEL=200112L
pkg: cp -a hexdump/hexdump /usr/bin

for bin in ctags error rpcgen unifdef; do
    ${PKG_TARG}-gcc -o "${bin}/${bin}" "${bin}"/*.c -D_POSIX_C_SOURCE=200112L -DS_IREAD=S_IRUSR -DS_IWRITE=S_IWUSR
    pkg: cp -a "${bin}/${bin}" /usr/bin
done