----- Original Message -----
> From: "jchaloup" <jchal...@redhat.com>
> To: libcg-devel@lists.sourceforge.net
> Cc: varek...@redhat.com
> Sent: Tuesday, May 20, 2014 10:11:32 AM
> Subject: [PATCH 3/4] Makefile: update for cgruleseng.d Makefiles
> 
> Modification of makefiles. cgrulesengd.c uses new functions for loading files
> from /etc/cgconfig.d/. Thus there is a dependency on tools-common.[c|h]
> files. Unfortunatelly they are in ../tools directory, adding dependency on
> files in a diffrent directory but on the same level. Makefile.in is
> regenerated from Makefile.am using autoreconf -ivf.
> 
> Tested on my local machine, all files are loaded properly, cgrulesengd
> properly creates groups based on templates from files from /etc/cgconfig.d/.
> 
> Signed-off-by: jchaloup <jchal...@redhat.com>
Acked-by: Ivana Hutarova Varekova <varek...@redhat.com>
> ---
>  src/daemon/Makefile.am |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
> index f3100ed..abbbe30 100644
> --- a/src/daemon/Makefile.am
> +++ b/src/daemon/Makefile.am
> @@ -1,9 +1,9 @@
> -INCLUDES = -I $(top_srcdir)/include
> +INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include
>  
>  if WITH_DAEMON
>  
>  sbin_PROGRAMS = cgrulesengd
> -cgrulesengd_SOURCES = cgrulesengd.c cgrulesengd.h
> +cgrulesengd_SOURCES = cgrulesengd.c cgrulesengd.h ../tools/tools-common.h
> ../tools/tools-common.c
>  cgrulesengd_LDADD = $(top_builddir)/src/.libs/libcgroup.la -lrt
>  cgrulesengd_LDFLAGS = -L$(top_builddir)/src/.libs
>  
> 
> 

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to