# # Will build and run test executables with Visual C++ 5 & 6 & 7 # ################## DO NOT EDIT BELOW THIS LINE ############################### !message !message ************** !message Running tests !message ************** !message all: test !include ../win32/Makefile.com CURRENT = $(TST_DIR) ########################################################################### # # Test programs # OBJECTS = all_tests.obj commontest.obj \ example_zip.obj test_appzip.obj test_collcoll.obj \ test_dircoll.obj test_simplesmartptr.obj \ test_zip.obj test_gzipoutputstream.obj \ test_zipinputstream.obj test_zipinputstreambuf.obj \ test_zipoutputstream.obj test_zipoutputstreambuf.obj TESTS = all_test.exe \ example_zip.exe test_appzip.exe test_collcoll.exe \ test_dircoll.exe test_simplesmartptr.exe \ test_zip.exe test_gzipoutputstream.exe \ test_zipinputstream.exe test_zipinputstreambuf.exe \ test_zipoutputstream.exe test_zipoutputstreambuf.exe CPPFLAGS = /nologo /O2 /GX /I.. /D"_WINDOWS" /D"WIN32" /D"NDEBUG" \ /I"$(ZLIB_INC)" /I"$(CPPUNIT_INC)" LINKFLAGS = /LIBPATH:$(ZLIB_LIB) /LIBPATH:$(CPPUNIT_LIB) ########################################################################## # # Building rules # test: $(ZIPIOS_LIB) $(TESTS) @echo Run the tests here $(TESTS): $(OBJECTS) $(ZIPIOS_LIB) $(ZIPIOS_LIB): @cd $(SRC_DIR) @nmake /nologo -f Makefile.vis static @cd $(TST_DIR) .SUFFIXES: .obj .exe .cpp .obj.exe: link /nologo $(LINKFLAGS) $*.obj $(ZIPIOS_LIB) zlib.lib clean: tidy @echo ************* @echo Cleaned tests @echo ************* @if exist *.obj del *.obj @if exist *.exe del *.exe ########################################################################### # Zipios++ - a small C++ library that provides easy access to .zip files. # Copyright (C) 2000 1. Thomas Søndergaard 2. Kevin Shea # Written by Kevin Shea # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################