diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-06 23:20:59 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-06 23:20:59 +0000 |
commit | 8b821c21d39f6391c8421c465ecaacc344f5e8fd (patch) | |
tree | ab1f68fb5cad5e99e0be64121a022842523448b1 /util-src/Makefile | |
parent | 36777188133ce74e2fbb82b41d67087005f06967 (diff) | |
download | prosody-8b821c21d39f6391c8421c465ecaacc344f5e8fd.tar.gz prosody-8b821c21d39f6391c8421c465ecaacc344f5e8fd.zip |
Add posix support library, and adjust makefiles for it
Diffstat (limited to 'util-src/Makefile')
-rw-r--r-- | util-src/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 4aedec40..18e1e78d 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -9,9 +9,9 @@ OPENSSL_LIB?=crypto -all: encodings.so hashes.so +all: encodings.so hashes.so pposix.so -install: encodings.so hashes.so +install: encodings.so hashes.so pposix.so install *.so ../util/ @@ -29,4 +29,9 @@ hashes.o: hashes.c gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c hashes.so: hashes.o export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o hashes.so hashes.o -L/usr/local/lib -llua$(LUA_SUFFIX) -lcrypto -lssl + +pposix.o: pposix.c + gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o pposix.o pposix.c +pposix.so: pposix.o + export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o pposix.so pposix.o -L/usr/local/lib -llua$(LUA_SUFFIX) |