X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Flib%2FMakefile.am;fp=src%2Flib%2FMakefile.am;h=03ffdc8c42bdf2cc3ba261c6af31212f918f53cd;hp=74d2b7633b576534f2e652afaf68419e15356b41;hb=dcd813f21c83592155f712ff1acf450b483d8072;hpb=f055e7507526592d3a74c652f5f053701614c9c0 diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 74d2b76..03ffdc8 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -2,22 +2,32 @@ noinst_LIBRARIES = libpsensor.a libpsensor_a_SOURCES = \ amd.h \ - cpu.h \ - measure.h measure.c \ + bool.h \ color.h color.c \ + cpu.h \ + hdd.h hdd_hddtemp.c\ + lmsensor.h lmsensor.c \ log.h log.c \ - psensor.h psensor.c\ - hdd.h hdd.c\ + measure.h measure.c \ + ptime.h ptime.c \ nvidia.h \ - lmsensor.h lmsensor.c \ - p_io.h p_io.c \ + psensor.h psensor.c\ + pio.h pio.c \ + slog.c slog.h \ url.c url.h AM_CPPFLAGS = -Wall -Werror +if ATASMART +libpsensor_a_SOURCES += hdd_atasmart.c +LIBS += $(ATASMART_LIBS) +AM_CPPFLAGS += $(ATASMART_CFLAGS) +endif + if NVIDIA libpsensor_a_SOURCES += nvidia.c endif + if LIBATIADL LIBS += $(LIBATIADL_LIBS) AM_CPPFLAGS += $(LIBATIADL_CFLAGS)