summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-17 17:13:36 +0000
committerGerald Carter <jerry@samba.org>2004-03-17 17:13:36 +0000
commit2b7f6b1f8357b726e1b26e049149c8a7ae141911 (patch)
tree3d0ba4dd144016200e212ee10b4ea7fe44fce466
parent9a86aa2c3e6687fc6480ad3f971f79cfa71442f1 (diff)
downloadsamba-2b7f6b1f8357b726e1b26e049149c8a7ae141911.tar.gz
BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
(This used to be commit 77bf9fe0ce67b0a74dc5e6837c00e54884cc39ef)
-rw-r--r--pcp/Makefile7
1 files changed, 6 insertions, 1 deletions
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)