The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/lib/libsa/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #       $NetBSD: Makefile,v 1.54.4.1 2004/05/22 17:13:31 he Exp $
    2 
    3 LIB=    sa
    4 NOPIC=  # defined
    5 NOPROFILE=# defined
    6 
    7 SA_USE_CREAD?= no               # Read compressed kernels
    8 SA_INCLUDE_NET?= yes            # Netboot via TFTP, NFS
    9 SA_USE_LOADFILE?= no            # Generic executable loading support
   10 
   11 #DEBUGCPPFLAGS= -DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
   12 CPPFLAGS=       -I${SADIR} ${SACPPFLAGS} ${SAMISCCPPFLAGS} \
   13                 -DCOMPAT_UFS ${DEBUGCPPFLAGS}
   14 
   15 #COPTS+= -ansi -pedantic -Wall
   16 
   17 .PATH.c: ${SADIR}
   18 
   19 # stand routines
   20 SRCS+=  alloc.c bcmp.c bcopy.c bzero.c errno.c exit.c exec.c files.c \
   21         getfile.c gets.c globals.c memcmp.c memcpy.c memmove.c memset.c \
   22         panic.c printf.c qsort.c snprintf.c sprintf.c strerror.c subr_prf.c \
   23         twiddle.c vsprintf.c checkpasswd.c
   24 
   25 # io routines
   26 SRCS+=  closeall.c dev.c disklabel.c dkcksum.c ioctl.c nullfs.c stat.c fstat.c
   27 SRCS+=  close.c lseek.c open.c read.c write.c
   28 .if (${SA_USE_CREAD} == "yes")
   29 CPPFLAGS+= -D__INTERNAL_LIBSA_CREAD
   30 SRCS+=  cread.c
   31 .endif
   32 
   33 .if (${SA_USE_LOADFILE} == "yes")
   34 SRCS+=  loadfile.c loadfile_aout.c loadfile_ecoff.c loadfile_elf32.c \
   35         loadfile_elf64.c
   36 .endif
   37 
   38 .if (${SA_INCLUDE_NET} == "yes")
   39 # network routines
   40 SRCS+=  arp.c ether.c ether_sprintf.c in_cksum.c net.c netif.c rpc.c udp.c
   41 
   42 # network info services:
   43 SRCS+=  bootp.c rarp.c bootparam.c
   44 
   45 # boot filesystems
   46 SRCS+=  nfs.c tftp.c
   47 .endif
   48 
   49 SRCS+=  lfsv1.c lfsv2.c ffsv1.c ffsv2.c ufs_ls.c cd9660.c ustarfs.c dosfs.c
   50 # for historic comparibility ufs == ffsv1
   51 SRCS+=  ufs.c
   52 
   53 # only needed during build
   54 libinstall::
   55 
   56 .undef DESTDIR
   57 .include <bsd.lib.mk>
   58 
   59 lib${LIB}.o:: ${OBJS}
   60         @echo building standard ${LIB} library
   61         @rm -f lib${LIB}.o
   62         @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`

Cache object: 39b07a75197ecbee319baf4199a4deda


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.