summaryrefslogtreecommitdiffstats
path: root/fs/proc/Makefile
blob: 8ff6cd5223d4e6c1223321ad24a6c5a148433073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Makefile for the Linux proc 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 (not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile.

O_TARGET := proc.o
O_OBJS   := inode.o root.o base.o generic.o array.o \
		kmsg.o proc_tty.o proc_misc.o kcore.o
ifdef CONFIG_OMIRR
O_OBJS   := $(O_OBJS) omirr.o
endif
OX_OBJS  := procfs_syms.o
M_OBJS   := 

ifeq ($(CONFIG_SUN_OPENPROMFS),y)
O_OBJS += openpromfs.o
else
  ifeq ($(CONFIG_SUN_OPENPROMFS),m)
  M_OBJS += openpromfs.o
  endif
endif

ifeq ($(CONFIG_PROC_DEVICETREE),y)
O_OBJS += proc_devtree.o
endif

include $(TOPDIR)/Rules.make