summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-17 17:13:26 +0000
committerGerald Carter <jerry@samba.org>2004-03-17 17:13:26 +0000
commitad49346e1a284ac2d1b8d766f6d05ec022b031f4 (patch)
treeccbebff02978fe486c13a0cf23e71a299165f44a
parentaa2e306a015ad070cf4bf8eb531f1871803bb016 (diff)
downloadsamba-ad49346e1a284ac2d1b8d766f6d05ec022b031f4.tar.gz
samba-ad49346e1a284ac2d1b8d766f6d05ec022b031f4.tar.bz2
samba-ad49346e1a284ac2d1b8d766f6d05ec022b031f4.zip
BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
(This used to be commit c0a38844be8f1ec0bc254ab6c34688f9132a3f3d)
-rw-r--r--pcp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/pcp/Makefile b/pcp/Makefile
index e01731b256..e4b5fb7506 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)