Software /
code /
prosody
Comparison
util-src/Makefile @ 3963:18b82491dc88
util-src/Makefile: Clean up and remove unnecessary all linking
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 26 Dec 2010 05:01:58 +0000 |
parent | 3769:9338d0785277 |
child | 3964:1b81df4042c0 |
comparison
equal
deleted
inserted
replaced
3962:c77eff3ac5e1 | 3963:18b82491dc88 |
---|---|
10 CXX?=g++ | 10 CXX?=g++ |
11 LD?=gcc | 11 LD?=gcc |
12 | 12 |
13 .SUFFIXES: .c .o .so | 13 .SUFFIXES: .c .o .so |
14 | 14 |
15 encodings.o: | |
16 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c | |
17 | |
18 encodings.so: encodings.o | 15 encodings.so: encodings.o |
19 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 16 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
20 $(CC) $(LDFLAGS) $(IDNA_LIBS) -o encodings.so encodings.o -lcrypto | 17 $(CC) $(LDFLAGS) $(IDNA_LIBS) -o $@ $< |
18 | |
19 hashes.so: hashes.o | |
20 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | |
21 $(CC) $(LDFLAGS) -l$(OPENSSL_LIB) -o $@ $< | |
21 | 22 |
22 .c.o: | 23 .c.o: |
23 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< | 24 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< |
24 | 25 |
25 .o.so: | 26 .o.so: |
26 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 27 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
27 $(LD) $(LDFLAGS) -o $@ $< -lidn -lcrypto | 28 $(LD) $(LDFLAGS) -o $@ $< |
28 | 29 |
29 all: encodings.so hashes.so pposix.so signal.so | 30 all: encodings.so hashes.so pposix.so signal.so |
30 | 31 |
31 install: encodings.so hashes.so pposix.so signal.so | 32 install: encodings.so hashes.so pposix.so signal.so |
32 install *.so ../util/ | 33 install *.so ../util/ |