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