From: Gerald Carter Date: Wed, 17 Mar 2004 17:13:26 +0000 (+0000) Subject: BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build X-Git-Tag: samba-4.0.0alpha6~801^2~11810 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad49346e1a284ac2d1b8d766f6d05ec022b031f4;p=thirdparty%2Fsamba.git BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build (This used to be commit c0a38844be8f1ec0bc254ab6c34688f9132a3f3d) --- diff --git a/pcp/Makefile b/pcp/Makefile index e01731b2565..e4b5fb75064 100644 --- a/pcp/Makefile +++ b/pcp/Makefile @@ -47,7 +47,9 @@ CFLAGS = $(DEBUG) LDOPTS = LDLIBS = -lpcp_pmda -lpcp DSOOPTS = -shared -LDIRT = metrics.h so_locations *.log help.dir help.pag *.pmda_$(IAM).so +LDIRT = profile.h metrics.h so_locations *.log help.dir help.pag *.pmda_$(IAM).so + +PROFILEHEADER = ../source/include/smbprofile.h INSTALL = install CC = cc @@ -65,5 +67,8 @@ $(LIBTARGET): profile.h metrics.h $(CFILES) metrics.h: profile.h mkheader.pl ./mkheader.pl +profile.h: $(PROFILEHEADER) + ln -s $(PROFILEHEADER) $@ + clobber clean: rm -f $(LDIRT) $(TARGETS)