Makefile.in 793 字节
Newer Older
1
#
R
Rich Salz 已提交
2
# OpenSSL/crypto/rand/Makefile
3 4
#

R
Rich Salz 已提交
5
DIR=	rand
6 7 8 9
TOP=	../..
CC=	cc
INCLUDES=
CFLAG=-g
R
Rich Salz 已提交
10
MAKEFILE=	Makefile
11 12
AR=		ar r

13
CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
14 15 16 17

GENERAL=Makefile

LIB=$(TOP)/libcrypto.a
R
Rich Salz 已提交
18
LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
R
Rich Salz 已提交
19
	rand_win.c rand_unix.c
R
Rich Salz 已提交
20
LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \
R
Rich Salz 已提交
21
	rand_win.o rand_unix.o
22 23 24

SRC= $(LIBSRC)

R
Rich Salz 已提交
25 26
HEADER=	

27 28 29 30 31 32 33 34 35 36 37 38 39
ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
	$(RANLIB) $(LIB) || echo Never mind.
	@touch lib

depend:
40
	$(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
41 42

clean:
R
Rich Salz 已提交
43
	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
44 45

# DO NOT DELETE THIS LINE -- make depend depends on it.