aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-06 23:20:59 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-06 23:20:59 +0000
commit8b821c21d39f6391c8421c465ecaacc344f5e8fd (patch)
treeab1f68fb5cad5e99e0be64121a022842523448b1 /Makefile
parent36777188133ce74e2fbb82b41d67087005f06967 (diff)
downloadprosody-8b821c21d39f6391c8421c465ecaacc344f5e8fd.tar.gz
prosody-8b821c21d39f6391c8421c465ecaacc344f5e8fd.zip
Add posix support library, and adjust makefiles for it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0e17e1e4..606d92b0 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,10 @@ INSTALLEDCONFIG = $(SYSCONFDIR)
INSTALLEDMODULES = $(PREFIX)/lib/prosody/modules
INSTALLEDDATA = $(DATADIR)
-all: prosody.install prosody.cfg.lua.install util/encodings.so util/hashes.so
+all: prosody.install prosody.cfg.lua.install
+ $(MAKE) -C util-src install
-install: prosody.install prosody.cfg.lua.install util/encodings.so util/encodings.so
+install: prosody.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so
install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA)
install -d $(CONFIG)/certs
install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util
@@ -39,6 +40,9 @@ util/encodings.so:
util/hashes.so:
$(MAKE) install -C util-src
+util/pposix.so:
+ $(MAKE) install -C util-src
+
prosody.install: prosody
sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \
s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \