diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-30 19:27:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-30 19:27:06 +0000 |
commit | ae7495dd55e0e3346e1e18eefbe6aa95dc6fdf33 (patch) | |
tree | 026065d1a349adfa7e8b9cd423e06b8880b5cd5a /src | |
parent | 5bc0dba9338c6722f6833351b1401571533eb63d (diff) | |
download | tor-ae7495dd55e0e3346e1e18eefbe6aa95dc6fdf33.tar tor-ae7495dd55e0e3346e1e18eefbe6aa95dc6fdf33.tar.gz |
Only tor and test binaries need to link against openssl and zlib; tor-resolve can be smaller.
svn:r2629
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Makefile.am | 5 | ||||
-rw-r--r-- | src/or/Makefile.am | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am index cf18c3fec..c07f08355 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,8 +1,9 @@ -noinst_LIBRARIES = libor.a +noinst_LIBRARIES = libor.a libor-crypto.a #CFLAGS = -Wall -Wpointer-arith -O2 -libor_a_SOURCES = log.c crypto.c fakepoll.c util.c aes.c tortls.c torgzip.c +libor_a_SOURCES = log.c fakepoll.c util.c +libor_crypto_a_SOURCES = crypto.c aes.c tortls.c torgzip.c noinst_HEADERS = log.h crypto.h fakepoll.h test.h util.h aes.h torint.h tortls.h strlcpy.c strlcat.c torgzip.h diff --git a/src/or/Makefile.am b/src/or/Makefile.am index a1b956b4a..edbb4c865 100644 --- a/src/or/Makefile.am +++ b/src/or/Makefile.am @@ -12,7 +12,7 @@ tor_SOURCES = buffers.c circuitbuild.c circuitlist.c \ rendservice.c rephist.c router.c routerlist.c routerparse.c \ tor_main.c -tor_LDADD = ../common/libor.a -lz +tor_LDADD = ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto test_SOURCES = buffers.c circuitbuild.c circuitlist.c \ circuituse.c command.c config.c \ @@ -22,7 +22,7 @@ test_SOURCES = buffers.c circuitbuild.c circuitlist.c \ rendservice.c rephist.c router.c routerlist.c routerparse.c \ test.c -test_LDADD = ../common/libor.a -lz +test_LDADD = ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto noinst_HEADERS = or.h tree.h |