Linux 2.2.0
[davej-history.git] / fs / proc / Makefile
blobcd488e3289eea685262df77e61fbd4d627c439f0
2 # Makefile for the Linux proc filesystem routines.
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 (not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile.
10 O_TARGET := proc.o
11 O_OBJS := inode.o root.o base.o generic.o mem.o link.o fd.o array.o \
12 kmsg.o scsi.o proc_tty.o
13 ifdef CONFIG_OMIRR
14 O_OBJS := $(O_OBJS) omirr.o
15 endif
16 OX_OBJS := procfs_syms.o
17 M_OBJS :=
19 ifeq ($(CONFIG_SUN_OPENPROMFS),y)
20 O_OBJS += openpromfs.o
21 else
22 ifeq ($(CONFIG_SUN_OPENPROMFS),m)
23 M_OBJS += openpromfs.o
24 endif
25 endif
27 ifeq ($(CONFIG_PROC_DEVICETREE),y)
28 O_OBJS += proc_devtree.o
29 endif
31 include $(TOPDIR)/Rules.make