diff options
Diffstat (limited to '')
-rw-r--r-- | demos/tunala/Makefile | 6 | ||||
-rw-r--r-- | demos/tunala/Makefile.am | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/demos/tunala/Makefile b/demos/tunala/Makefile index a68db7a39d..bef1704a3c 100644 --- a/demos/tunala/Makefile +++ b/demos/tunala/Makefile @@ -11,14 +11,14 @@ RM=rm -f CC=gcc DEBUG_FLAGS=-g -ggdb3 -Wall -Wshadow INCLUDE_FLAGS=-I$(SSL_INCLUDEDIR) -CFLAGS=$(DEBUG_FLAGS) $(INCLUDE_FLAGS) +CFLAGS=$(DEBUG_FLAGS) $(INCLUDE_FLAGS) -DNO_CONFIG_H COMPILE=$(CC) $(CFLAGS) -c # Edit, particularly the "-ldl" if not building with "dlfcn" support LINK_FLAGS=-L$(SSL_LIBDIR) -lssl -lcrypto -ldl -SRCS=buffer.c cb.c ip.c sm.c tunala.c -OBJS=buffer.o cb.o ip.o sm.o tunala.o +SRCS=buffer.c cb.c ip.c sm.c tunala.c breakage.c +OBJS=buffer.o cb.o ip.o sm.o tunala.o breakage.o TARGETS=tunala diff --git a/demos/tunala/Makefile.am b/demos/tunala/Makefile.am new file mode 100644 index 0000000000..1616004d26 --- /dev/null +++ b/demos/tunala/Makefile.am @@ -0,0 +1,11 @@ +# Our includes come from the OpenSSL build-tree we're in +INCLUDES = -I$(top_builddir)/../../include + +lib_LTLIBRARIES = libtunala.la + +libtunala_la_SOURCES = buffer.c cb.c ip.c sm.c breakage.c + +bin_PROGRAMS = tunala + +tunala_SOURCES = tunala.c +tunala_LDADD = libtunala.la -L$(top_builddir)/../.. -lssl -lcrypto |