summaryrefslogtreecommitdiff
path: root/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile29
1 files changed, 1 insertions, 28 deletions
diff --git a/util/Makefile b/util/Makefile
index 797c9fe3..711761b1 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -3,10 +3,7 @@
include ../config.mk
SETTINGS=../$(LIBDIR)/settings.html
KEYS=../$(LIBDIR)/keys.html
-TLDS_H=../$(SRCDIR)/tlds.h
-HSTS=convert_transport_security
-HSTS_PRELOAD=../$(SRCDIR)/hsts_preload.h
-OUTFILES=$(SETTINGS) $(KEYS) $(HSTS_PRELOAD) $(TLDS_H)
+OUTFILES=$(SETTINGS) $(KEYS)
all: $(OUTFILES)
@@ -18,30 +15,6 @@ $(SETTINGS): settings.in
@echo gen settings.html
@awk -f generate_settings.awk $< > $@
-$(TLDS_H): ../src/tlds.in mktlds-header
- @echo gen $@
- @./mktlds-header < ../src/tlds.in > $@
-
-mktlds-header: mktlds-header.o
- @echo "${CC} $<"
- @$(CC) -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
-
-%.o: %.c
- @echo "${CC} $<"
- @$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
-
-settings.in: settings.pre
- @$(shell if pkg-config --exists 'libsoup-2.4 >= 2.38'; then \
- sed 's/^SSL_CERTIFICATION/ssl-use-system-ca-file checkbox Whether to use the system certification file/' $< > $@;\
- else sed 's/^SSL_CERTIFICATION/ssl-ca-file text Path to ssl-certificate/;/^addressbar-dns-lookup/d' $< > $@; fi)
-
-$(HSTS): $(HSTS).c
- @echo "${CC} $<"
- @$(CC) $(CFLAGS) $(shell pkg-config --cflags --libs glib-2.0 gnutls json) -o $(HSTS) $(HSTS).c
-
-$(HSTS_PRELOAD): $(HSTS) transport_security_state_static.certs transport_security_state_static.json
- ./$(HSTS) > $(HSTS_PRELOAD)
-
clean:
$(RM) $(OUTFILES)