1# 2# Makefile for the Linux proc 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 (not a .c file). 7# 8# Note 2! The CFLAGS definitions are now in the main makefile. 9 10O_TARGET := proc.o 11O_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 13ifdef CONFIG_OMIRR 14O_OBJS := $(O_OBJS) omirr.o 15endif 16OX_OBJS := procfs_syms.o 17M_OBJS := 18 19ifeq ($(CONFIG_SUN_OPENPROMFS),y) 20O_OBJS += openpromfs.o 21else 22 ifeq ($(CONFIG_SUN_OPENPROMFS),m) 23 M_OBJS += openpromfs.o 24 endif 25endif 26 27ifeq ($(CONFIG_PROC_DEVICETREE),y) 28O_OBJS += proc_devtree.o 29endif 30 31include $(TOPDIR)/Rules.make 32

