diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | util-src/Makefile | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -43,6 +43,9 @@ util/hashes.so: util/pposix.so: $(MAKE) install -C util-src +util/signal.so: + $(MAKE) install -C util-src + prosody.install: prosody sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ diff --git a/util-src/Makefile b/util-src/Makefile index 4058b59d..b3753d48 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -10,7 +10,7 @@ CC?=gcc LD?=gcc -all: encodings.so hashes.so pposix.so +all: encodings.so hashes.so pposix.so signal.so install: encodings.so hashes.so pposix.so install *.so ../util/ @@ -37,3 +37,8 @@ pposix.o: pposix.c pposix.so: pposix.o export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) +lsignal.o: lsignal.c + $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o lsignal.o lsignal.c +signal.so: lsignal.o + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o signal.so lsignal.o + |