Move Makefiles to Makefile.in
[openssl.git] / crypto / poly1305 / Makefile.in
1 #
2 # OpenSSL/crypto/poly1305/Makefile
3 #
4
5 DIR=    poly1305
6 TOP=    ../..
7 CC=     cc
8 CPP=    $(CC) -E
9 INCLUDES=
10 CFLAG=-g
11 AR=             ar r
12
13 POLY1305_ASM_OBJ=
14
15 CFLAGS= $(INCLUDES) $(CFLAG)
16 ASFLAGS= $(INCLUDES) $(ASFLAG)
17 AFLAGS= $(ASFLAGS)
18
19 GENERAL=Makefile
20
21 LIB=$(TOP)/libcrypto.a
22 LIBSRC=poly1305.c
23 LIBOBJ=poly1305.o $(POLY1305_ASM_OBJ)
24
25 SRC= $(LIBSRC)
26
27 ALL=    $(GENERAL) $(SRC) $(HEADER)
28
29 top:
30         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
31
32 all:    lib
33
34 lib:    $(LIBOBJ)
35         $(AR) $(LIB) $(LIBOBJ)
36         $(RANLIB) $(LIB) || echo Never mind.
37         @touch lib
38
39 files:
40         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
41
42 tags:
43         ctags $(SRC)
44
45 tests:
46
47 lint:
48         lint -DLINT $(INCLUDES) $(SRC)>fluff
49
50 update: depend
51
52 depend:
53         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
54         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
55
56 dclean:
57         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
58         mv -f Makefile.new $(MAKEFILE)
59
60 clean:
61         rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
62
63 # DO NOT DELETE THIS LINE -- make depend depends on it.