summaryrefslogtreecommitdiffstats
path: root/fs/proc/Makefile
blob: e8bb4774f56c0edbad032d3c56f5bf54173e9125 (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
32
33
#
# 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
OX_OBJS  := openprom-dev.o
else
  ifeq ($(CONFIG_SUN_OPENPROMFS),m)
  M_OBJS += openpromfs.o
  OX_OBJS  := openprom-dev.o
  endif
endif

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

include $(TOPDIR)/Rules.make