]> git.proxmox.com Git - mirror_lxcfs.git/blame_incremental - Makefile.am
configure.ac: drop libcgmanager dependency
[mirror_lxcfs.git] / Makefile.am
... / ...
CommitLineData
1ACLOCAL_AMFLAGS = -I m4
2
3SUBDIRS = tests share
4DIST_SUBDIRS = tests share
5
6VERSION_CURRENT = 0
7VERSION_REVISION = 0
8VERSION_AGE = 0
9
10AM_CFLAGS = -Wall -ggdb -D_GNU_SOURCE -DSBINDIR=\"$(SBINDIR)\" -pthread
11AM_CFLAGS += $(DBUS_CFLAGS) $(FUSE_CFLAGS) $(GLIB_CFLAGS) $(GLIBDBUS_CFLAGS) $(GIO_CFLAGS)
12AM_LDFLAGS = $(DBUS_LIBS) $(FUSE_LIBS) $(GLIB_LIBS) -pthread $(GLIBDBUS_LIBS) $(GIO_LIBS)
13
14bin_PROGRAMS = lxcfs lxcfs_mkdir
15
16lxcfs_SOURCES = lxcfs.c cgmanager.c cgmanager.h cpuset.c
17lxcfs_mkdir_SOURCES = lxcfs_mkdir.c cgmanager.c cgmanager.h cpuset.c
18
19EXTRA_DIST = \
20 lxcfs.man.add
21
22if HAVE_HELP2MAN
23man_MANS = lxcfs.1
24
25lxcfs.1: lxcfs lxcfs.man.add
26 $(HELP2MAN) -n "Set up cgroup fs for containers" --no-discard-stderr -s 1 -I lxcfs.man.add -N ./lxcfs > lxcfs.1
27endif
28
29TEST_READ: tests/test-read.c
30 $(CC) -o tests/test-read tests/test-read.c
31
32TEST_CPUSET: tests/cpusetrange.c cpuset.c
33 $(CC) -o tests/cpusetrange tests/cpusetrange.c cpuset.c
34
35tests: TEST_READ TEST_CPUSET
36
37distclean:
38 rm -rf .deps/ \
39 INSTALL \
40 Makefile \
41 Makefile.in \
42 aclocal.m4 \
43 autom4te.cache/ \
44 cgmanager.o \
45 compile \
46 config.guess \
47 config.h \
48 config.h.in \
49 config.log \
50 config.status \
51 config.sub \
52 configure \
53 depcomp \
54 install-sh \
55 libtool \
56 ltmain.sh \
57 lxcfs \
58 lxcfs.1 \
59 lxcfs.o \
60 m4/ \
61 missing \
62 stamp-h1