aboutsummaryrefslogtreecommitdiffstats
path: root/src/fids/Makefile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-06-30 09:00:15 -0400
committerLibravatar GitHub <noreply@github.com>2022-06-30 09:00:15 -0400
commit70aaf6fea40ac4f4f28094cad639ec4c00897843 (patch)
treeb3013b4abeaf00cde4ab63f90bdc91ef8e6520a9 /src/fids/Makefile
parenttest/fs: enable private-lib in firejail.config (diff)
parentmakefiles: add generated files as dependencies (diff)
downloadfirejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.gz
firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.zst
firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.zip
Merge pull request #5219 from kmk3/build-reduce-config-files
build: reduce autoconf input files from 32 to 2
Diffstat (limited to 'src/fids/Makefile')
-rw-r--r--src/fids/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fids/Makefile b/src/fids/Makefile
new file mode 100644
index 000000000..e57c56b5b
--- /dev/null
+++ b/src/fids/Makefile
@@ -0,0 +1,18 @@
1.PHONY: all
2all: fids
3
4ROOT = ../..
5include $(ROOT)/src/common.mk
6
7%.o : %.c $(H_FILE_LIST) ../include/common.h $(ROOT)/config.mk
8 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
9
10#fseccomp: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o
11fids: $(OBJS) $(ROOT)/config.mk
12 $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS)
13
14.PHONY: clean
15clean:; rm -fr *.o fids *.gcov *.gcda *.gcno *.plist
16
17.PHONY: distclean
18distclean: clean