]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
libcgroup: Don't store Makefile in SVN
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Thu, 12 Feb 2009 16:43:06 +0000 (16:43 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Thu, 12 Feb 2009 16:43:06 +0000 (16:43 +0000)
From: Jan Safranek <jsafrane@redhat.com>

Makefile is generated by configure script, it should not be stored in SVN.
I hope SVN understands such patches :).

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@323 4f4bb910-9a46-0410-90c8-c897d4f1cd53

Makefile [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 635d581..0000000
--- a/Makefile
+++ /dev/null
@@ -1,90 +0,0 @@
-# 
-#  Copyright IBM Corporation. 2007
-# 
-#  Authors:    Balbir Singh <balbir@linux.vnet.ibm.com>
-#  This program is free software; you can redistribute it and/or modify it
-#  under the terms of version 2.1 of the GNU Lesser General Public License
-#  as published by the Free Software Foundation.
-# 
-#  This program is distributed in the hope that it would be useful, but
-#  WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-YACC_DEBUG=-t
-DEBUG=-DDEBUG
-INC=-I.
-LIBS= -lcgroup -lpthread
-LDFLAGS= -L .
-YACC=byacc
-LEX=flex
-bindir=${exec_prefix}/bin
-sbindir=${exec_prefix}/sbin
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-prefix=/usr/local
-exec_prefix=${prefix}
-INSTALL=install
-INSTALL_DATA=install -m 644
-PACKAGE_VERSION=0.32.2
-CFLAGS=-g -O2 $(INC) -DPACKAGE_VERSION=$(PACKAGE_VERSION)
-VERSION=1
-
-TARGETS = libcgroup.so cgconfigparser cgexec cgclassify cgrulesengd pam_cgroup.so
-
-all: $(TARGETS)
-
-cgconfigparser: libcgroup.so cgconfig.c libcgroup.h
-       $(CC) $(CFLAGS) $(INC) -Wall -o $@ cgconfig.c $(LDFLAGS) $(LIBS)
-
-cgexec: libcgroup.so cgexec.c libcgroup.h
-       $(CC) $(CFLAGS) -Wall -o $@ cgexec.c $(LDFLAGS) $(LIBS)
-
-cgclassify: libcgroup.so cgclassify.c
-       $(CC) $(CFLAGS) -Wall -o $@ cgclassify.c $(LDFLAGS) $(LIBS)
-
-cgrulesengd: libcgroup.so libcgroup.h cgrulesengd.c cgrulesengd.h
-       $(CC) -std=gnu99 $(DEBUG) $(CFLAGS) -Wall -o $@ cgrulesengd.c \
-               $(LDFLAGS) $(LIBS)
-
-y.tab.c: parse.y lex.yy.c
-       $(YACC) -v -d parse.y
-
-lex.yy.c: lex.l
-       $(LEX) lex.l
-
-libcgroup.so: api.c libcgroup.h wrapper.c config.c lex.yy.c y.tab.c
-       $(CC) $(CFLAGS) -shared -fPIC -Wl,--soname,$@.$(VERSION) -o $@ \
-       -Wl,--version-script,libcgroup.map,--allow-shlib-undefined \
-       api.c wrapper.c lex.yy.c y.tab.c config.c
-       ln -sf $@ $@.$(VERSION)
-
-test:
-       $(MAKE) -C tests
-
-pam_cgroup.so: pam_cgroup.c libcgroup.so
-       $(CC) $(CFLAGS) -shared -fPIC -Wall -o $@ pam_cgroup.c $(LDFLAGS) \
-       $(LIBS) -lpam
-
-install: $(TARGETS)
-       $(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)/cgconfigparser
-       $(INSTALL) -D cgexec $(DESTDIR)$(bindir)/cgexec
-       $(INSTALL) -D cgclassify $(DESTDIR)$(bindir)/cgclassify
-       $(INSTALL) -D cgrulesengd $(DESTDIR)$(bindir)/cgrulesengd
-
-uninstall: libcgroup.so
-       rm -f $(DESTDIR)$(includedir)/libcgroup.h
-       rm -f $(DESTDIR)$(libdir)/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
-       rm -f $(DESTDIR)$(bindir)/cgrulesengd
-
-clean:
-       \rm -f y.tab.c y.tab.h lex.yy.c y.output libcgroup.so cgclassify \
-       libcgroup.so.$(VERSION) $(TARGETS)