[devel] Added symbols.chk target to Makefile.am to validate symbols in png.h

against the new DEF file scripts/symbols.def.
Changed the default DEF file back to pngwin.def.
Removed makefile.mingw.
This commit is contained in:
Glenn Randers-Pehrson
2010-03-16 07:52:34 -05:00
parent b92e2f7335
commit c551c0dbb3
11 changed files with 250 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# Related files: libpng.def
# Related files: scripts/pngwin.def
CC=gcc -Zomf -s
@@ -36,10 +36,10 @@ all: $(PNGLIB) $(SHAREDLIB) $(SHAREDLIBIMP)
$(PNGLIB): $(OBJS)
$(AR) rc $@ $(OBJS)
$(SHAREDLIB): $(OBJS) libpng.def
$(SHAREDLIB): $(OBJS) scripts/pngwin.def
$(CC) $(LDFLAGS) -Zdll -o $@ $^
$(SHAREDLIBIMP): libpng.def
$(SHAREDLIBIMP): scripts/pngwin.def
$(IMPLIB) -o $@ $^
pngtest.exe: pngtest.o png.dll pngdll.lib