diff options
author | Herb Lewis <herb@samba.org> | 2000-11-09 20:45:09 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-11-09 20:45:09 +0000 |
commit | be6a3173458b3112e9b4d99d078895633fb80c60 (patch) | |
tree | 819139fd575e2bb522b16e56defcd367bbf474d0 /pcp/Makefile | |
parent | 3adc0e7a4ee71d255d2181a928d6e632664b7f4c (diff) | |
download | samba-be6a3173458b3112e9b4d99d078895633fb80c60.tar.gz samba-be6a3173458b3112e9b4d99d078895633fb80c60.tar.bz2 samba-be6a3173458b3112e9b4d99d078895633fb80c60.zip |
restructure PCP metrics (merge from 2.2 branch)
(This used to be commit dc725c2256ff5f3d8ac37fe33cfa1685194f7f46)
Diffstat (limited to 'pcp/Makefile')
-rw-r--r-- | pcp/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pcp/Makefile b/pcp/Makefile index 96d2b79cca..e01731b256 100644 --- a/pcp/Makefile +++ b/pcp/Makefile @@ -47,7 +47,7 @@ CFLAGS = $(DEBUG) LDOPTS = LDLIBS = -lpcp_pmda -lpcp DSOOPTS = -shared -LDIRT = so_locations *.log help.dir help.pag *.pmda_$(IAM).so +LDIRT = metrics.h so_locations *.log help.dir help.pag *.pmda_$(IAM).so INSTALL = install CC = cc @@ -56,11 +56,14 @@ default: $(TARGETS) install: default -$(CMDTARGET): profile.h $(CFILES) +$(CMDTARGET): profile.h metrics.h $(CFILES) $(CC) $(CFLAGS) $(CFILES) $(LDOPTS) $(LDLIBS) -o $@ -$(LIBTARGET): profile.h $(CFILES) +$(LIBTARGET): profile.h metrics.h $(CFILES) $(CC) $(CFLAGS) $(DSOOPTS) $(LDOPTS) $(CFILES) $(LDLIBS) -o $@ +metrics.h: profile.h mkheader.pl + ./mkheader.pl + clobber clean: rm -f $(LDIRT) $(TARGETS) |