mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:28 +02:00
using gnumake instead of shell script to build sni_support.so
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
CFLAGS+=-fpic -I/usr/include/python2.7
|
||||
LDFLAGS+=
|
||||
|
||||
targets=sni_support.so sni_support_wrap.c sni_support.py
|
||||
|
||||
all: sni_support.so
|
||||
|
||||
sni_support_wrap.c sni_support.py: sni_support.i
|
||||
swig -python $^
|
||||
|
||||
sni_support.so: sni_support_wrap.o sni_support.o
|
||||
$(CC) -shared $^ -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(targets)
|
||||
Reference in New Issue
Block a user