~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/fs/devfs/Makefile

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #
  2 # Makefile for the linux devfs-filesystem routines.
  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 # Note 2! The CFLAGS definitions are now in the main makefile...
  9 
 10 O_TARGET := devfs.o
 11 
 12 export-objs := base.o util.o
 13 
 14 obj-y   := base.o util.o
 15 
 16 # Special case to support building documentation
 17 ifndef TOPDIR
 18 TOPDIR = ../..
 19 endif
 20 
 21 include $(TOPDIR)/Rules.make
 22 
 23 
 24 # Rule to build documentation
 25 doc:    base.c util.c
 26         @echo '$$PACKAGE devfs' > devfs.doc
 27         @echo '$$NAME Linux Kernel' >> devfs.doc
 28         @echo '$$SUMMARY devfs (Device FileSystem) functions' >> devfs.doc
 29         @echo '$$SYNOPSIS "#include <linux/devfs_fs.h>"' >> devfs.doc
 30         @echo '$$END' >> devfs.doc
 31         c2doc base.c util.c >> devfs.doc
 32         karma_doc2man -section 9 devfs.doc .
 33         rm devfs.doc
 34         gzip --best *.9
 35         mv *.9.gz /usr/man/man9
 36 
 37 
 38 # Rule for test compiling
 39 test:
 40         gcc -o /tmp/base.o -D__KERNEL__ -I../../include -Wall \
 41         -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe \
 42         -fno-strength-reduce   -DEXPORT_SYMTAB -c base.c

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.