Software /
code /
prosody
Comparison
util-src/Makefile @ 1840:0bca03aaa845
Makefile: Don't combine variable export with assignment for compatibility with other shells (thanks Filip)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 29 Sep 2009 13:59:35 +0100 |
parent | 993:b2e9456dc200 |
child | 2022:9cbf4e8cb0ed |
comparison
equal
deleted
inserted
replaced
1838:8abe1d19c878 | 1840:0bca03aaa845 |
---|---|
22 rm -f ../util/*.so | 22 rm -f ../util/*.so |
23 | 23 |
24 encodings.o: encodings.c | 24 encodings.o: encodings.c |
25 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c | 25 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c |
26 encodings.so: encodings.o | 26 encodings.so: encodings.o |
27 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o encodings.so encodings.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lidn | 27 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
28 $(LD) $(LFLAGS) -o encodings.so encodings.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lidn | |
28 | 29 |
29 | 30 |
30 hashes.o: hashes.c | 31 hashes.o: hashes.c |
31 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c | 32 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c |
32 hashes.so: hashes.o | 33 hashes.so: hashes.o |
33 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o hashes.so hashes.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lcrypto | 34 MACOSX_DEPLOYMENT_TARGET="10.3"; |
35 export MACOSX_DEPLOYMENT_TARGET; | |
36 $(LD) $(LFLAGS) -o hashes.so hashes.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) -lcrypto | |
34 | 37 |
35 pposix.o: pposix.c | 38 pposix.o: pposix.c |
36 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o pposix.o pposix.c | 39 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o pposix.o pposix.c |
37 pposix.so: pposix.o | 40 pposix.so: pposix.o |
38 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) | 41 MACOSX_DEPLOYMENT_TARGET="10.3"; |
42 export MACOSX_DEPLOYMENT_TARGET; | |
43 $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX) | |
39 | 44 |
40 lsignal.o: lsignal.c | 45 lsignal.o: lsignal.c |
41 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o lsignal.o lsignal.c | 46 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o lsignal.o lsignal.c |
42 signal.so: lsignal.o | 47 signal.so: lsignal.o |
43 export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o signal.so lsignal.o | 48 MACOSX_DEPLOYMENT_TARGET="10.3"; |
49 export MACOSX_DEPLOYMENT_TARGET; | |
50 $(LD) $(LFLAGS) -o signal.so lsignal.o | |
44 | 51 |