forked from boostorg/beast
38 lines
988 B
Plaintext
38 lines
988 B
Plaintext
#
|
|
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
# Official repository: https://github.com/boostorg/beast
|
|
#
|
|
|
|
local ZLIB_SOURCES =
|
|
zlib-1.2.11/adler32.c
|
|
zlib-1.2.11/compress.c
|
|
zlib-1.2.11/crc32.c
|
|
zlib-1.2.11/deflate.c
|
|
zlib-1.2.11/infback.c
|
|
zlib-1.2.11/inffast.c
|
|
zlib-1.2.11/inflate.c
|
|
zlib-1.2.11/inftrees.c
|
|
zlib-1.2.11/trees.c
|
|
zlib-1.2.11/uncompr.c
|
|
zlib-1.2.11/zutil.c
|
|
;
|
|
|
|
local SOURCES =
|
|
deflate_stream.cpp
|
|
error.cpp
|
|
inflate_stream.cpp
|
|
;
|
|
|
|
local RUN_TESTS ; for local f in $(SOURCES) { RUN_TESTS += [ run $(f) $(TEST_MAIN) $(ZLIB_SOURCES) ] ; }
|
|
alias run-tests : $(RUN_TESTS) ;
|
|
|
|
unit-test run-fat : $(TEST_MAIN) $(ZLIB_SOURCES) $(SOURCES) ;
|
|
explicit run-fat ;
|
|
|
|
exe build-fat : $(TEST_MAIN) $(ZLIB_SOURCES) $(SOURCES) ;
|
|
explicit build-fat ;
|