1# Makefile for zlib 2# Copyright (C) 1995-2013 Jean-loup Gailly, Mark Adler 3# For conditions of distribution and use, see copyright notice in zlib.h 4 5CC= 6CFLAGS= 7SFLAGS= 8INCLUDES= 9SUFFIX= 10 11ACLEFLAG= 12NEONFLAG= 13NOLTOFLAG= 14 15SRCDIR=. 16SRCTOP=../.. 17TOPDIR=$(SRCTOP) 18 19all: \ 20 adler32_neon.o adler32_neon.lo \ 21 arm_features.o arm_features.lo \ 22 chunkset_neon.o chunkset_neon.lo \ 23 compare256_neon.o compare256_neon.lo \ 24 crc32_acle.o crc32_acle.lo \ 25 slide_hash_neon.o slide_hash_neon.lo \ 26 insert_string_acle.o insert_string_acle.lo 27 28adler32_neon.o: 29 $(CC) $(CFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_neon.c 30 31adler32_neon.lo: 32 $(CC) $(SFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_neon.c 33 34arm_features.o: 35 $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arm_features.c 36 37arm_features.lo: 38 $(CC) $(SFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arm_features.c 39 40chunkset_neon.o: 41 $(CC) $(CFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/chunkset_neon.c 42 43chunkset_neon.lo: 44 $(CC) $(SFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/chunkset_neon.c 45 46compare256_neon.o: 47 $(CC) $(CFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/compare256_neon.c 48 49compare256_neon.lo: 50 $(CC) $(SFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/compare256_neon.c 51 52crc32_acle.o: 53 $(CC) $(CFLAGS) $(ACLEFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/crc32_acle.c 54 55crc32_acle.lo: 56 $(CC) $(SFLAGS) $(ACLEFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/crc32_acle.c 57 58slide_hash_neon.o: 59 $(CC) $(CFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_neon.c 60 61slide_hash_neon.lo: 62 $(CC) $(SFLAGS) $(NEONFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_neon.c 63 64insert_string_acle.o: 65 $(CC) $(CFLAGS) $(ACLEFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/insert_string_acle.c 66 67insert_string_acle.lo: 68 $(CC) $(SFLAGS) $(ACLEFLAG) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/insert_string_acle.c 69 70mostlyclean: clean 71clean: 72 rm -f *.o *.lo *~ 73 rm -rf objs 74 rm -f *.gcda *.gcno *.gcov 75 76distclean: 77 rm -f Makefile 78