-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move library into a separate directory
Since subdirectories are processed first, make attempted to build the examples before the library was built. This failed, obviously. Signed-off-by: Petr Tesarik <[email protected]>
- Loading branch information
Showing
24 changed files
with
39 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>. | |
AC_INIT([Library for reading kernel core dumps], | ||
[0.1.6],[[email protected]],[libkdumpfile]) | ||
|
||
AC_CONFIG_SRCDIR([diskdump.c]) | ||
AC_CONFIG_SRCDIR([src/diskdump.c]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_CONFIG_HEADER([config.h]) | ||
|
||
|
@@ -46,6 +46,7 @@ AC_CONFIG_FILES([ | |
Makefile | ||
doc/Makefile | ||
examples/Makefile | ||
src/Makefile | ||
libkdumpfile.pc | ||
]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* Definitions for global (but not static) attributes | ||
* | ||
* To use this file, provide a definition for the ATTR() macro: | ||
* | ||
* ATTR(dir, key, id, type, ctype) | ||
* | ||
* @param dir Directory identifier (without the dir_ prefix). | ||
* @param key Key name (a constant C string). | ||
* @param id C identifier. | ||
* @param type Attribute type (kdump_attr_type). | ||
* @param ctype Suggested C type for the attribute. | ||
* | ||
* A typical stanza is: | ||
* #define ATTR(dir, key, field, type, ctype) \ | ||
* // use macro arguments to construct whatever you need | ||
* #include "global-attr.def" | ||
* #undef ATTR | ||
*/ | ||
|
||
/* utsname */ | ||
ATTR(linux_uts, "sysname", linux_uts_sysname, string, const char *) | ||
ATTR(linux_uts, "nodename", linux_uts_nodename, string, const char *) | ||
ATTR(linux_uts, "release", linux_uts_release, string, const char *) | ||
ATTR(linux_uts, "version", linux_uts_version, string, const char *) | ||
ATTR(linux_uts, "machine", linux_uts_machine, string, const char *) | ||
ATTR(linux_uts, "domainname", linux_uts_domainname, string, const char *) | ||
|
||
/* Xen */ | ||
ATTR(xen_version, "major", xen_ver_major, number, unsigned long) | ||
ATTR(xen_version, "minor", xen_ver_minor, number, unsigned long) | ||
ATTR(xen_version, "extra", xen_ver_extra, string, const char *) | ||
ATTR(xen_version, "extra_addr", xen_ver_extra_addr, address, kdump_vaddr_t) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.