Software /
code /
prosody
Comparison
util-src/Makefile @ 3762:f02bac902a1e
util.encodings: Support for ICU for IDNA operations.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Tue, 14 Dec 2010 15:03:37 +0100 |
parent | 3334:73f078caf99d |
child | 3769:9338d0785277 |
comparison
equal
deleted
inserted
replaced
3723:72a917d910a4 | 3762:f02bac902a1e |
---|---|
5 LUA_INCDIR?=/usr/include/lua$(LUA_SUFFIX) | 5 LUA_INCDIR?=/usr/include/lua$(LUA_SUFFIX) |
6 LUA_LIB?=lua$(LUA_SUFFIX) | 6 LUA_LIB?=lua$(LUA_SUFFIX) |
7 IDN_LIB?=idn | 7 IDN_LIB?=idn |
8 OPENSSL_LIB?=crypto | 8 OPENSSL_LIB?=crypto |
9 CC?=gcc | 9 CC?=gcc |
10 CXX?=g++ | |
10 LD?=gcc | 11 LD?=gcc |
11 | 12 |
12 .SUFFIXES: .c .o .so | 13 .SUFFIXES: .c .o .so |
14 | |
15 encodings.o: | |
16 $(CXX) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.cpp | |
17 | |
18 encodings.so: encodings.o | |
19 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | |
20 $(CXX) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto | |
13 | 21 |
14 .c.o: | 22 .c.o: |
15 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< | 23 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< |
16 | 24 |
17 .o.so: | 25 .o.so: |