]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - src/Makefile.am
rename fuse_compat.h to avoid conflict with system header
[mirror_lxcfs.git] / src / Makefile.am
index 6c686324156414d39e57a726c2569712e529d920..e06dc352ef961756afc12f0b0769ac2c766980e4 100644 (file)
@@ -15,11 +15,13 @@ liblxcfs_la_SOURCES = api_extensions.h \
                      cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
                      cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
                      cpuset_parse.c cpuset_parse.h \
+                     lxcfs_fuse_compat.h \
                      macro.h \
                      memory_utils.h \
                      proc_cpuview.c proc_cpuview.h \
                      proc_fuse.c proc_fuse.h \
                      proc_loadavg.c proc_loadavg.h \
+                     syscall_numbers.h \
                      sysfs_fuse.c sysfs_fuse.h \
                      utils.c utils.h
 liblxcfs_la_CFLAGS = $(AM_CFLAGS)
@@ -43,11 +45,13 @@ liblxcfstest_la_SOURCES = api_extensions.h \
                          cgroups/cgroup2_devices.c cgroups/cgroup2_devices.h \
                          cgroups/cgroup_utils.c cgroups/cgroup_utils.h \
                          cpuset_parse.c cpuset_parse.h \
+                         lxcfs_fuse_compat.h \
                          macro.h \
                          memory_utils.h \
                          proc_cpuview.c proc_cpuview.h \
                          proc_fuse.c proc_fuse.h \
                          proc_loadavg.c proc_loadavg.h \
+                         syscall_numbers.h \
                          sysfs_fuse.c sysfs_fuse.h \
                          utils.c utils.h
 liblxcfstest_la_CFLAGS = $(AM_CFLAGS) -DRELOADTEST
@@ -70,11 +74,13 @@ noinst_HEADERS = api_extensions.h \
                 cgroups/cgroup2_devices.h \
                 cgroups/cgroup_utils.h \
                 cpuset_parse.h \
+                lxcfs_fuse_compat.h \
                 macro.h \
                 memory_utils.h \
                 proc_cpuview.h \
                 proc_fuse.h \
                 proc_loadavg.h \
+                syscall_numbers.h \
                 sysfs_fuse.h \
                 utils.h
 
@@ -88,15 +94,6 @@ lxcfs_CFLAGS = $(AM_CFLAGS)
 lxcfs_LDFLAGS = $(AM_LDFLAGS)
 bin_PROGRAMS = lxcfs
 
-EXTRA_DIST = ../man/lxcfs.man.add ../lxcfs.spec
-
-if HAVE_HELP2MAN
-man_MANS = ../man/lxcfs.1
-
-lxcfs.1: lxcfs ../man/lxcfs.man.add
-       $(HELP2MAN) -n "System virtualization filesystem for containers" --no-discard-stderr -s 1 -I ../man/lxcfs.man.add -N ./lxcfs > ../man/lxcfs.1
-endif
-
 TEST_READ: tests/test-read.c
        $(CC) -o tests/test-read \
                tests/test-read.c
@@ -108,31 +105,3 @@ TEST_SYSCALLS: tests/test_syscalls.c
        $(CC) -o tests/test_syscalls \
                tests/test_syscalls.c
 tests: TEST_READ TEST_CPUSET TEST_SYSCALLS
-
-distclean:
-       rm -rf .deps/ \
-               INSTALL \
-               Makefile \
-               Makefile.in \
-               aclocal.m4 \
-               autom4te.cache/ \
-               compile \
-               config.guess \
-               config.h \
-               config.h.in \
-               config.log \
-               config.status \
-               config.sub \
-               configure \
-               depcomp \
-               install-sh \
-               libtool \
-               ltmain.sh \
-               lxcfs \
-               ../man/lxcfs.1 \
-               lxcfs.o \
-               m4/ \
-               missing \
-               stamp-h1 \
-               tests/test_syscalls \
-               *.lo *.la