diff options
author | H. Peter Anvin <hpa@zytor.com> | 1997-10-06 21:29:59 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 1997-10-06 21:29:59 +0000 |
commit | 3b7c3119b95b43f970c8784fcc946cdc44f9e56d (patch) | |
tree | 4b1e65f09cd0529221d564d57961a5fb8d910799 /kernel4/Makefile | |
parent | 93aa1d55b4ffe513fb10d897dd52a09165484e4e (diff) | |
download | autofs3-3b7c3119b95b43f970c8784fcc946cdc44f9e56d.tar.gz autofs3-3b7c3119b95b43f970c8784fcc946cdc44f9e56d.tar.xz autofs3-3b7c3119b95b43f970c8784fcc946cdc44f9e56d.zip |
Added kernel v.4 code to the repository.
Diffstat (limited to 'kernel4/Makefile')
-rw-r--r-- | kernel4/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/kernel4/Makefile b/kernel4/Makefile new file mode 100644 index 0000000..a5c5421 --- /dev/null +++ b/kernel4/Makefile @@ -0,0 +1,35 @@ +# +# Makefile for the linux autofs-filesystem routines. +# +# We can build this either out of the kernel tree or the autofs tools tree. +# + +O_TARGET := autofs.o +O_OBJS := dir.o init.o inode.o inodehash.o ioctl.o symlink.o waitq.o + +M_OBJS := $(O_TARGET) + +ifdef TOPDIR +# +# Part of the kernel code +# +include $(TOPDIR)/Rules.make +else +# +# Standalone (handy for development) +# +include ../Makefile.rules + +CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I. -I../include -I$(KINCLUDE) $(MODFLAGS) + +all: $(O_TARGET) + +$(O_TARGET): $(O_OBJS) + $(LD) -r -o $(O_TARGET) $(O_OBJS) + +install: $(O_TARGET) + install -c $(O_TARGET) /lib/modules/`uname -r`/fs + +clean: + rm -f *.o *.s +endif |