This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / scripts / modsign / Makefile
diff --git a/scripts/modsign/Makefile b/scripts/modsign/Makefile
new file mode 100644 (file)
index 0000000..947f5f9
--- /dev/null
@@ -0,0 +1,27 @@
+# Set the following to `true' to make a debuggable build.
+# Leave this set to `false' for production use.
+DEBUG = true
+
+
+ROOT =         mod-extract
+VERSION =      0.1
+INSTALL_DIR =  /usr/local/bin
+RELEASE_NAME = $(ROOT)-$(VERSION)
+
+CC = gcc
+
+INCLUDES = 
+CFLAGS = -g -O -Wall
+
+OBJS = mod-extract.o
+
+all: $(ROOT)
+
+$(ROOT): $(OBJS)
+       $(CC) $(LDFLAGS) -o $(ROOT) $(OBJS) -lbfd -liberty $(LIB_OBJS) $(ARCH_LIB_OBJS)
+
+.c.o:
+       $(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@
+
+clean:
+       -rm $(OBJS) $(ROOT)