Skip to content

Commit

Permalink
Simplify dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien GODARD <[email protected]>
  • Loading branch information
sysstat committed Apr 24, 2023
1 parent cf57f4c commit 8bb391a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Makefile to build sysstat commands
# (C) 1999-2021 Sebastien GODARD (sysstat <at> orange.fr)
# (C) 1999-2023 Sebastien GODARD (sysstat <at> orange.fr)

# Version and package name
VERSION = @PACKAGE_VERSION@
Expand Down Expand Up @@ -289,21 +289,21 @@ count_light.o: count.c common.h rd_stats.h

rd_sensors.o: rd_sensors.c common.h rd_sensors.h rd_stats.h

pr_stats.o: pr_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h pr_stats.h pr_xstats.h
pr_stats.o: pr_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h pr_xstats.h

pr_xstats.o: pr_xstats.c sa.h common.h rd_stats.h rd_sensors.h

rndr_stats.o: rndr_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h rndr_stats.h

xml_stats.o: xml_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h xml_stats.h
xml_stats.o: xml_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h

json_stats.o: json_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h json_stats.h
json_stats.o: json_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h

svg_stats.o: svg_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h svg_stats.h
svg_stats.o: svg_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h

raw_stats.o: raw_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h raw_stats.h
raw_stats.o: raw_stats.c sa.h common.h rd_stats.h rd_sensors.h ioconf.h sysconfig.h

pcp_stats.o: pcp_stats.c common.h rd_stats.h rd_sensors.h sa.h pcp_stats.h
pcp_stats.o: pcp_stats.c common.h rd_stats.h rd_sensors.h sa.h

sa_wrap.o: sa_wrap.c sa.h common.h rd_stats.h count.h rd_sensors.h
$(CC) -o $@ -c $(CFLAGS) -DSOURCE_SADC $(DFLAGS) $<
Expand All @@ -314,7 +314,7 @@ format_sadf.o: format.c sadf.h sa.h common.h rd_stats.h rd_sensors.h
format_sar.o: format.c sa.h common.h rd_stats.h rd_sensors.h
$(CC) -o $@ -c $(CFLAGS) -DSOURCE_SAR $(DFLAGS) $<

pcp_def_metrics.o: pcp_def_metrics.c common.h sa.h rd_stats.h rd_sensors.h pcp_def_metrics.h
pcp_def_metrics.o: pcp_def_metrics.c common.h sa.h rd_stats.h rd_sensors.h

sadf_misc.o: sadf_misc.c sadf.h pcp_def_metrics.h sa.h common.h rd_stats.h rd_sensors.h

Expand Down
1 change: 0 additions & 1 deletion json_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include "sa.h"
#include "ioconf.h"
#include "json_stats.h"

#ifdef USE_NLS
#include <locale.h>
Expand Down
3 changes: 1 addition & 2 deletions pcp_def_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "common.h"
#include "sa.h"
#include "pcp_def_metrics.h"

#ifdef HAVE_PCP
#include <pcp/pmapi.h>
Expand Down Expand Up @@ -1622,7 +1621,7 @@ void pcp_def_net_udp6_metrics(void)
* Define PCP metrics for huge pages statistics.
***************************************************************************
*/
void pcp_def_huge_metrics()
void pcp_def_huge_metrics(void)
{
#ifdef HAVE_PCP
pmiAddMetric("mem.util.hugepagesTotalBytes",
Expand Down
1 change: 0 additions & 1 deletion pcp_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/

#include "sa.h"
#include "pcp_stats.h"

#ifdef USE_NLS
#include <locale.h>
Expand Down
1 change: 0 additions & 1 deletion pr_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "sa.h"
#include "ioconf.h"
#include "pr_stats.h"
#include "pr_xstats.h"

#ifdef USE_NLS
Expand Down
1 change: 0 additions & 1 deletion raw_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "sa.h"
#include "ioconf.h"
#include "raw_stats.h"

extern uint64_t flags;
extern char bat_status[][16];
Expand Down
1 change: 0 additions & 1 deletion svg_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "sa.h"
#include "ioconf.h"
#include "svg_stats.h"

#ifdef USE_NLS
#include <locale.h>
Expand Down
1 change: 0 additions & 1 deletion xml_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include "sa.h"
#include "ioconf.h"
#include "xml_stats.h"

#ifdef USE_NLS
#include <locale.h>
Expand Down

0 comments on commit 8bb391a

Please sign in to comment.