r23787: Remove the pcp example code until SGI have given us approval to use it
[kai/samba.git] / pcp / Makefile
index e01731b2565efcab0d0513ab07da1d6c868baa3c..e4b5fb75064073c448a7e58937837893fd3c4957 100644 (file)
@@ -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)