aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile9
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)