X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=5add14736705dbea0ea639273c021e0121ede986;hb=be68914bbcbfde6dbc51e20075691afbab3c2489;hp=dd085c62b2e9057735e96f9c5e4ee960286d9f48;hpb=3a8a5969df8528e2779840fb57f189cc778c5678;p=ppastats.git diff --git a/src/Makefile.am b/src/Makefile.am index dd085c6..5add147 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,21 +1,26 @@ -AM_CPPFLAGS = -Wall -std=gnu99\ +AM_CPPFLAGS = -Wall -std=gnu99 -Werror\ -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ $(CURL_CFLAGS) $(JSON_CFLAGS) LIBS += $(CURL_LIBS) $(JSON_LIBS) +DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ + bin_PROGRAMS = ppastats ppastats_SOURCES = \ cache.h cache.c\ + fcache.h fcache.c\ html.h html.c\ io.h io.c\ list.h list.c\ + log.h log.c\ lp.h lp.c\ lp_json.h lp_json.c\ lp_ws.h lp_ws.c\ main.c\ - ppastats.h ppastats.c + ppastats.h ppastats.c\ + str.h str.c dist_man_MANS = ppastats.1