diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-08-14 18:57:46 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-08-14 18:57:46 +0000 |
commit | 2e25f7c8db765bed43072d4581daf17e663e20c0 (patch) | |
tree | 393fb20080b101d7b5d87a24579e6a0817269ded | |
parent | a710ffe27f55ef3233b08e7aacb8c4647febc157 (diff) | |
download | libcg-2e25f7c8db765bed43072d4581daf17e663e20c0.tar.gz libcg-2e25f7c8db765bed43072d4581daf17e663e20c0.tar.xz libcg-2e25f7c8db765bed43072d4581daf17e663e20c0.zip |
libcgroup: Move trunk to v0.3
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@156 4f4bb910-9a46-0410-90c8-c897d4f1cd53
-rw-r--r-- | Makefile | 23 | ||||
-rwxr-xr-x | configure | 18 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 26 insertions, 17 deletions
@@ -21,20 +21,26 @@ bindir=${exec_prefix}/bin sbindir=${exec_prefix}/sbin libdir=${exec_prefix}/lib includedir=${prefix}/include -prefix=/usr +prefix=/usr/local exec_prefix=${prefix} INSTALL=install INSTALL_DATA=install -m 644 -PACKAGE_VERSION=0.2 +PACKAGE_VERSION=0.3 CFLAGS=-g -O2 $(INC) -DPACKAGE_VERSION=$(PACKAGE_VERSION) VERSION=1 -all: libcgroup.so cgconfigparser +all: libcgroup.so cgconfigparser cgexec cgclassify cgconfigparser: libcgroup.so config.c y.tab.c lex.yy.c libcgroup.h file-ops.c $(CC) $(CFLAGS) -o $@ y.tab.c lex.yy.c config.c file-ops.c \ $(LDFLAGS) $(LIBS) +cgexec: libcgroup.so cgexec.c libcgroup.h + $(CC) $(CFLAGS) -Wall -o $@ cgexec.c $(LDFLAGS) $(LIBS) + +cgclassify: cgclassify.c + $(CC) $(CFLAGS) -Wall -o $@ cgclassify.c $(LDFLAGS) $(LIBS) + y.tab.c: parse.y lex.yy.c $(YACC) -v -d parse.y @@ -49,12 +55,14 @@ libcgroup.so: api.c libcgroup.h wrapper.c test: $(MAKE) -C tests -install: libcgroup.so +install: libcgroup.so cgexec cgclassify $(INSTALL_DATA) -D libcgroup.h $(DESTDIR)$(includedir)/libcgroup.h $(INSTALL) -D libcgroup.so $(DESTDIR)$(libdir)/libcgroup-$(PACKAGE_VERSION).so ln -sf libcgroup-$(PACKAGE_VERSION).so $(DESTDIR)$(libdir)/libcgroup.so.$(VERSION) ln -sf libcgroup.so.$(VERSION) $(DESTDIR)$(libdir)/libcgroup.so $(INSTALL) -D cgconfigparser $(DESTDIR)$(sbindir) + $(INSTALL) cgexec $(DESTDIR)$(bindir)/cgexec + $(INSTALL) cgclassify $(DESTDIR)$(bindir)/cgclassify uninstall: libcgroup.so rm -f $(DESTDIR)$(includedir)/libcgroup.h @@ -62,8 +70,9 @@ uninstall: libcgroup.so rm -f $(DESTDIR)$(libdir)/libcgroup.so.$(VERSION) rm -f $(DESTDIR)$(libdir)/libcgroup-$(PACKAGE_VERSION).so rm -f $(DESTDIR)$(sbindir)/cgconfigparser + rm -f $(DESTDIR)$(bindir)/cgexec + rm -f $(DESTDIR)$(bindir)/cgclassify clean: - \rm -f y.tab.c y.tab.h lex.yy.c y.output cgconfig libcgroup.so \ - libcgroup.so.$(VERSION) cgconfigparser config.log config.status - $(MAKE) -C tests clean + \rm -f y.tab.c y.tab.h lex.yy.c y.output libcgroup.so cgclassify\ + libcgroup.so.$(VERSION) cgconfigparser config.log config.status cgexec @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for control groups library and utilities 0.2. +# Generated by GNU Autoconf 2.61 for control groups library and utilities 0.3. # # Report bugs to <http://sourceforge.net/tracker/?group_id=218421&atid=1043649>. # @@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='control groups library and utilities' PACKAGE_TARNAME='control-groups-library-and-utilities' -PACKAGE_VERSION='0.2' -PACKAGE_STRING='control groups library and utilities 0.2' +PACKAGE_VERSION='0.3' +PACKAGE_STRING='control groups library and utilities 0.3' PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?group_id=218421&atid=1043649' ac_unique_file="wrapper.c" @@ -1189,7 +1189,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures control groups library and utilities 0.2 to adapt to many kinds of systems. +\`configure' configures control groups library and utilities 0.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1250,7 +1250,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of control groups library and utilities 0.2:";; + short | recursive ) echo "Configuration of control groups library and utilities 0.3:";; esac cat <<\_ACEOF @@ -1335,7 +1335,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -control groups library and utilities configure 0.2 +control groups library and utilities configure 0.3 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1349,7 +1349,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by control groups library and utilities $as_me 0.2, which was +It was created by control groups library and utilities $as_me 0.3, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -6383,7 +6383,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by control groups library and utilities $as_me 0.2, which was +This file was extended by control groups library and utilities $as_me 0.3, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6432,7 +6432,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -control groups library and utilities config.status 0.2 +control groups library and utilities config.status 0.3 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.in b/configure.in index 996ad3e..c9b285a 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # AC_PREREQ(2.61) -AC_INIT([control groups library and utilities], 0.2, +AC_INIT([control groups library and utilities], 0.3, [http://sourceforge.net/tracker/?group_id=218421&atid=1043649]) AC_CONFIG_SRCDIR([wrapper.c]) AC_CONFIG_HEADER([config.h]) |