From 9391a747a8b94474e2d75db82dfb7fcef720e9ef Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:07 +0000 Subject: [PATCH] Early mehods Author: jgg Date: 1998-10-20 02:43:03 GMT Early mehods --- methods/file.cc | 9 +++++++++ methods/makefile | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 methods/file.cc create mode 100644 methods/makefile diff --git a/methods/file.cc b/methods/file.cc new file mode 100644 index 00000000..017222d8 --- /dev/null +++ b/methods/file.cc @@ -0,0 +1,9 @@ +#include + +int main() +{ + printf("100 Capabilities\n" + "Version: 1.0\n" + "Pre-Scan: true\n\n" + "Version: 1.0\n\n"); +} diff --git a/methods/makefile b/methods/makefile new file mode 100644 index 00000000..dbe159a7 --- /dev/null +++ b/methods/makefile @@ -0,0 +1,13 @@ +# -*- make -*- +BASE=.. +SUBDIR=methods + +# Bring in the default rules +include ../buildlib/defaults.mak +BIN := $(BIN)/methods + +# The file method +PROGRAM=file +SLIBS = -lapt-pkg +SOURCE = file.cc +include $(PROGRAM_H) -- 2.20.1