Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / openssl / dist / demos / tunala / Makefile
blobbef1704a3caa69018d404fb260e0bb334b146beb
1 # Edit these to suit
3 # Oh yeah, and please read the README too.
6 SSL_HOMEDIR=../..
7 SSL_INCLUDEDIR=$(SSL_HOMEDIR)/include
8 SSL_LIBDIR=$(SSL_HOMEDIR)
10 RM=rm -f
11 CC=gcc
12 DEBUG_FLAGS=-g -ggdb3 -Wall -Wshadow
13 INCLUDE_FLAGS=-I$(SSL_INCLUDEDIR)
14 CFLAGS=$(DEBUG_FLAGS) $(INCLUDE_FLAGS) -DNO_CONFIG_H
15 COMPILE=$(CC) $(CFLAGS) -c
17 # Edit, particularly the "-ldl" if not building with "dlfcn" support
18 LINK_FLAGS=-L$(SSL_LIBDIR) -lssl -lcrypto -ldl
20 SRCS=buffer.c cb.c ip.c sm.c tunala.c breakage.c
21 OBJS=buffer.o cb.o ip.o sm.o tunala.o breakage.o
23 TARGETS=tunala
25 default: $(TARGETS)
27 clean:
28 $(RM) $(OBJS) $(TARGETS) *.bak core
30 .c.o:
31 $(COMPILE) $<
33 tunala: $(OBJS)
34 $(CC) -o tunala $(OBJS) $(LINK_FLAGS)
36 # Extra dependencies, should really use makedepend
37 buffer.o: buffer.c tunala.h
38 cb.o: cb.c tunala.h
39 ip.o: ip.c tunala.h
40 sm.o: sm.c tunala.h
41 tunala.o: tunala.c tunala.h