-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
145 lines (123 loc) · 3.88 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#
# Makefile.in for HnSRTree
# Copyright (C) 1997 Norio Katayama
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# 07/29/96 katayama@rd.nacsis.ac.jp
# $Id: Makefile.in,v 1.6 2000/06/10 11:31:09 katayama Exp $
#
DIRS = include HnObject HnRect HnSRTree lib \
c++-samples c-samples
CURRENT_DIR = .
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
curdir = .
INSTALL = @INSTALL@
TOPDIRNAME = HnSRTree
ARCHIVEFILE = HnSRTree.tgz
COMPRESS = gzip
all: config.h $(DIRS)
@PATH=`pwd`/utils:$$PATH; export PATH; cp `pwd`/config.h `pwd`/include/HnSRTree/config.h; \
for d in $(DIRS); \
do \
(cd $$d && echo "making in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
all); \
done
install: $(DIRS)
@PATH=`pwd`/utils:$$PATH; export PATH; \
for d in $(DIRS); \
do \
(cd $$d && echo "installing in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
install); \
done
clean: $(DIRS)
@for d in $(DIRS); \
do \
(cd $$d && echo "cleaning in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
clean); \
done
rm -f a.out core *.bak *.tmp *~ *.o
distclean:
@for d in $(DIRS); \
do \
(cd $$d && echo "distclean in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
distclean); \
done
rm -f a.out core *.bak *.tmp *~ *.o
rm -f Makefile config.h config.status config.cache config.log stamp-h
realclean:
rm -f a.out core *.bak *.tmp *~ *.o
@for d in $(DIRS); \
do \
(cd $$d && echo "realclean in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
realclean); \
done
includes: config.h $(DIRS)
@(set -x && \
cd include/HnSRTree && rm -f config.h && ln -s ../../config.h .)
@for d in $(DIRS); \
do \
(cd $$d && echo "including in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
includes); \
done
depend: Makefile $(DIRS)
@PATH=`pwd`/utils:$$PATH; export PATH; \
for d in $(DIRS); \
do \
(cd $$d && echo "depending in $(CURRENT_DIR)/$$d" && \
$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
depend); \
done
archive:
-(cd .. && mv -f $(ARCHIVEFILE) $(ARCHIVEFILE)~)
(cd .. && tar cvf - $(TOPDIRNAME) | $(COMPRESS) > $(ARCHIVEFILE))
#
# For the automatic remaking of configuration files
#
configure: configure.in
autoconf
#
# NOTE:
# Because CVS updates only the files of which contents are changed,
# the file `stamp-h.in' contains the time of the file creation.
#
# autoheader might not change config.h.in, so touch a stamp file.
config.h.in: stamp-h.in
stamp-h.in: configure configure.in # stamp-h.in: configure.in
autoheader
date > stamp-h.in # echo timestamp > stamp-h.in
config.h: stamp-h
stamp-h: config.h.in config.status
./config.status
Makefile: $(top_srcdir)/config.status Makefile.in
(cd $(top_srcdir) && \
CONFIG_FILES=$(curdir)/Makefile CONFIG_HEADERS= ./config.status)
config.status: configure
-rm -f config.cache
./configure
Makefiles: Makefile.in config.status
./config.status
# DO NOT DELETE THIS LINE -- make depend depends on it.