diff options
| author | 2024-11-12 21:01:09 +0100 | |
|---|---|---|
| committer | 2024-11-16 00:54:12 +0100 | |
| commit | 75f615905629f64f40363161281d640010153d64 (patch) | |
| tree | afd40445102e4bac6da69e55ee96a0f97dcb3479 /Makefile | |
| parent | Minor tweak to proxy code (some URLs were not correctly formed). (diff) | |
| download | snac2-75f615905629f64f40363161281d640010153d64.tar.gz snac2-75f615905629f64f40363161281d640010153d64.tar.xz snac2-75f615905629f64f40363161281d640010153d64.zip | |
sandboxing port to linux via landlock
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -4,7 +4,7 @@ CFLAGS?=-g -Wall -Wextra -pedantic | |||
| 4 | 4 | ||
| 5 | all: snac | 5 | all: snac |
| 6 | 6 | ||
| 7 | snac: snac.o main.o data.o http.o httpd.o webfinger.o \ | 7 | snac: snac.o main.o sandbox.o data.o http.o httpd.o webfinger.o \ |
| 8 | activitypub.o html.o utils.o format.o upgrade.o mastoapi.o | 8 | activitypub.o html.o utils.o format.o upgrade.o mastoapi.o |
| 9 | $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto $(LDFLAGS) -pthread -o $@ | 9 | $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto $(LDFLAGS) -pthread -o $@ |
| 10 | 10 | ||
| @@ -36,6 +36,8 @@ uninstall: | |||
| 36 | activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \ | 36 | activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \ |
| 37 | xs_openssl.h xs_regex.h xs_time.h xs_set.h xs_match.h snac.h \ | 37 | xs_openssl.h xs_regex.h xs_time.h xs_set.h xs_match.h snac.h \ |
| 38 | http_codes.h | 38 | http_codes.h |
| 39 | sandbox.o: sandbox.c xs.h xs_hex.h xs_io.h xs_json.h xs_openssl.h \ | ||
| 40 | xs_glob.h xs_set.h xs_time.h xs_regex.h xs_match.h xs_unicode.h snac.h | ||
| 39 | data.o: data.c xs.h xs_hex.h xs_io.h xs_json.h xs_openssl.h xs_glob.h \ | 41 | data.o: data.c xs.h xs_hex.h xs_io.h xs_json.h xs_openssl.h xs_glob.h \ |
| 40 | xs_set.h xs_time.h xs_regex.h xs_match.h xs_unicode.h xs_random.h snac.h \ | 42 | xs_set.h xs_time.h xs_regex.h xs_match.h xs_unicode.h xs_random.h snac.h \ |
| 41 | http_codes.h | 43 | http_codes.h |