diff options
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile new file mode 100644 index 0000000..5993751 --- /dev/null +++ b/src/GNUmakefile @@ -0,0 +1,127 @@ +# +# Copyright (c) 2012-2014 Red Hat. +# Copyright (c) 2000,2004,2012 Silicon Graphics, Inc. All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +TOPDIR = .. +include $(TOPDIR)/src/include/builddefs +-include ./GNUlocaldefs + +INCLUDE_SUBDIR = include +PMNS_SUBDIR = pmns +LIBPCP_SUBDIR = libpcp +LIBS_SUBDIRS = \ + libpcp_pmda \ + libpcp_trace \ + libpcp_http \ + libpcp_pmcd \ + libpcp_gui \ + libpcp_mmv \ + libpcp_import \ + libpcp_qed \ + libpcp_qmc \ + libpcp_qwt \ + # + +OTHER_SUBDIRS = \ + pminfo \ + pmprobe \ + bashrc \ + dbpmda \ + genpmda \ + newhelp \ + pcp \ + pmafm \ + pmatop \ + pmcollectl \ + pmfind \ + pmcpp \ + pmcd \ + pmcd_wait \ + pmchart \ + pmclient \ + pmconfig \ + pmdas \ + pmdate \ + pmdbg \ + pmdumplog \ + pmdumptext \ + pmerr \ + pmevent \ + pmgenmap \ + pmgetopt \ + pmhostname \ + pmie \ + pmieconf \ + pmiestatus \ + pmiostat \ + pmlc \ + pmlock \ + pmlogextract \ + pmlogger \ + pmlogreduce \ + pmlogconf \ + pmloglabel \ + pmlogrewrite \ + pmlogsummary \ + pmmgr \ + pmpost \ + pmproxy \ + pmquery \ + pmstat \ + pmstore \ + pmsocks \ + pmtrace \ + pmsignal \ + pmsleep \ + pmsnap \ + pmtop \ + pmtime \ + pmwebapi \ + pmval \ + perl \ + python \ + procmemstat \ + autofsd-probe \ + telnet-probe \ + collectl2pcp \ + iostat2pcp \ + mrtg2pcp \ + sar2pcp \ + sheet2pcp \ + win32ctl \ + # + +SUBDIRS = \ + $(INCLUDE_SUBDIR) \ + $(LIBPCP_SUBDIR) \ + $(PMNS_SUBDIR) \ + $(LIBS_SUBDIRS) \ + $(OTHER_SUBDIRS) + +default :: default_pcp + +include $(BUILDRULES) + +default_pcp : $(SUBDIRS) + $(SUBDIRS_MAKERULE) + +install :: default_pcp install_pcp + +install_pcp : $(SUBDIRS) + $(SUBDIRS_MAKERULE) + +$(LIBPCP_SUBDIR): $(INCLUDE_SUBDIR) +$(PMNS_SUBDIR): $(LIBPCP_SUBDIR) +$(LIBS_SUBDIRS): $(PMNS_SUBDIR) +$(OTHER_SUBDIRS): $(LIBS_SUBDIRS) |