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.
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 sysvipc.o
14 O_OBJS
:= $(O_OBJS
) omirr.o
16 OX_OBJS
:= procfs_syms.o
19 ifeq ($(CONFIG_SUN_OPENPROMFS
),y
)
20 O_OBJS
+= openpromfs.o
22 ifeq ($(CONFIG_SUN_OPENPROMFS
),m
)
23 M_OBJS
+= openpromfs.o
27 ifeq ($(CONFIG_PROC_DEVICETREE
),y
)
28 O_OBJS
+= proc_devtree.o
31 include $(TOPDIR
)/Rules.make