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