Windows DLL exported symbols listing utility
修訂 | a504d2bdc72fe19da5c04cdf1fc973d1cd1ae62c (tree) |
---|---|
時間 | 2013-05-30 07:11:14 |
作者 | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Update program identification, via configuration process.
@@ -1,5 +1,23 @@ | ||
1 | 1 | 2013-05-29 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 2 | |
3 | + Update program identification, via configuration process. | |
4 | + | |
5 | + * pexports.c (main): Update identification text; remove references... | |
6 | + (VER_MAJOR, VER_MINOR): ...to these; combine them by substituting... | |
7 | + (PACKAGE_VERSION_STRING): ...this new macro; also amend instructions | |
8 | + for reporting bugs, as directed at URL identified by... | |
9 | + (PACKAGE_BUG_REPORT): ...this additional new macro. | |
10 | + | |
11 | + * pexports.h (VER_MAJOR, VER_MINOR): Obsolete macros; delete them. | |
12 | + | |
13 | + * Makefile.in (PACKAGE_DEFS): New macro; defined in terms of these... | |
14 | + (PACKAGE_VERSION_STRING, PACKAGE_BUG_REPORT_URL, PACKAGE_BUG_REPORT): | |
15 | + ...these additional new macros, defined by AC_SUBST from configure.ac, | |
16 | + and subsequently propagated to pexports.c, as an addendum to... | |
17 | + (CDEPFLAGS): ...this. | |
18 | + | |
19 | +2013-05-29 Keith Marshall <keithmarshall@users.sourceforge.net> | |
20 | + | |
3 | 21 | Autoconfiscate. |
4 | 22 | |
5 | 23 | * configure.ac Makefile.in: New files. |
@@ -87,7 +87,10 @@ pexports$(EXEEXT): $(OBJECT_FILES) | ||
87 | 87 | # Binary file build rules and dependency tracking. |
88 | 88 | # |
89 | 89 | INCLUDES = -I ${srcdir} |
90 | -CDEPFLAGS = -MMD -MP -MF $*.dep $(CPPFLAGS) | |
90 | +PACKAGE_BUG_REPORT_URL = PACKAGE_BUG_REPORT='"@PACKAGE_BUGREPORT@"' | |
91 | +PACKAGE_VERSION_STRING = PACKAGE_VERSION_STRING='"$(PACKAGE_VERSION)"' | |
92 | +PACKAGE_DEFS = -D $(PACKAGE_VERSION_STRING) -D $(PACKAGE_BUG_REPORT_URL) | |
93 | +CDEPFLAGS = -MMD -MP -MF $*.dep $(CPPFLAGS) $(PACKAGE_DEFS) | |
91 | 94 | sinclude *.dep |
92 | 95 | |
93 | 96 | %.$(OBJEXT): %.c |
@@ -141,9 +141,9 @@ main(int argc, char *argv[]) | ||
141 | 141 | |
142 | 142 | if (filename == NULL) |
143 | 143 | { |
144 | - printf("PExports %d.%d Copyright 1998, Anders Norlander\n" | |
145 | - "Changed 1999, Paul Sokolovsky\n" | |
146 | - "Changed 2008, Tor Lillqvist\n" | |
144 | + printf("PExports %s; Originally written 1998, Anders Norlander\n" | |
145 | + "Updated 1999, Paul Sokolovsky, 2008, Tor Lillqvist, 2013, Keith Marshall\n" | |
146 | + "Copyright (C) 1998, 1999, 2008, 2013, MinGW.org Project\n\n" | |
147 | 147 | "This program is free software; you may redistribute it under the terms of\n" |
148 | 148 | "the GNU General Public License. This program has absolutely no warranty.\n" |
149 | 149 |
@@ -152,11 +152,8 @@ main(int argc, char *argv[]) | ||
152 | 152 | " -o\tprint ordinals\n" |
153 | 153 | " -p\tset preprocessor program\n" |
154 | 154 | " -v\tverbose mode\n" |
155 | - "\nReport bugs to anorland@hem2.passagen.se,\n" | |
156 | - "Paul.Sokolovsky@technologist.com\n" | |
157 | - "or tml@iki.fi\n", | |
158 | - VER_MAJOR, VER_MINOR, | |
159 | - program_name); | |
155 | + "\nReport bugs as directed at %s\n", | |
156 | + PACKAGE_VERSION_STRING, program_name, PACKAGE_BUG_REPORT); | |
160 | 157 | return 1; |
161 | 158 | } |
162 | 159 |
@@ -18,9 +18,6 @@ | ||
18 | 18 | |
19 | 19 | #include "str_tree.h" |
20 | 20 | |
21 | -#define VER_MAJOR 0 | |
22 | -#define VER_MINOR 44 | |
23 | - | |
24 | 21 | /* These are needed: |
25 | 22 | * FIXME: However, I'd really much prefer to see ISO-C99 standard |
26 | 23 | * types used throughout, in preference to these Micrsoft-inspired |