diff options
Diffstat (limited to 'lib-src/Makefile.in')
| -rw-r--r-- | lib-src/Makefile.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 0a6dd826c10..78905e48fb3 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -214,6 +214,12 @@ LIB_WSOCK32=@LIB_WSOCK32@ | |||
| 214 | ## Extra libraries for etags | 214 | ## Extra libraries for etags |
| 215 | LIBS_ETAGS = $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) | 215 | LIBS_ETAGS = $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) |
| 216 | 216 | ||
| 217 | LIBSECCOMP=@LIBSECCOMP@ | ||
| 218 | |||
| 219 | ifneq ($(LIBSECCOMP),) | ||
| 220 | DONT_INSTALL += seccomp-filter$(EXEEXT) | ||
| 221 | endif | ||
| 222 | |||
| 217 | ## Extra libraries to use when linking movemail. | 223 | ## Extra libraries to use when linking movemail. |
| 218 | LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) \ | 224 | LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) \ |
| 219 | $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) $(LIB_WSOCK32) $(LIBS_ETAGS) | 225 | $(COM_ERRLIB) $(LIBHESIOD) $(LIBRESOLV) $(LIB_WSOCK32) $(LIBS_ETAGS) |
| @@ -243,6 +249,10 @@ config_h = ../src/config.h $(srcdir)/../src/conf_post.h | |||
| 243 | 249 | ||
| 244 | all: ${EXE_FILES} ${SCRIPTS} | 250 | all: ${EXE_FILES} ${SCRIPTS} |
| 245 | 251 | ||
| 252 | ifneq ($(LIBSECCOMP),) | ||
| 253 | all: seccomp-filter.bpf | ||
| 254 | endif | ||
| 255 | |||
| 246 | .PHONY: all need-blessmail maybe-blessmail | 256 | .PHONY: all need-blessmail maybe-blessmail |
| 247 | 257 | ||
| 248 | LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) | 258 | LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) |
| @@ -425,4 +435,13 @@ update-game-score${EXEEXT}: ${srcdir}/update-game-score.c $(NTLIB) $(config_h) | |||
| 425 | emacsclient.res: ../nt/emacsclient.rc $(NTINC)/../icons/emacs.ico | 435 | emacsclient.res: ../nt/emacsclient.rc $(NTINC)/../icons/emacs.ico |
| 426 | $(AM_V_RC)$(WINDRES) -O coff --include-dir=$(NTINC)/.. -o $@ $< | 436 | $(AM_V_RC)$(WINDRES) -O coff --include-dir=$(NTINC)/.. -o $@ $< |
| 427 | 437 | ||
| 438 | ifneq ($(LIBSECCOMP),) | ||
| 439 | seccomp-filter$(EXEEXT): $(srcdir)/seccomp-filter.c $(config_h) | ||
| 440 | $(AM_V_CCLD)$(CC) $(ALL_CFLAGS) $< $(LIBSECCOMP) -o $@ | ||
| 441 | |||
| 442 | seccomp-filter.bpf seccomp-filter.pfc: seccomp-filter$(EXEEXT) | ||
| 443 | $(AM_V_GEN)./seccomp-filter$(EXEEXT) \ | ||
| 444 | seccomp-filter.bpf seccomp-filter.pfc | ||
| 445 | endif | ||
| 446 | |||
| 428 | ## Makefile ends here. | 447 | ## Makefile ends here. |