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 | 53b131581052d1075b0909e34439a978cd7313f8 (patch) | |
tree | dfa32ce05553b05a7b8b2014a83731ce8c648f3a /util-src | |
parent | 084742587ef6560ab1ca7042901bf65bf404a753 (diff) | |
download | prosody-53b131581052d1075b0909e34439a978cd7313f8.tar.gz prosody-53b131581052d1075b0909e34439a978cd7313f8.zip |
util-src/Makefile: Clean up and remove unnecessary all linking
Diffstat (limited to 'util-src')
-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 |