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/servers/fs/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 # Makefile for File System (FS)
    2 SERVER = fs
    3 
    4 # directories
    5 u = /usr
    6 i = $u/include
    7 s = $i/sys
    8 h = $i/minix
    9 
   10 # programs, flags, etc.
   11 CC =    exec cc
   12 CFLAGS = -I$i $(EXTRA_OPTS)
   13 LDFLAGS = -i
   14 LIBS = -lsys -lsysutil -ltimers
   15 
   16 OBJ =   main.o open.o read.o write.o pipe.o dmap.o \
   17         device.o path.o mount.o link.o super.o inode.o \
   18         cache.o cache2.o filedes.o stadir.o protect.o time.o \
   19         lock.o misc.o utility.o select.o timers.o table.o \
   20         cdprobe.o
   21 
   22 # build local binary 
   23 all build:      $(SERVER)
   24 $(SERVER):      $(OBJ)
   25         $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
   26         install -S 512w $@
   27 
   28 # install with other servers
   29 install:        /usr/sbin/$(SERVER)
   30 /usr/sbin/$(SERVER):    $(SERVER)
   31         install -o root -cs $? $@       
   32 
   33 # clean up local files
   34 clean:
   35         rm -f $(SERVER) *.o *.bak 
   36 
   37 depend: 
   38         /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
   39 
   40 # Include generated dependencies.
   41 include .depend
   42 

Cache object: 719448a997657d13fe46699bbcd1c1b4


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