summaryrefslogtreecommitdiff
path: root/usr.bin/make/arch.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-02 10:29:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-02 10:29:32 +0000
commitf52927cb1ba328594c8f4b934c14bca4916ef8e5 (patch)
tree14c58f1946f28de41a69025afb0f588293831ec2 /usr.bin/make/arch.h
parent6624e8c7ba7439673221e27b9603d172cd60d99a (diff)
more changes, discussed and tested by various people.
- put back some job control, turns out it's necessary when we don't run a shell. - zap old #ifdef CLEANUP code... probably doesn't even compile. - kill most of the OP_LIB code. Just keep a wee little bit for compatibility (deprecated .LIBS and .INCLUDES, warns for weird dependencies instead of erroring out). - much improved debugging and -p output: sort variables, targets, rules, output stuff in a nicer format mimicing input. - better error message when no command is found, explain where the target comes from. - sort final error list by file. - show system files in errors as <bsd.prog.mk> - reincorporate random delay, that was dropped - optimize siginfo output by not regenerating the whole string each time. - finish zapping old LocationInfo field that's no longer used.
Diffstat (limited to 'usr.bin/make/arch.h')
-rw-r--r--usr.bin/make/arch.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/usr.bin/make/arch.h b/usr.bin/make/arch.h
index 73a51e1174a..5ff5aafd804 100644
--- a/usr.bin/make/arch.h
+++ b/usr.bin/make/arch.h
@@ -1,6 +1,6 @@
#ifndef ARCH_H
#define ARCH_H
-/* $OpenBSD: arch.h,v 1.6 2010/07/19 19:46:43 espie Exp $ */
+/* $OpenBSD: arch.h,v 1.7 2012/10/02 10:29:30 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -38,11 +38,6 @@
/* Initialization and cleanup */
extern void Arch_Init(void);
-#ifdef CLEANUP
-extern void Arch_End(void);
-#else
-#define Arch_End()
-#endif
/* ok = Arch_ParseArchive(&begin, nodeLst, ctxt);
* Given an archive specification, add list of corresponding GNodes to
@@ -54,11 +49,6 @@ extern bool Arch_ParseArchive(const char **, Lst, SymTable *);
* Alter the modification time of the archive member described by node
* to the current time. */
extern void Arch_Touch(GNode *);
-/* Arch_TouchLib(node);
- * Update the modification time of the library described by node.
- * This is distinct from Arch_Touch, as it also updates the mtime
- * of the library's table of contents. */
-extern void Arch_TouchLib(GNode *);
/* stamp = Arch_MTime(node);
* Find the modification time of a member of an archive *in the
* archive*, and returns it.
@@ -68,18 +58,5 @@ extern TIMESTAMP Arch_MTime(GNode *);
* Find the modification time of a member of an archive and returns it.
* To use when the member only exists within the archive. */
extern TIMESTAMP Arch_MemMTime(GNode *);
-/* Arch_FindLib(node, path);
- * Search for a library node along a path, and fills the gnode's path
- * field to the actual complete path. If we don't find it, we set the
- * library name to libname.a, assuming some other mechanism will take
- * care of finding it. The library name should be in -l<name> format. */
-extern void Arch_FindLib(GNode *, Lst);
-/* bool = Arch_LibOODate(node);
- * Decide whether a library node is out-of-date. */
-extern bool Arch_LibOODate(GNode *);
-
-/* bool = Arch_IsLib(node);
- * Decide whether a node is a library. */
-extern bool Arch_IsLib(GNode *);
#endif