Always build library object files with shared library cflags
[openssl.git] / crypto / srp / Makefile.in
1 DIR=    srp
2 TOP=    ../..
3 CC=     cc
4 INCLUDES= -I.. -I$(TOP) -I../../include
5 CFLAG=-g
6 DESTDIR=
7 OPENSSLDIR=     /usr/local/ssl
8 INSTALLTOP=/usr/local/ssl
9 AR=             ar r
10
11 CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
12
13 GENERAL=Makefile
14
15 LIB=$(TOP)/libcrypto.a
16 LIBSRC=srp_lib.c srp_vfy.c
17 LIBOBJ=srp_lib.o srp_vfy.o
18
19 SRC= $(LIBSRC)
20
21 HEADER= 
22
23 top:
24         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
25
26 all:    lib
27
28 lib:    $(LIBOBJ)
29         $(AR) $(LIB) $(LIBOBJ)
30         $(RANLIB) $(LIB) || echo Never mind.
31         @touch lib
32
33 files:
34         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
35
36 depend:
37         $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
38
39 clean:
40         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
41
42 # DO NOT DELETE THIS LINE -- make depend depends on it.