# # Makefile for the linux Journalling Flash FileSystem (JFFS) routines. # # $Id: Makefile,v 1.34 2002/03/08 11:27:59 dwmw2 Exp $ # # 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 (ie not a .c file). # # Note 2! The CFLAGS definitions are now in the main makefile... COMPR_OBJS := compr.o compr_rubin.o compr_rtime.o compr_zlib.o JFFS2_OBJS := dir.o file.o ioctl.o nodelist.o malloc.o \ read.o nodemgmt.o readinode.o write.o scan.o gc.o \ symlink.o build.o erase.o background.o fs.o writev.o LINUX_OBJS-24 := super-v24.o crc32.o LINUX_OBJS-25 := super.o NAND_OBJS-$(CONFIG_JFFS2_FS_NAND) := wbuf.o PROC_FS_OBJS-$(CONFIG_JFFS2_PROC_FS) := jffs2_proc.o NODEMERGE_OBJS-$(CONFIG_JFFS2_NODEMERGE) := nodemerge.o #subdir-y := compressors O_TARGET := jffs2.o obj-y := $(COMPR_OBJS) $(JFFS2_OBJS) $(VERS_OBJS) $(NAND_OBJS-y) $(PROC_FS_OBJS-y) \ $(NODEMERGE_OBJS-y) $(LINUX_OBJS-$(VERSION)$(PATCHLEVEL)) obj-m := $(O_TARGET) obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o)) include $(TOPDIR)/Rules.make