dodan override za lintian
[ossec-hids.git] / src / external / Makefile
1 # Copyright (C) 2014 Trend Micro Inc.
2 # All rights reserved.
3 #
4 # This program is a free software; you can redistribute it
5 # and/or modify it under the terms of the GNU General Public
6 # License (version 2) as published by the FSF - Free Software
7 # Foundation
8
9 PT=../
10 ZLIB_DIR=zlib-1.2.8
11 include ${PT}Config.Make
12
13 zlib: libz.a
14         cp -pr ${ZLIB_DIR}/zlib.h ${ZLIB_DIR}/zconf.h ../headers/
15
16 libz.a:
17         cd ${ZLIB_DIR}/; ./configure; make libz.a;
18         cp -pr ${ZLIB_DIR}/libz.a .
19                 
20 clean:
21         ${CLEAN} zlib.a ../headers/zlib.h ../headers/zconf.h
22         cd ${ZLIB_DIR}/; make distclean