X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Fexternal%2FMakefile;fp=src%2Fexternal%2FMakefile;h=1b9cc794cfa7ec6934b19abba7f9a6b8ce5850d3;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=0000000000000000000000000000000000000000;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a;p=ossec-hids.git diff --git a/src/external/Makefile b/src/external/Makefile new file mode 100644 index 0000000..1b9cc79 --- /dev/null +++ b/src/external/Makefile @@ -0,0 +1,22 @@ +# Copyright (C) 2014 Trend Micro Inc. +# All rights reserved. +# +# This program is a free software; you can redistribute it +# and/or modify it under the terms of the GNU General Public +# License (version 2) as published by the FSF - Free Software +# Foundation + +PT=../ +ZLIB_DIR=zlib-1.2.8 +include ${PT}Config.Make + +zlib: libz.a + cp -pr ${ZLIB_DIR}/zlib.h ${ZLIB_DIR}/zconf.h ../headers/ + +libz.a: + cd ${ZLIB_DIR}/; ./configure; make libz.a; + cp -pr ${ZLIB_DIR}/libz.a . + +clean: + ${CLEAN} zlib.a ../headers/zlib.h ../headers/zconf.h + cd ${ZLIB_DIR}/; make distclean