Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfs-driver-2.4
In directory usw-pr-cvs1:/tmp/cvs-serv25466
Modified Files:
Makefile.in configure configure.in
Added Files:
Makefile.module.in
Log Message:
moved module makefile outside linux tree
--- NEW FILE ---
# Copyright (C) 2001 Richard Russon
SRCDIR = linux/fs/ntfs
SRC = $(SRCDIR)/attr.c $(SRCDIR)/super.c \
$(SRCDIR)/dir.c $(SRCDIR)/support.c \
$(SRCDIR)/fs.c $(SRCDIR)/sysctl.c \
$(SRCDIR)/inode.c $(SRCDIR)/util.c
HDR = $(SRCDIR)/attr.h $(SRCDIR)/struct.h \
$(SRCDIR)/dir.h $(SRCDIR)/super.h \
$(SRCDIR)/inode.h $(SRCDIR)/support.h \
$(SRCDIR)/macros.h $(SRCDIR)/sysctl.h \
$(SRCDIR)/ntfsendian.h $(SRCDIR)/util.h \
$(SRCDIR)/ntfstypes.h
OBJ = $(SRCDIR)/attr.o $(SRCDIR)/super.o \
$(SRCDIR)/dir.o $(SRCDIR)/support.o \
$(SRCDIR)/fs.o $(SRCDIR)/sysctl.o \
$(SRCDIR)/inode.o $(SRCDIR)/util.o
OUT = ntfs.o
CC = gcc
LD = ld
RM = rm -f
CP = cp
INCLUDE = linux/include
LFLAGS = -m elf_i386 -r
CFLAGS += -g
#CFLAGS += -DHAVE_CONFIG_H
CFLAGS += -D__KERNEL__
#CFLAGS += -DNTFS_IN_LINUX_KERNEL
CFLAGS += -DNTFS_VERSION=\"010116\"
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes
CFLAGS += -O2
CFLAGS += -fomit-frame-pointer
CFLAGS += -fno-strict-aliasing
CFLAGS += -pipe
CFLAGS += -mpreferred-stack-boundary=2
CFLAGS += -march=i686
CFLAGS += -I.
CFLAGS += -I$(INCLUDE)
CFLAGS += -DMODULE
#CFLAGS += -DMODVERSIONS
#CFLAGS += -include $(LINUX)/include/linux/modversions.h
CFLAGS += -include $(INCLUDE)/linux/ntfs_fs.h
CFLAGS += -include $(INCLUDE)/linux/ntfs_fs_i.h
CFLAGS += -include $(INCLUDE)/linux/ntfs_fs_sb.h
all: $(SRCDIR)/$(OUT) $(OUT)
$(SRCDIR)/$(OUT): $(OBJ)
$(RM) $(SRCDIR)/$(OUT)
$(LD) $(LFLAGS) -o $(SRCDIR)/$(OUT) $(OBJ)
$(OUT): $(SRCDIR)/$(OUT)
$(CP) $(SRCDIR)/$(OUT) $(OUT)
$(OBJ): $(SRC) $(HDR)
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
#$(SRCDIR)/attr.c
#$(SRCDIR)/attr.o
#$(SRCDIR)/super.c
#$(SRCDIR)/super.o
#$(SRCDIR)/dir.c
#$(SRCDIR)/dir.o
#$(SRCDIR)/support.c
#$(SRCDIR)/support.o
#$(SRCDIR)/fs.c
#$(SRCDIR)/fs.o
#$(SRCDIR)/sysctl.c
#$(SRCDIR)/sysctl.o
#$(SRCDIR)/inode.c
#$(SRCDIR)/inode.o
#$(SRCDIR)/util.c
#$(SRCDIR)/util.o
clean:
$(RM) $(OUT) $(OBJ) $(SRCDIR)/$(OUT)
distclean: clean
$(RM) Makefile.module
#force:
#install:
#install-source:
#mount:
#tags:
#umount:
Index: Makefile.in
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-2.4/Makefile.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -U2 -r1.1.1.1 -r1.2
--- Makefile.in 2001/06/11 17:22:02 1.1.1.1
+++ Makefile.in 2001/06/12 00:03:05 1.2
@@ -2,11 +2,11 @@
all:
- make -C linux/fs/ntfs
+ make -f Makefile.module
clean:
- make -C linux/fs/ntfs clean
+ make -f Makefile.module clean
distclean:
- make -C linux/fs/ntfs distclean
+ make -f Makefile.module distclean
rm -f config.cache config.log config.status
rm -f docs include src
Index: configure
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-2.4/configure,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -U2 -r1.1.1.1 -r1.2
--- configure 2001/06/11 17:22:02 1.1.1.1
+++ configure 2001/06/12 00:03:05 1.2
@@ -1333,5 +1333,5 @@
ac_given_srcdir=$srcdir
-trap 'rm -fr `echo "Makefile linux/fs/ntfs/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile Makefile.module" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@@ -1408,5 +1408,5 @@
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"Makefile linux/fs/ntfs/Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile Makefile.module"}
EOF
cat >> $CONFIG_STATUS <<\EOF
Index: configure.in
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-2.4/configure.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -U2 -r1.1.1.1 -r1.2
--- configure.in 2001/06/11 17:22:02 1.1.1.1
+++ configure.in 2001/06/12 00:03:05 1.2
@@ -19,4 +19,4 @@
AC_FUNC_VPRINTF
-AC_OUTPUT(Makefile linux/fs/ntfs/Makefile)
+AC_OUTPUT(Makefile Makefile.module)
|