X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Flib%2FMakefile.am;fp=src%2Flib%2FMakefile.am;h=6bf03c30c47be5e77113e3804965c4654f3819c0;hp=c7052b4195b18016993b768177327e462a1fe39c;hb=5c1e07fec97e34a94331b6b47e25c98f2b2e4cce;hpb=4c50d430bea4b8462b0ae7ab70baf3f538f87718 diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index c7052b4..6bf03c3 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -4,7 +4,6 @@ libpsensor_a_SOURCES = \ amd.h\ bool.h\ color.h color.c\ - cpu.h\ hdd.h hdd_hddtemp.c\ lmsensor.h lmsensor.c\ measure.h measure.c \ @@ -37,7 +36,7 @@ libpsensor_a_SOURCES += amd.c endif if GTOP -libpsensor_a_SOURCES += cpu.c +libpsensor_a_SOURCES += pgtop2.c pgtop2.h LIBS += $(GTOP_LIBS) AM_CPPFLAGS += $(GTOP_CFLAGS) endif @@ -48,7 +47,14 @@ LIBS += $(JSON_LIBS) AM_CPPFLAGS += $(JSON_CFLAGS) endif +if LIBUDISKS2 +libpsensor_a_SOURCES += pudisks2.c pudisks2.h +LIBS += $(LIBUDISKS2_LIBS) +AM_CPPFLAGS += $(LIBUDISKS2_CFLAGS) +endif + EXTRA_DIST=$(libpsensor_a_SOURCES) \ amd.c \ - cpu.c \ - nvidia.c + pgtop2.c pgtop2.h \ + nvidia.c \ + pudisks2.c pudisks2.h