X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=src%2FMakefile.am;h=56276e329ccbc5fd63d29f1acad7cc9df1e336f5;hp=bcb15aa698891db9bdfc058d1afc9fbb2a8771f3;hb=677d2bfc3beae998b73f48a4be3036f09d6848ff;hpb=79035c81c5c623a30d0139bca33bd41ee1756930 diff --git a/src/Makefile.am b/src/Makefile.am index bcb15aa..56276e3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,20 +1,28 @@ AM_CPPFLAGS = -Wall -std=gnu99 -Werror\ - -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ + -DDEFAULT_THEME_DIR=\""$(pkgdatadir)/themes/default"\"\ $(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\ + http.h http.c\ list.h list.c\ lp.h lp.c\ lp_json.h lp_json.c\ lp_ws.h lp_ws.c\ main.c\ - ppastats.h ppastats.c + plog.h plog.c\ + ppastats.h ppastats.c\ + pio.h pio.c\ + pstr.h pstr.c\ + ptime.h ptime.c dist_man_MANS = ppastats.1