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=
9ACLEFLAG=
10NEONFLAG=
11SUFFIX=
12
13SRCDIR=.
14SRCTOP=../..
15TOPDIR=$(SRCTOP)
16
17all: \
18	adler32_neon.o adler32_neon.lo \
19	armfeature.o armfeature.lo \
20	chunkset_neon.o chunkset_neon.lo \
21	crc32_acle.o crc32_acle.lo \
22	slide_neon.o slide_neon.lo \
23	insert_string_acle.o insert_string_acle.lo
24
25adler32_neon.o:
26	$(CC) $(CFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_neon.c
27
28adler32_neon.lo:
29	$(CC) $(SFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_neon.c
30
31armfeature.o:
32	$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/armfeature.c
33
34armfeature.lo:
35	$(CC) $(SFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/armfeature.c
36
37chunkset_neon.o:
38	$(CC) $(CFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/chunkset_neon.c
39
40chunkset_neon.lo:
41	$(CC) $(SFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/chunkset_neon.c
42
43crc32_acle.o:
44	$(CC) $(CFLAGS) $(ACLEFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/crc32_acle.c
45
46crc32_acle.lo:
47	$(CC) $(SFLAGS) $(ACLEFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/crc32_acle.c
48
49slide_neon.o:
50	$(CC) $(CFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_neon.c
51
52slide_neon.lo:
53	$(CC) $(SFLAGS) $(NEONFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_neon.c
54
55insert_string_acle.o:
56	$(CC) $(CFLAGS) $(ACLEFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/insert_string_acle.c
57
58insert_string_acle.lo:
59	$(CC) $(SFLAGS) $(ACLEFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/insert_string_acle.c
60
61mostlyclean: clean
62clean:
63	rm -f *.o *.lo *~
64	rm -rf objs
65	rm -f *.gcda *.gcno *.gcov
66
67distclean:
68	rm -f Makefile
69