added support of the library ATI ADL in the build
[psensor.git] / src / lib / Makefile.am
1 noinst_LIBRARIES = libpsensor.a
2
3 libpsensor_a_CFLAGS = -pedantic -Werror
4
5 libpsensor_a_SOURCES = \
6         measure.h measure.c \
7         color.h color.c \
8         psensor.h psensor.c\
9         hdd.h hdd.c\
10         nvidia.h \
11         lmsensor.h lmsensor.c
12
13 if NVIDIA
14 libpsensor_a_SOURCES += nvidia.c
15 endif
16
17 if LIBATIADL
18 LIBS += $(LIBATIADL_LIBS)
19 AM_CPPFLAGS = $(LIBATIADL_CFLAGS)
20 endif