Windows DLL exported symbols listing utility
Revision | 59648a78f4d8b6e11a914a426368484eb33ac7de (tree) |
---|---|
Time | 2009-09-15 15:05:46 |
Author | Charles Wilson <cwilso11@user...> |
Commiter | Charles Wilson |
Slight build improvements
@@ -1,5 +1,12 @@ | ||
1 | 1 | 2009-09-15 Charles Wilson <cwilso11@users.sourceforge.net> |
2 | 2 | |
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 | + | |
3 | 10 | Package 0.44-1-mingw32 fixes. |
4 | 11 | * pexports.c (main): Fix typo in usage statement. |
5 | 12 | * pexports.h: Ensure ULONGLONG is defined. |
@@ -1,28 +1,42 @@ | ||
1 | 1 | CC=gcc -Wall |
2 | 2 | LEX=flex |
3 | 3 | YACC=bison |
4 | +PACKAGE_VERSION=0.45 | |
5 | +PACKAGE_NAME=pexports | |
6 | +EXEEXT=.exe | |
7 | +O=o | |
4 | 8 | |
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 | |
6 | 12 | |
7 | -OBJS=hlex.o hparse.o pexports.o str_tree.o | |
13 | +OBJS=hlex.$(O) hparse.$(O) pexports.$(O) str_tree.$(O) | |
8 | 14 | |
9 | -all: pexports.exe | |
15 | +all: pexports$(EXEEXT) | |
10 | 16 | |
11 | -pexports.exe: $(OBJS) | |
17 | +pexports$(EXEEXT): $(OBJS) | |
12 | 18 | $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJS) |
13 | 19 | |
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 | |
17 | 23 | hlex.c: hlex.l |
18 | -hparse.o: hparse.c str_tree.h | |
24 | +hparse.$(O): hparse.c str_tree.h | |
19 | 25 | hparse.h: hparse.c |
20 | 26 | hparse.c: hparse.y |
21 | 27 | bison -d $< -o $@ |
22 | 28 | |
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) | |
25 | 36 | |
26 | 37 | 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 | |
28 | 42 |
@@ -41,49 +41,55 @@ C parser, there are probably many conditions when it will fail | ||
41 | 41 | (especially complex parameter types), although I it works fine for me. |
42 | 42 | Please do not report bugs, but feel free to send patches. |
43 | 43 | |
44 | -CHANGES FROM 0.43: | |
44 | +RELEASE 0.45 | |
45 | 45 | ================= |
46 | +* Incorporate patches from 0.44-1-mingw32 release | |
46 | 47 | |
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. | |
51 | 54 | |
52 | -CHANGES FROM 0.42: | |
55 | +RELEASE 0.43 | |
53 | 56 | ================= |
54 | 57 | * 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. | |
58 | 61 | |
59 | -CHANGES FROM 0.41: | |
62 | +RELEASE 0.42 | |
60 | 63 | ================= |
61 | 64 | * Data/non-data symbols are now distinguished. |
62 | 65 | |
63 | -CHANGES FROM 0.4: | |
66 | +RELEASE 0.41 | |
64 | 67 | ================= |
65 | 68 | * The header parser now accepts all kinds of parameters. |
66 | 69 | |
67 | -CHANGES FROM 0.3: | |
70 | +RELEASE 0.4 | |
68 | 71 | ================= |
69 | 72 | * Function pointer parameters are now handled |
70 | 73 | * Handling of function attributes improved |
71 | 74 | * 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. | |
73 | 76 | |
74 | -CHANGES FROM 0.2: | |
77 | +RELEASE 0.3 | |
75 | 78 | ================= |
76 | 79 | * 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) | |
79 | 82 | * Enhanced symbol handling (symbols are sorted in a tree). |
80 | 83 | |
81 | -CHANGES FROM 0.1: | |
84 | +RELEASE 0.2 | |
82 | 85 | ================= |
83 | 86 | * Fixed bug with unnamed parameters that are pointers. |
84 | 87 | * Extra whitespace is no longer printed |
85 | 88 | * Binary versions available for mingw32 and cygwin32 |
86 | 89 | |
90 | +RELEASE 0.1 | |
91 | +================= | |
92 | +* Initial release. | |
87 | 93 | Pexports, Copyright (C) 1998 Anders Norlander |
88 | 94 | This program has ABSOLUTELY NO WARRANTY; This is free software, and you are |
89 | 95 | welcome to redistribute it under certain conditions; see COPYING |