X-Git-Url: http://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=9aa9c8d3823d79755ddd1aa49b9af6198e24d4e2;hpb=75fa49ffb0c9c8b60328c13ec8613299d094a2e5 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