diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-26 05:01:58 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-26 05:01:58 +0000 |
commit | ff4b7235372ef96bc5663fce4aa7715c287e1665 (patch) | |
tree | f052a8f9d39f39889371d7b8f48a00a58ce04b00 /util-src/Makefile | |
parent | 33ff6899730227ef6145148097f80b83f07b27d9 (diff) | |
download | prosody-ff4b7235372ef96bc5663fce4aa7715c287e1665.tar.gz prosody-ff4b7235372ef96bc5663fce4aa7715c287e1665.zip |
util-src/Makefile: Clean up and remove unnecessary all linking
Diffstat (limited to 'util-src/Makefile')
-rw-r--r-- | util-src/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index c3669c35..15af3e68 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -12,19 +12,20 @@ LD?=gcc .SUFFIXES: .c .o .so -encodings.o: - $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c - encodings.so: encodings.o MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; - $(CC) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto + $(CC) $(LDFLAGS) $(IDNA_LIBS) -o $@ $< + +hashes.so: hashes.o + MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; + $(CC) $(LDFLAGS) -l$(OPENSSL_LIB) -o $@ $< .c.o: $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< .o.so: MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; - $(LD) $(LDFLAGS) -o $@ $< -lidn -lcrypto + $(LD) $(LDFLAGS) -o $@ $< all: encodings.so hashes.so pposix.so signal.so |