ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/Makefile.in
(Generate patch)

Comparing ermyth/Makefile.in (file contents):
Revision 1.6 by pippijn, Mon Jul 23 12:49:08 2007 UTC vs.
Revision 1.9 by pippijn, Tue Aug 28 17:08:06 2007 UTC

2# Copyright © 2005 Atheme Development Group. 2# Copyright © 2005 Atheme Development Group.
3# Rights to this code are documented in doc/pod/license.pod. 3# Rights to this code are documented in doc/pod/license.pod.
4# 4#
5# This file contains build instructions. 5# This file contains build instructions.
6# 6#
7# $Id: Makefile.in,v 1.6 2007/07/23 12:49:08 pippijn Exp $ 7# $Id: Makefile.in,v 1.9 2007/08/28 17:08:06 pippijn Exp $
8# 8#
9 9
10RM = @RM@ 10RM = @RM@
11SHELL = /bin/sh 11SHELL = /bin/sh
12DISTNAME = @PACKAGE_NAME@-@PACKAGE_VERSION@ 12DISTNAME = @PACKAGE_NAME@-@PACKAGE_VERSION@
16 16
17# Want absolute paths? 17# Want absolute paths?
18SRCDIR = . 18SRCDIR = .
19@ABSPATHS@SRCDIR= @SRCDIR@/src 19@ABSPATHS@SRCDIR= @SRCDIR@/src
20 20
21SUBDIRS = modules src test 21SUBDIRS = modules doc src test
22CLEANDIRS = ${SUBDIRS} po 22CLEANDIRS = ${SUBDIRS} po
23 23
24.PHONY: dist test 24.PHONY: dist test
25 25
26all: build 26all: build
40.depend.stamp: 40.depend.stamp:
41 @${MAKE} ${SILENT} depend 41 @${MAKE} ${SILENT} depend
42 @touch .depend.stamp 42 @touch .depend.stamp
43 43
44build: include/sysconf.h .depend.stamp 44build: include/sysconf.h .depend.stamp
45 @NOW=$$(date +%s); \
45 @for i in $(SUBDIRS); do \ 46 for i in $(SUBDIRS); do \
46 echo "[$@] ==> $$i"; \ 47 echo "[$@] ==> $$i"; \
47 ${MAKE} ${SILENT} -C $$i build || exit; \ 48 ${MAKE} ${SILENT} -C $$i build || exit; \
48 done 49 done; \
50 echo ">>> Built in" $$(expr $$(date +%s) - $$NOW) "seconds"
49 51
50test: .build.stamp 52test: .build.stamp
51 @echo "[build] ==> src" 53 @echo "[build] ==> src"
52 @${MAKE} ${SILENT} -C src build 54 @${MAKE} ${SILENT} -C src build
53 @echo "[build] ==> test" 55 @echo "[build] ==> test"
114 116
115rz-test: dist 117rz-test: dist
116 @scp ${DISTNAME}.tar.gz rzstud:code/ 118 @scp ${DISTNAME}.tar.gz rzstud:code/
117 @ssh rzstud "cd code && tar zxpf ${DISTNAME}.tar.gz && rm ${DISTNAME}.tar.gz" 119 @ssh rzstud "cd code && tar zxpf ${DISTNAME}.tar.gz && rm ${DISTNAME}.tar.gz"
118 @${RM} -f ${DISTNAME}.tar.gz 120 @${RM} -f ${DISTNAME}.tar.gz
121
122calcsize:
123 expr $$(echo `find . -name "*.[Ch]"|xargs ls -l|awk '{print $$5}'` | sed -e 's/ / + /g')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines