• R/O
  • HTTP
  • SSH
  • HTTPS

pexports: Commit

Windows DLL exported symbols listing utility


Commit MetaInfo

Revisión59648a78f4d8b6e11a914a426368484eb33ac7de (tree)
Tiempo2009-09-15 15:05:46
AutorCharles Wilson <cwilso11@user...>
CommiterCharles Wilson

Log Message

Slight build improvements

Cambiar Resumen

Diferencia incremental

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
11 2009-09-15 Charles Wilson <cwilso11@users.sourceforge.net>
22
3+ Slight build improvements.
4+ * README: Update.
5+ * Makefile: Rewrite dist rule to create a .tar.lzma instead
6+ of a .zip (and don't create a tarbomb).
7+
8+2009-09-15 Charles Wilson <cwilso11@users.sourceforge.net>
9+
310 Package 0.44-1-mingw32 fixes.
411 * pexports.c (main): Fix typo in usage statement.
512 * pexports.h: Ensure ULONGLONG is defined.
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,42 @@
11 CC=gcc -Wall
22 LEX=flex
33 YACC=bison
4+PACKAGE_VERSION=0.45
5+PACKAGE_NAME=pexports
6+EXEEXT=.exe
7+O=o
48
5-DISTFILES=README COPYING ChangeLog Makefile hlex.l hparse.y pexports.h pexports.c str_tree.c str_tree.h
9+DISTFILES=AUTHORS README COPYING ChangeLog \
10+ Makefile hlex.l hparse.y pexports.h \
11+ pexports.c str_tree.c str_tree.h
612
7-OBJS=hlex.o hparse.o pexports.o str_tree.o
13+OBJS=hlex.$(O) hparse.$(O) pexports.$(O) str_tree.$(O)
814
9-all: pexports.exe
15+all: pexports$(EXEEXT)
1016
11-pexports.exe: $(OBJS)
17+pexports$(EXEEXT): $(OBJS)
1218 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJS)
1319
14-pexports.o: pexports.c pexports.h str_tree.h
15-str_tree.o: str_tree.c str_tree.h
16-hlex.o: hlex.c hparse.h
20+pexports.$(O): pexports.c pexports.h str_tree.h
21+str_tree.$(O): str_tree.c str_tree.h
22+hlex.$(O): hlex.c hparse.h
1723 hlex.c: hlex.l
18-hparse.o: hparse.c str_tree.h
24+hparse.$(O): hparse.c str_tree.h
1925 hparse.h: hparse.c
2026 hparse.c: hparse.y
2127 bison -d $< -o $@
2228
23-pexports.zip: $(DISTFILES)
24- zip $@ $(DISTFILES)
29+dist: $(DISTFILES)
30+ mkdir -p /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
31+ cp -p $(DISTFILES) /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/
32+ cd /tmp && tar -chof - $(PACKAGE_NAME)-$(PACKAGE_VERSION) | xz --format=lzma >\
33+ $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.lzma
34+ mv /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.lzma .
35+ rm -rf /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
2536
2637 clean:
27- $(RM) *.o *.exe hlex.c hparse.c hparse.h pexports.zip
38+ $(RM) -f *.o pexports$(EXEEXT) hlex.c hparse.c hparse.h
39+
40+realclean: clean
41+ $(RM) -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.lzma
2842
--- a/README
+++ b/README
@@ -41,49 +41,55 @@ C parser, there are probably many conditions when it will fail
4141 (especially complex parameter types), although I it works fine for me.
4242 Please do not report bugs, but feel free to send patches.
4343
44-CHANGES FROM 0.43:
44+RELEASE 0.45
4545 =================
46+* Incorporate patches from 0.44-1-mingw32 release
4647
47-Handle also 64-bit executables. Make it work also if built as 64-bit
48-code. Remove all gcc -Wall warnings. Make it compilable also with
49-MSVC.Disable Wow64 file system redirection when running as a 32-bit
50-process on 64-bit Windows. Distribute just sources.
48+RELEASE 0.44
49+=================
50+* Handle also 64-bit executables. Make it work also if built as 64-bit
51+ code. Remove all gcc -Wall warnings. Make it compilable also with
52+ MSVC. Disable Wow64 file system redirection when running as a 32-bit
53+ process on 64-bit Windows. Distribute just sources.
5154
52-CHANGES FROM 0.42:
55+RELEASE 0.43
5356 =================
5457 * There were bug which led to wrong subcategorizing of symbols as
55-code/data. I thought it was fixed in version on the site, but it turns
56-out that almost year there was wrong version. I greatly apologize to
57-everyone whom it cause problems and confusion.
58+ code/data. I thought it was fixed in version on the site, but it turns
59+ out that almost year there was wrong version. I greatly apologize to
60+ everyone whom it cause problems and confusion.
5861
59-CHANGES FROM 0.41:
62+RELEASE 0.42
6063 =================
6164 * Data/non-data symbols are now distinguished.
6265
63-CHANGES FROM 0.4:
66+RELEASE 0.41
6467 =================
6568 * The header parser now accepts all kinds of parameters.
6669
67-CHANGES FROM 0.3:
70+RELEASE 0.4
6871 =================
6972 * Function pointer parameters are now handled
7073 * Handling of function attributes improved
7174 * It is no longer always necessary to include windows.h for headers
72-that required it but did not include it themselves.
75+ that required it but did not include it themselves.
7376
74-CHANGES FROM 0.2:
77+RELEASE 0.3
7578 =================
7679 * Completely rewritten parser (the previous one was *very* bad).
77-It is now possible to generate .DEF files for windows system
78-dlls (kernel32,user32,gdi32,shell32 etc)
80+ It is now possible to generate .DEF files for windows system
81+ dlls (kernel32,user32,gdi32,shell32 etc)
7982 * Enhanced symbol handling (symbols are sorted in a tree).
8083
81-CHANGES FROM 0.1:
84+RELEASE 0.2
8285 =================
8386 * Fixed bug with unnamed parameters that are pointers.
8487 * Extra whitespace is no longer printed
8588 * Binary versions available for mingw32 and cygwin32
8689
90+RELEASE 0.1
91+=================
92+* Initial release.
8793 Pexports, Copyright (C) 1998 Anders Norlander
8894 This program has ABSOLUTELY NO WARRANTY; This is free software, and you are
8995 welcome to redistribute it under certain conditions; see COPYING
Show on old repository browser