fixed amd support build
[psensor.git] / src / Makefile.am
index e567c83..a165593 100644 (file)
@@ -8,19 +8,22 @@ endif
 
 if LIBMICROHTTPD
 if JSON
-if LUA
 SUBDIRS += server
 endif
 endif
-endif
 
-AM_CPPFLAGS = -Wall -pedantic -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
+AM_CPPFLAGS = -Wall -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
        -I$(top_srcdir)/src/lib \
        -I$(top_srcdir)/src/unity \
        $(GTK_CFLAGS)\
        $(GCONF_CFLAGS)\
        $(SENSORS_CFLAGS)
 
+if LIBATIADL
+else
+AM_CPPFLAGS += -pedantic 
+endif
+
 DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
 LIBS = \
@@ -40,7 +43,8 @@ psensor_SOURCES = \
        ui_color.h ui_color.c \
        ui_graph.h ui_graph.c \
        ui_pref.h ui_pref.c \
-       ui_sensorlist.h ui_sensorlist.c 
+       ui_sensorlist.h ui_sensorlist.c \
+       ui_sensorpref.h ui_sensorpref.c
 
 if LIBNOTIFY
 psensor_SOURCES += ui_notify.h ui_notify.c
@@ -73,7 +77,7 @@ endif
 endif
 
 dist_man_MANS = psensor.1
-
+EXTRA_DIST = description.txt
 
 psensor.1: main.c $(top_srcdir)/configure.ac
        $(MAKE) $(AM_MAKEFLAGS) psensor$(EXEEXT)