Use the host compiler for build tool c-ify.
[darkstat-debian] / Makefile.in
index b0dbf2e..0e16ce5 100644 (file)
@@ -1,5 +1,7 @@
+# vim:set ts=8 sw=8 sts=8 noet:
+#
 # darkstat 3
-# copyright (c) 2001-2011 Emil Mikulic.
+# copyright (c) 2001-2014 Emil Mikulic.
 #
 # You may use, modify and redistribute this file under the terms of the
 # GNU General Public License version 2. (see COPYING.GPL)
@@ -21,9 +23,6 @@ sbindir = @sbindir@
 datarootdir = @datarootdir@
 mandir = @mandir@
 
-# Optimizations FIXME: dead code.  push into autoconf?
-#CPPFLAGS += -D__OPTIMIZE__
-
 SRCS = \
 acct.c         \
 addr.c         \
@@ -78,9 +77,6 @@ depend: config.status $(STATICHS)
        ./config.status
        rm -f Makefile.in.old
 
-show-dep:
-       @echo $(CPP) $(CPPFLAGS) -MM $(SRCS)
-
 graphjs.h: static/graph.js
        $(AM_V_CIFY)
        $(AM_V_at)./c-ify graph_js <static/graph.js >$@
@@ -100,7 +96,7 @@ install: darkstat
        $(INSTALL) -d $(DESTDIR)$(mandir)/man8
        $(INSTALL) -m 444 darkstat.8 $(DESTDIR)$(mandir)/man8
 
-.PHONY: all install clean depend show-dep
+.PHONY: all install clean depend
 
 # silent-rules
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
@@ -129,12 +125,12 @@ cap.o: cap.c acct.h cdefs.h cap.h config.h conv.h decode.h addr.h err.h \
  hosts_db.h localip.h now.h opt.h queue.h str.h
 conv.o: conv.c conv.h err.h cdefs.h
 darkstat.o: darkstat.c acct.h cap.h cdefs.h config.h conv.h daylog.h \
- graph_db.h db.h dns.h err.h http.h hosts_db.h addr.h localip.h ncache.h \
- now.h pidfile.h
-daylog.o: daylog.c err.h cdefs.h daylog.h graph_db.h str.h now.h
-db.o: db.c cdefs.h err.h hosts_db.h addr.h graph_db.h db.h
+ graph_db.h db.h dns.h err.h hosts_db.h addr.h http.h localip.h ncache.h \
+ now.h pidfile.h str.h
+daylog.o: daylog.c cdefs.h err.h daylog.h graph_db.h str.h now.h
+db.o: db.c err.h cdefs.h hosts_db.h addr.h graph_db.h db.h
 decode.o: decode.c cdefs.h decode.h addr.h err.h opt.h
-dns.o: dns.c cdefs.h conv.h decode.h addr.h dns.h err.h hosts_db.h \
+dns.o: dns.c cdefs.h cap.h conv.h decode.h addr.h dns.h err.h hosts_db.h \
  queue.h str.h tree.h bsd.h config.h
 err.o: err.c cdefs.h err.h opt.h pidfile.h bsd.h config.h
 graph_db.o: graph_db.c cap.h conv.h db.h acct.h err.h cdefs.h str.h \
@@ -142,12 +138,12 @@ graph_db.o: graph_db.c cap.h conv.h db.h acct.h err.h cdefs.h str.h \
 hosts_db.o: hosts_db.c cdefs.h conv.h decode.h addr.h dns.h err.h \
  hosts_db.h db.h html.h ncache.h now.h opt.h str.h
 hosts_sort.o: hosts_sort.c cdefs.h err.h hosts_db.h addr.h
-html.o: html.c config.h str.h html.h opt.h
+html.o: html.c config.h str.h cdefs.h html.h opt.h
 http.o: http.c cdefs.h config.h conv.h err.h graph_db.h hosts_db.h addr.h \
  http.h now.h queue.h str.h stylecss.h graphjs.h
 localip.o: localip.c addr.h bsd.h config.h conv.h err.h cdefs.h localip.h \
  now.h
 ncache.o: ncache.c conv.h err.h cdefs.h ncache.h tree.h bsd.h config.h
-now.o: now.c err.h cdefs.h now.h
+now.o: now.c err.h cdefs.h now.h str.h
 pidfile.o: pidfile.c err.h cdefs.h str.h pidfile.h
 str.o: str.c conv.h err.h cdefs.h str.h