ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/libermyth/Makefile.in
Revision: 1.1
Committed: Sat Sep 22 14:27:26 2007 UTC (16 years, 8 months ago) by pippijn
Branch: MAIN
CVS Tags: HEAD
Log Message:
split up ermyth into ermyth-modules, libermyth (currently just ermyth-util) and ermyth-core

File Contents

# User Rev Content
1 pippijn 1.1 # Makefile.in: This file contains build instructions.
2     #
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:
8     # Copyright © 2003-2004 E. Will et al.
9     # Rights to this code are documented in doc/pod/license.pod.
10     #
11     # $Id: Makefile.in,v 1.4 2007-08-28 22:18:30 pippijn Exp $
12     #
13    
14     include Makefile.defs
15    
16     default: all
17    
18     SUBDIRS = util
19    
20     all: build
21    
22     .build.stamp:
23     @${MAKE} ${SILENT} build
24     @touch .build.stamp
25    
26     install: .build.stamp
27     @for i in $(SUBDIRS); do \
28     echo "[$@] ==> - $$i"; \
29     ${MAKE} ${SILENT} -C $$i $@ || exit; \
30     done
31     @$(INSTALL) -m 755 -d $(DESTDIR)$(prefix)
32     @$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
33     @${INSTALL} -m 755 -c ${SRCDIR}/libsvsutil.so $(DESTDIR)$(bindir)
34    
35     build:
36     @for i in $(SUBDIRS); do \
37     echo "[$@] ==> - $$i"; \
38     ${MAKE} ${SILENT} -C $$i $@ || exit; \
39     done
40    
41     .PHONY: depend clean distclean
42    
43     test:
44     @for i in $(SUBDIRS); do \
45     echo "[$@] ==> - $$i"; \
46     ${MAKE} ${SILENT} -C $$i $@; \
47     done
48    
49     depend:
50     @for i in $(SUBDIRS); do \
51     echo "[$@] ==> - $$i"; \
52     touch $$i/.depend; \
53     ${MAKE} ${SILENT} -C $$i $@; \
54     done
55    
56     clean:
57     @for i in $(SUBDIRS); do \
58     echo "[$@] ==> - $$i"; \
59     ${MAKE} ${SILENT} -C $$i $@ || exit; \
60     done
61     @${RM} -f .build.stamp *.so
62    
63     distclean:
64     @for i in $(SUBDIRS); do \
65     echo "[$@] ==> - $$i"; \
66     ${MAKE} ${SILENT} -C $$i $@ || exit; \
67     done
68     @${RM} -f .build.stamp *.so Makefile
69    
70     maintainer-clean:
71     @for i in $(SUBDIRS); do \
72     echo "[$@] ==> - $$i"; \
73     ${MAKE} ${SILENT} -C $$i $@ || exit; \
74     done
75     @${RM} -f .build.stamp *.so Makefile .depend .objects