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