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.10 by pippijn, Sat Sep 22 14:27:25 2007 UTC

1# Makefile.in: This file contains build instructions.
2#
1# Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team 3# Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4# Rights to this code are as documented in COPYING.
5#
6#
7# Portions of this file were derived from sources bearing the following license:
2# Copyright © 2005 Atheme Development Group. 8# Copyright © 2005 Atheme Development Group.
3# Rights to this code are documented in doc/pod/license.pod. 9# Rights to this code are documented in doc/pod/license.pod.
4# 10#
5# This file contains build instructions.
6#
7# $Id: Makefile.in,v 1.6 2007/07/23 12:49:08 pippijn Exp $ 11# $Id: Makefile.in,v 1.10 2007/09/22 14:27:25 pippijn Exp $
8# 12#
9 13
10RM = @RM@ 14RM = @RM@
11SHELL = /bin/sh 15SHELL = /bin/sh
12DISTNAME = @PACKAGE_NAME@-@PACKAGE_VERSION@ 16DISTNAME = @PACKAGE_NAME@-@PACKAGE_VERSION@
16 20
17# Want absolute paths? 21# Want absolute paths?
18SRCDIR = . 22SRCDIR = .
19@ABSPATHS@SRCDIR= @SRCDIR@/src 23@ABSPATHS@SRCDIR= @SRCDIR@/src
20 24
21SUBDIRS = modules src test 25SUBDIRS = modules doc libermyth src #test
22CLEANDIRS = ${SUBDIRS} po 26CLEANDIRS = ${SUBDIRS} po
23 27
24.PHONY: dist test 28.PHONY: dist test
25 29
26all: build 30all: build
40.depend.stamp: 44.depend.stamp:
41 @${MAKE} ${SILENT} depend 45 @${MAKE} ${SILENT} depend
42 @touch .depend.stamp 46 @touch .depend.stamp
43 47
44build: include/sysconf.h .depend.stamp 48build: include/sysconf.h .depend.stamp
49 @NOW=$$(date +%s); \
45 @for i in $(SUBDIRS); do \ 50 for i in $(SUBDIRS); do \
46 echo "[$@] ==> $$i"; \ 51 echo "[$@] ==> $$i"; \
47 ${MAKE} ${SILENT} -C $$i build || exit; \ 52 ${MAKE} ${SILENT} -C $$i build || exit; \
48 done 53 done; \
54 echo ">>> Built in" $$(expr $$(date +%s) - $$NOW) "seconds"
49 55
50test: .build.stamp 56test: .build.stamp
51 @echo "[build] ==> src" 57 @for i in ${SUBDIRS}; do \
52 @${MAKE} ${SILENT} -C src build 58 echo "[$@] ==> $$i"; \
53 @echo "[build] ==> test"
54 @${MAKE} ${SILENT} -C $@ $@ 59 ${MAKE} ${SILENT} -C $$i $@; \
60 done
55 61
56clean: .depend.stamp 62clean: .depend.stamp
57 @for i in $(CLEANDIRS); do \ 63 @for i in $(CLEANDIRS); do \
58 echo "[$@] ==> $$i"; \ 64 echo "[$@] ==> $$i"; \
59 ${MAKE} ${SILENT} -C $$i $@; \ 65 ${MAKE} ${SILENT} -C $$i $@; \
107 @${RM} -f svs-dist.tar.gz 113 @${RM} -f svs-dist.tar.gz
108 @tar zcf ${DISTNAME}.tar.gz ${DISTNAME} 114 @tar zcf ${DISTNAME}.tar.gz ${DISTNAME}
109 @${RM} -rf ${DISTNAME} 115 @${RM} -rf ${DISTNAME}
110 116
111upload: dist 117upload: dist
112 @scp ${DISTNAME}.tar.gz ruth:ermyth.schmorp.de/dist/ 118 @scp ${DISTNAME}.tar.gz ruth:ermyth.xinutec.org/dist/
113 @${RM} -f ${DISTNAME}.tar.gz 119 @${RM} -f ${DISTNAME}.tar.gz
114 120
115rz-test: dist 121rz-test: dist
116 @scp ${DISTNAME}.tar.gz rzstud:code/ 122 @scp ${DISTNAME}.tar.gz rzstud:code/
117 @ssh rzstud "cd code && tar zxpf ${DISTNAME}.tar.gz && rm ${DISTNAME}.tar.gz" 123 @ssh rzstud "cd code && tar zxpf ${DISTNAME}.tar.gz && rm ${DISTNAME}.tar.gz"
118 @${RM} -f ${DISTNAME}.tar.gz 124 @${RM} -f ${DISTNAME}.tar.gz
125
126calcsize:
127 expr $$(echo `find . -name "*.[Ch]"|xargs ls -l|awk '{print $$5}'` | sed -e 's/ / + /g')
128
129tags:
130 ctags -R --c++-kinds=+p --fields=+iaS --extra=+q include

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines