URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [devfs/] [Makefile] - Rev 1774
Go to most recent revision | Compare with Previous | Blame | View Log
## Makefile for the linux devfs-filesystem routines.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...O_TARGET := devfs.oexport-objs := base.o util.oobj-y := base.o util.o# Special case to support building documentationifndef TOPDIRTOPDIR = ../..endifinclude $(TOPDIR)/Rules.make# Rule to build documentationdoc: base.c util.c@echo '$$PACKAGE devfs' > devfs.doc@echo '$$NAME Linux Kernel' >> devfs.doc@echo '$$SUMMARY devfs (Device FileSystem) functions' >> devfs.doc@echo '$$SYNOPSIS "#include <linux/devfs_fs.h>"' >> devfs.doc@echo '$$END' >> devfs.docc2doc base.c util.c >> devfs.dockarma_doc2man -section 9 devfs.doc .rm devfs.docgzip --best *.9mv *.9.gz /usr/man/man9# Rule for test compilingtest:gcc -o /tmp/base.o -D__KERNEL__ -I../../include -Wall \-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe \-fno-strength-reduce -DEXPORT_SYMTAB -c base.c
Go to most recent revision | Compare with Previous | Blame | View Log
