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/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  #
    2 # Makefile for some libs needed in the kernel.
    3 #
    4 # Note! Dependencies are done automagically by 'make dep', which also
    5 # removes any old dependencies. DON'T put your own dependencies here
    6 # unless it's something special (ie not a .c file).
    7 #
    8 
    9 L_TARGET := lib.a
   10 
   11 export-objs := cmdline.o dec_and_lock.o rwsem-spinlock.o rwsem.o \
   12                rbtree.o crc32.o
   13 
   14 obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o \
   15          bust_spinlocks.o rbtree.o dump_stack.o
   16 
   17 obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
   18 obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
   19 
   20 ifneq ($(CONFIG_HAVE_DEC_LOCK),y) 
   21   obj-y += dec_and_lock.o
   22 endif
   23 
   24 obj-$(CONFIG_CRC32)     += crc32.o
   25 
   26 subdir-$(CONFIG_ZLIB_INFLATE) += zlib_inflate
   27 subdir-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate
   28 
   29 include $(TOPDIR)/drivers/net/Makefile.lib
   30 include $(TOPDIR)/drivers/usb/Makefile.lib
   31 include $(TOPDIR)/fs/Makefile.lib
   32 include $(TOPDIR)/net/bluetooth/bnep/Makefile.lib
   33 
   34 # Include the subdirs, if necessary.
   35 obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
   36 
   37 
   38 include $(TOPDIR)/Rules.make
   39 
   40 crc32.o: crc32table.h
   41 
   42 gen_crc32table: gen_crc32table.c
   43         $(HOSTCC) $(HOSTCCFLAGS) -o $@ $<
   44 
   45 crc32table.h: gen_crc32table
   46         ./$< > $@

Cache object: 649a9f837727e143ce90595938a624bd


[ 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.