]>
Commit | Line | Data |
---|---|---|
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)\" -pthread | |
11 | AM_CFLAGS += $(DBUS_CFLAGS) $(FUSE_CFLAGS) $(GLIB_CFLAGS) $(GLIBDBUS_CFLAGS) $(GIO_CFLAGS) | |
12 | AM_LDFLAGS = $(DBUS_LIBS) $(FUSE_LIBS) $(GLIB_LIBS) -pthread $(GLIBDBUS_LIBS) $(GIO_LIBS) | |
13 | ||
14 | bin_PROGRAMS = lxcfs lxcfs_mkdir | |
15 | ||
16 | lxcfs_SOURCES = lxcfs.c cgmanager.c cgmanager.h cpuset.c | |
17 | lxcfs_mkdir_SOURCES = lxcfs_mkdir.c cgmanager.c cgmanager.h cpuset.c | |
18 | ||
19 | EXTRA_DIST = \ | |
20 | lxcfs.man.add | |
21 | ||
22 | if HAVE_HELP2MAN | |
23 | man_MANS = lxcfs.1 | |
24 | ||
25 | lxcfs.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 | |
27 | endif | |
28 | ||
29 | TEST_READ: tests/test-read.c | |
30 | $(CC) -o tests/test-read tests/test-read.c | |
31 | ||
32 | TEST_CPUSET: tests/cpusetrange.c cpuset.c | |
33 | $(CC) -o tests/cpusetrange tests/cpusetrange.c cpuset.c | |
34 | ||
35 | tests: TEST_READ TEST_CPUSET | |
36 | ||
37 | distclean: | |
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 |