Software /
code /
prosody
Comparison
util-src/Makefile @ 987:d55ec60331e7
Makefiles, util.signal: Add lsignal library for catching POSIX signals
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 02:53:00 +0100 |
parent | 798:2a92b58144a9 |
child | 993:b2e9456dc200 |
comparison
equal
deleted
inserted
replaced
986:ebd94ad97b75 | 987:d55ec60331e7 |
---|---|
8 OPENSSL_LIB?=crypto | 8 OPENSSL_LIB?=crypto |
9 CC?=gcc | 9 CC?=gcc |
10 LD?=gcc | 10 LD?=gcc |
11 | 11 |
12 | 12 |
13 all: encodings.so hashes.so pposix.so | 13 all: encodings.so hashes.so pposix.so signal.so |
14 | 14 |
15 install: encodings.so hashes.so pposix.so | 15 install: encodings.so hashes.so pposix.so |
16 install *.so ../util/ | 16 install *.so ../util/ |
17 | 17 |
18 | 18 |
35 pposix.o: pposix.c | 35 pposix.o: pposix.c |
36 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o pposix.o pposix.c | 36 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o pposix.o pposix.c |
37 pposix.so: pposix.o | 37 pposix.so: pposix.o |
38 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) | 38 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) |
39 | 39 |
40 lsignal.o: lsignal.c | |
41 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o lsignal.o lsignal.c | |
42 signal.so: lsignal.o | |
43 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o signal.so lsignal.o | |
44 |