summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile.in')
-rw-r--r--kernel/Makefile.in61
1 files changed, 61 insertions, 0 deletions
diff --git a/kernel/Makefile.in b/kernel/Makefile.in
new file mode 100644
index 0000000..3be3826
--- /dev/null
+++ b/kernel/Makefile.in
@@ -0,0 +1,61 @@
+# $Id: Makefile.am 40 2003-10-27 18:32:45Z lennart $
+#
+# This file is part of seppl.
+#
+# seppl is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# seppl is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with seppl; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+# This Makefile is NOT created by automake!
+
+KERNELDIR=@KERNELDIR@
+SEPPL_MODDIR=@KERNELMODDIR@/seppl
+PACKAGE=@PACKAGE@
+VERSION=@VERSION@
+DISTFILES=seppl.c seppl.h ipt_CRYPT.c ipt_CRYPT.h ipt_DECRYPT.c ipt_DECRYPT.h test.sh Makefile.in seppl_protocol.h
+distdir = ../$(PACKAGE)-$(VERSION)
+CFLAGS=-Wall -g -O2
+KERNEL_CFLAGS= -I$(KERNELDIR)/include -DLINUX -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -DPACKAGE_BUGREPORT="\"@PACKAGE_BUGREPORT@\""
+
+all: Makefile ipt_CRYPT.o ipt_DECRYPT.o seppl.o
+
+Makefile: Makefile.in
+ cd .. && ./config.status kernel/Makefile
+
+ipt_CRYPT.o: ipt_CRYPT.c
+ $(CC) $(CFLAGS) -c $^ -o $@ $(KERNEL_CFLAGS)
+
+ipt_DECRYPT.o: ipt_DECRYPT.c
+ $(CC) $(CFLAGS) -c $^ -o $@ $(KERNEL_CFLAGS)
+
+seppl.o: seppl.c
+ $(CC) $(CFLAGS) -c $^ -o $@ $(KERNEL_CFLAGS)
+
+install:
+ mkdir -p $(SEPPL_MODDIR)
+ install -m644 seppl.o ipt_CRYPT.o ipt_DECRYPT.o $(SEPPL_MODDIR)
+
+distdir:
+ mkdir -p $(distdir)
+ cp -p $(DISTFILES) $(distdir)
+
+mostlyclean: clean
+distclean: clean
+
+maintainer-clean: clean
+ rm -f Makefile
+
+clean:
+ rm -f *.o
+
+.PHONY: all clean maintainer-clean mostlyclean distclean distdir install