-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.in
77 lines (64 loc) · 1.74 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
#----------------------------------------------------------------------------
#
# top-level makefile
#
# Tom Peterka
# Argonne National Laboratory
# 9700 S. Cass Ave.
# Argonne, IL 60439
#
# All rights reserved. May not be used, modified, or copied
# without permission
#
#----------------------------------------------------------------------------
# makefile. Generated from makefile.in by configure.
package = @PACKAGE_NAME@
version = @PACKAGE_VERSION@
tarname = @PACKAGE_TARNAME@
distdir = $(tarname)-$(version)
prefix = @prefix@
exec_prefix = @exec_prefix@
tarname = $(package)
distdir = $(tarname)-$(version)
bindir = @bindir@
srcdir = @srcdir@
VPATH = @srcdir@
default: check
Makefile: Makefile.in config.status
./config.status $@
config.status: configure
./config.status --recheck
all clean:
cd src && $(MAKE) $@
install:
install -d $(prefix)/itl/lib
install -d $(prefix)/itl/include
install -m 0755 lib/libitl.a $(prefix)/itl/lib
install -m 0755 include/*.h $(prefix)/itl/include
uninstall:
rm -rf $(prefix)/itl
dist: $(distdir).tar.gz
$(distdir).tar.gz: $(distdir)
tar chof - $(distdir) | gzip -9 -c > $@
rm -rf $(distdir)
$(distdir):
mkdir -p $(distdir)/lib
mkdir -p $(distdir)/include
mkdir -p $(distdir)/src
cp COPYRIGHT $(distdir)
cp README $(distdir)
cp makefile.in $(distdir)
cp configure $(distdir)
cp lib/libitl.a $(distdir)/lib
cp include/*.h $(distdir)/include
cp src/*.cpp $(distdir)/src
distcheck: $(distdir).tar.gz
gzip -cd $(distdir).tar.gz | tar xvf -
cd $(distdir) && ./configure
cd $(distdir) && $(MAKE) all
cd $(distdir) && $(MAKE) clean
rm -rf $(distdir)
echo "*** Package $(distdir).tar.gz is ready for distribution"
FORCE:
.PHONY: FORCE all clean check dist distcheck install uninstall