]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/bsdbox/Makefile.base
When using flowtable llentrys can outlive the interface with which they're associated
[FreeBSD/FreeBSD.git] / tools / bsdbox / Makefile.base
1 #
2 # This builds a variety of "base" tools, useful for an embedded
3 # system.
4 #
5 # $FreeBSD$
6 #
7 CRUNCH_PROGS_sbin+=     dmesg sysctl init reboot
8 CRUNCH_PROGS_bin+=      ls cat dd df cp hostname kill mkdir sleep ps ln rm hostname
9 CRUNCH_PROGS_usr.bin+=  true false hexdump tail nc w head uname tset
10 CRUNCH_PROGS_usr.sbin+= gpioctl
11 CRUNCH_ALIAS_w=         uptime
12 CRUNCH_ALIAS_tset=      reset
13
14 CRUNCH_PROGS_usr.bin+=  vmstat systat
15 CRUNCH_LIBS+=           -ldevstat -lncursesw -lncurses -lmemstat -lkvm
16
17 CRUNCH_PROGS_usr.bin+=  tar cpio
18 # XXX SSL ?
19 CRUNCH_LIBS+=           -larchive -lbz2 -lz -llzma -lbsdxml -lssl -lcrypto
20
21 # Clear requires tput, and it's a shell script so it won't be crunched
22 CRUNCH_PROGS_usr.bin+=  tput
23
24 # sh
25 CRUNCH_PROGS_bin+=      sh
26 CRUNCH_ALIAS_sh= -sh
27 CRUNCH_SUPPRESS_LINK_-sh=       1
28 CRUNCH_BUILDTOOLS+=     bin/sh
29
30 # chown
31 CRUNCH_PROGS_usr.sbin+= chown
32 CRUNCH_ALIAS_chown=     chgrp
33
34 # Basic filesystem stuff
35 CRUNCH_PROGS_sbin+=     mount umount
36
37 # grep
38 # grep doesn't yet work -adrian
39 CRUNCH_PROGS_usr.bin+=  grep 
40
41 # less/more
42 CRUNCH_PROGS_usr.bin+=  less
43 CRUNCH_ALIAS_less=      more
44
45 # passwd
46 CRUNCH_PROGS_usr.bin+=  passwd
47 # These need to be shared, or PAM wants to include _all_ of the libraries
48 # at runtime.
49 CRUNCH_SHLIBS+= -lpam -lbsm
50
51 # gzip/gunzip
52 CRUNCH_PROGS_usr.bin+=  gzip
53 CRUNCH_ALIAS_gunzip=    gzip
54 CRUNCH_ALIAS_gzcat=     gzip
55 CRUNCH_LIBS+=           -lz -llzma -lbz2