Home | History | Annotate | Line # | Download | only in examples
really-big.conf revision 1.1.1.1
      1 # really-big.conf - just about everything, just for testing.
      2 #	This ends up having some good examples of the use of specials for
      3 #	those hard-to-reach programs.  I stopped when I got tired, but we
      4 #	could probably get even more stuff (like libexec stuff) in here.
      5 #
      6 #       This produces a 4608000 byte binary.  Pretty sick and twisted, eh?
      7 
      8 # =========================================================================
      9 
     10 srcdirs /usr/src/bin
     11 
     12 progs cat chmod cp csh date dd df domainname echo ed expr hostname kill
     13 progs ln ls mkdir mt mv ps pwd rcp rm rmail rmdir sh sleep stty sync test
     14 
     15 ln test [
     16 ln sh -sh
     17 
     18 
     19 # =========================================================================
     20 
     21 srcdirs /usr/src/sbin
     22 
     23 progs badsect bim clri disklabel dmesg dump dumpfs fdisk fsck halt
     24 progs ifconfig init mknod modload modunload mount mount_fdesc mount_isofs
     25 progs mount_kernfs mount_lofs mount_msdos mount_portal mount_procfs mountd 
     26 progs newfs nfsd nfsiod ping quotacheck reboot restore route routed savecore
     27 progs shutdown slattach swapon ttyflags tunefs umount
     28 # shell scripts: fastboot
     29 
     30 ln dump rdump
     31 ln restore rrestore
     32 
     33 
     34 # =========================================================================
     35 
     36 srcdirs /usr/src/usr.bin
     37 
     38 progs apropos ar asa at basename biff cal calendar cap_mkdb checknr chpass
     39 progs cksum cmp col colcrt colrm column comm compress crontab ctags cut
     40 progs dirname du env error expand false file find finger fmt fold fpr from
     41 progs fsplit fstat ftp getconf getopt gprof head hexdump id indent ipcrm
     42 progs ipcs join kdump ktrace last lastcomm leave lex lock logger locate
     43 progs login logname look m4 machine mail make man mesg mkfifo
     44 progs mkstr modstat more msgs netstat newsyslog nfsstat nice nm nohup
     45 progs pagesize passwd paste patch pr printenv printf quota ranlib
     46 progs renice rev rlogin rpcgen rpcinfo rsh rup ruptime rusers rwall rwho
     47 progs script sed showmount size soelim split strings strip su tail talk
     48 progs tcopy tee telnet tftp time tip tn3270 touch tput tr true tset tsort
     49 progs tty ul uname unexpand unifdef uniq units unvis users uudecode uuencode
     50 progs vacation vgrind vi vis vmstat w wall wc what whatis whereis who
     51 progs whois window write xargs xinstall xstr yacc yes ypcat ypmatch ypwhich
     52 
     53 # shell scripts: lorder mkdep shar which
     54 # problems: rdist uses libcompat.a(regex.o), which conflicts with 
     55 #           libedit(readline.o) over regerror().
     56 
     57 # special requirements
     58 
     59 special locate srcdir /usr/src/usr.bin/locate/locate
     60 special tn3270 srcdir /usr/src/usr.bin/tn3270/tn3270
     61 
     62 
     63 # =========================================================================
     64 
     65 srcdirs /usr/src/usr.sbin
     66 
     67 progs ac accton amd arp bad144 catman chown chroot config config.new cron
     68 progs dev_mkdb diskpart edquota flcopy gettable grfinfo hilinfo htable inetd
     69 progs iostat iteconfig kvm_mkdb mrouted mtree named portmap pppd
     70 progs pstat pwd_mkdb quot quotaon rarpd rbootd repquota rmt rpc.bootparamd
     71 progs rwhod sa sliplogin slstats spray sysctl syslogd tcpdump
     72 progs traceroute trpt trsp update vipw vnconfig ypbind yppoll ypset
     73 
     74 special amd srcdir /usr/src/usr.sbin/amd/amd
     75 special amd objs vers.amd.o afs_ops.o am_ops.o clock.o util.o xutil.o efs_ops.o mapc.o info_file.o info_hes.o info_ndbm.o info_passwd.o info_nis.o info_union.o map.o srvr_afs.o srvr_nfs.o mntfs.o misc_rpc.o mount_fs.o mtab.o mtab_bsd.o nfs_ops.o nfs_prot_svc.o nfs_start.o nfs_subr.o opts.o pfs_ops.o rpc_fwd.o sched.o sfs_ops.o amq_svc.o amq_subr.o umount_fs.o host_ops.o nfsx_ops.o ufs_ops.o ifs_ops.o amd.o get_args.o restart.o wire.o
     76 
     77 
     78 srcdirs /usr/src/usr.sbin/lpr		# lpr subsystem
     79 progs lpr lpc lpq lprm pac lptest
     80 special lpr srcdir /usr/src/usr.sbin/lpr/lpr
     81 
     82 srcdirs /usr/src/usr.sbin/sendmail	# sendmail subsystem
     83 progs mailstats makemap praliases sendmail
     84 special sendmail srcdir /usr/src/usr.sbin/sendmail/src
     85 ln sendmail newaliases
     86 ln sendmail mailq
     87 
     88 srcdirs /usr/src/usr.sbin/timed		# timed & timedc
     89 progs timed timedc
     90 special timed srcdir /usr/src/usr.sbin/timed/timed
     91 
     92 srcdirs /usr/src/usr.sbin/yp		# yp subsystem
     93 progs ypbind ypwhich ypcat ypmatch ypset yppoll
     94 
     95 
     96 # =========================================================================
     97 
     98 srcdirs /usr/src/gnu/usr.bin
     99 
    100 progs bc cpio diff diff3 gas gawk grep gzip sdiff sort tar
    101 # shell scripts: send-pr
    102 
    103 srcdirs /usr/src/gnu/usr.bin/ld		# ldd and ldconfig
    104 progs ld ldd ldconfig
    105 
    106 # rcs stuff loses because there are cross dependencies between librcs.a and
    107 # the individual programs.  The solution would be to specify the objpaths
    108 # directly for each one, and include the full path to librcs.a each the
    109 # objpaths.
    110 
    111 # srcdirs /usr/src/gnu/usr.bin/rcs	# rcs subsystem
    112 # progs ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog
    113 # # shell script: rcsfreeze
    114 # special rcs srcdir /usr/src/gnu/usr.bin/rcs/rcs
    115 # libs /usr/src/gnu/usr.bin/rcs/lib/obj/librcs.a
    116 
    117 # gdb loses too
    118 # progs gdb
    119 # special gdb srcdir /usr/src/gnu/usr.bin/gdb/gdb
    120 # libs /usr/src/gnu/usr.bin/gdb/bfd/obj/libbfd.a
    121 # libs /usr/src/gnu/usr.bin/gdb/readline/obj/libreadline.a
    122 # libs /usr/src/gnu/usr.bin/gdb/libiberty/obj/libiberty.a
    123 
    124 # groff has the same problem as rcs
    125 # srcdirs /usr/src/gnu/usr.bin/groff	# groff subsystem
    126 # progs groff troff tbl pic eqn grops grotty grodvi refer lookbib
    127 # progs indxbib lkbib tfmtodit addftinfo pfbtops psbb
    128 # shell script: nroff
    129 # special groff srcdir /usr/src/gnu/usr.bin/groff/groff
    130 # libs /usr/src/gnu/usr.bin/groff/libgroff/obj/libgroff.a
    131 # libs /usr/src/gnu/usr.bin/groff/libbib/obj/libbib.a
    132 # libs /usr/src/gnu/usr.bin/groff/libdriver/obj/libdriver.a
    133 
    134 srcdirs /usr/src/gnu/usr.bin/gcc2	# gcc & friends
    135 progs cc cpp cc1
    136 
    137 # cc1 has the same problem as rcs and groff, but since there's only one program
    138 # I'll go ahead and solve it as an example.
    139 
    140 special cc1 objpaths /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-parse.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-lang.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-lex.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-pragma.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-decl.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-typeck.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-convert.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-aux-info.o /usr/src/gnu/usr.bin/gcc2/cc1/obj/c-iterate.o /usr/src/gnu/usr.bin/gcc2/common/obj/libcc1.a
    141 
    142 ln gzip gunzip
    143 ln gzip gzcat
    144 
    145 libs -ledit -lgnumalloc -lc -lcrypt -ltermcap -lcurses -ltelnet -lutil -lkvm 
    146 libs -ll -ly -lm -lresolv -lrpcsvc -lcompat
    147