cleanup
[linux-2.4.git] / fs / jffs / Makefile
1 #
2 # Makefile for the linux Journalling Flash FileSystem (JFFS) routines.
3 #
4 # $Id: Makefile,v 1.11 2001/09/25 20:59:41 dwmw2 Exp $
5 #
6 # Note! Dependencies are done automagically by 'make dep', which also
7 # removes any old dependencies. DON'T put your own dependencies here
8 # unless it's something special (ie not a .c file).
9 #
10 # Note 2! The CFLAGS definitions are now in the main makefile...
11
12 list-multi := jffs.o
13
14 jffs-objs := jffs_fm.o intrep.o
15
16 ifeq ($(PATCHLEVEL),2)
17         jffs-objs += inode-v22.o
18 else
19         jffs-objs += inode-v23.o
20 endif
21
22 ifeq ($(CONFIG_JFFS_PROC_FS),y)
23         jffs-objs += jffs_proc.o
24 endif
25
26 O_TARGET := jffs.o
27
28 obj-y := $(jffs-objs)
29 obj-m := $(O_TARGET)
30
31 include $(TOPDIR)/Rules.make
32