projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow to build psensor-server even if gtk/gconf/x11/xext is not present
[psensor.git]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
8233207
..
da2b590
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-26,7
+26,17
@@
LIBS = \
$(PTHREAD_LIBS)\
$(SENSORS_LIBS)
$(PTHREAD_LIBS)\
$(SENSORS_LIBS)
+if GTK
+if X11
+if XEXT
+if GCONF
bin_PROGRAMS = psensor
bin_PROGRAMS = psensor
+dist_man_MANS = psensor.1
+endif
+endif
+endif
+endif
+
psensor_SOURCES = \
cfg.h cfg.c \
graph.h graph.c \
psensor_SOURCES = \
cfg.h cfg.c \
graph.h graph.c \
@@
-58,9
+68,11
@@
AM_CPPFLAGS += $(APPINDICATOR_CFLAGS)
endif
if NVIDIA
endif
if NVIDIA
+if X11
AM_CPPFLAGS += $(NVIDIA_CFLAGS)
LIBS += $(NVIDIA_LIBS)
endif
AM_CPPFLAGS += $(NVIDIA_CFLAGS)
LIBS += $(NVIDIA_LIBS)
endif
+endif
if LIBATIADL
AM_CPPFLAGS += $(LIBATIADL_CFLAGS)
if LIBATIADL
AM_CPPFLAGS += $(LIBATIADL_CFLAGS)
@@
-86,7
+98,6
@@
AM_CPPFLAGS += $(CURL_CFLAGS) $(JSON_CFLAGS)
endif
endif
endif
endif
-dist_man_MANS = psensor.1
EXTRA_DIST = description.txt psensor.schemas
EXTRA_DIST = description.txt psensor.schemas