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

Comparing ermyth/Makefile.in (file contents):
Revision 1.4 by pippijn, Sat Jul 21 13:23:18 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.4 2007/07/21 13:23:18 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 = doc 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
27 31
28#MANIFEST: 32MANIFEST:
29# find . -type f | grep -v CVS | sed -e 's|^\./||' | grep -v "^contrib" > $@ 33 find . -type f | grep -v CVS | sed -e 's|^\./||' | grep -v "^contrib" > $@
30 34
31include/sysconf.h: 35include/sysconf.h:
32 @echo "Hmm...doesn't look like you've run configure..." 36 @echo "Hmm...doesn't look like you've run configure..."
33 @echo "Doing so now." 37 @echo "Doing so now."
34 @sh configure 38 @sh configure
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 $@; \
70 @for i in $(CLEANDIRS); do \ 76 @for i in $(CLEANDIRS); do \
71 echo "[$@] ==> $$i"; \ 77 echo "[$@] ==> $$i"; \
72 ${MAKE} ${SILENT} -C $$i $@; \ 78 ${MAKE} ${SILENT} -C $$i $@; \
73 done 79 done
74 @${RM} -f Makefile *~ *.orig core atheme.core .depend.stamp svs-dist.tgz 80 @${RM} -f Makefile *~ *.orig core atheme.core .depend.stamp svs-dist.tgz
75 @${RM} -f config.status config.cache config.log 81 @${RM} -f config.status config.cache config.log config.status.lineno
76 82
77maintainer-clean: .depend.stamp 83maintainer-clean: .depend.stamp
78 @${RM} -rf autom4te.cache 84 @${RM} -rf autom4te.cache
79 @${RM} -f configure aclocal.m4 85 @${RM} -f configure aclocal.m4
80 @cd include; \ 86 @cd include; \
83 @for i in $(CLEANDIRS); do \ 89 @for i in $(CLEANDIRS); do \
84 echo "[$@] ==> $$i"; \ 90 echo "[$@] ==> $$i"; \
85 ${MAKE} ${SILENT} -C $$i $@; \ 91 ${MAKE} ${SILENT} -C $$i $@; \
86 done 92 done
87 @${RM} -f Makefile *~ *.orig core atheme.core .depend.stamp svs-dist.tgz 93 @${RM} -f Makefile *~ *.orig core atheme.core .depend.stamp svs-dist.tgz
88 @${RM} -f config.status config.cache config.log 94 @${RM} -f config.status config.cache config.log config.status.lineno
89 95
90depend: 96depend:
91 @for i in $(SUBDIRS); do \ 97 @for i in $(SUBDIRS); do \
92 echo "[$@] ==> $$i"; \ 98 echo "[$@] ==> $$i"; \
93 touch $$i/.depend; \ 99 touch $$i/.depend; \
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 one09.net:public_html/files/up 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