OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [devfs/] [Makefile] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#
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 "' >> 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.