diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:07 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:07 +0000 |
commit | 9391a747a8b94474e2d75db82dfb7fcef720e9ef (patch) | |
tree | 48dc1b6a2a442899e36c972b2a6086d895293626 | |
parent | 024835dca750b828b593e71fc80ffcb87edafb4f (diff) |
Early mehods
Author: jgg
Date: 1998-10-20 02:43:03 GMT
Early mehods
-rw-r--r-- | methods/file.cc | 9 | ||||
-rw-r--r-- | methods/makefile | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/methods/file.cc b/methods/file.cc new file mode 100644 index 000000000..017222d84 --- /dev/null +++ b/methods/file.cc @@ -0,0 +1,9 @@ +#include <stdio.h> + +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 000000000..dbe159a7a --- /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) |