-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile.in
85 lines (69 loc) · 2.25 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
# Makefile
#
# COPYRIGHT (c) 2008 Manticore project. (http://manticore.cs.uchicago.edu)
# All rights reserved.
#
# The Makefile for building and installing the Manticore system.
#
# @configure_input@
#
#### Start of system configuration section. ####
#
# directories for the install target
#
PREFIX = @prefix@
INSTALL_BINDIR = $(PREFIX)/bin
INSTALL_HEAPDIR = $(INSTALL_BINDIR)/.heap
INSTALL_LIBDIR = $(PREFIX)/lib
INSTALL_INCDIR = $(PREFIX)/include
#
# directories for the local-install target
#
SRCDIR = @MANTICORE_ROOT@/src
LIBDIR = @MANTICORE_ROOT@/lib
BINDIR = @MANTICORE_ROOT@/bin
HEAPDIR = $(BINDIR)/.heap
INSTALL = @INSTALL@
SHELL = @SHELL@
@SET_MAKE@
#### End of system configuration section. ####
SUBDIRS = src
.PHONY: help build install local-install doc \
clean local-distclean local-devclean
help:
@echo "This Makefile supports the following targets:"
@echo " help -- print this message."
@echo " build -- build Manticore tools and libraries for @host_cpu@-@host_os@."
@echo " install -- install Manticore tools and libraries in $(PREFIX)."
@echo " local-install -- install Manticore tools and libraries in "
@echo " @MANTICORE_ROOT@."
@echo " clean -- remove intermediate files generated during building"
@echo " distclean -- remove files generated during configuration"
@echo " and building; the resulting tree has the same"
@echo " files as the distribution."
@echo "The following additional targets are primarily for developers:"
@echo " doc -- regenerate documentation from sources"
@echo " devclean -- remove everything that is not part of the CVS"
@echo " repository."
build:
(cd src && $(MAKE) build)
local-install: build
(cd src && $(MAKE) local-install)
install: build
(cd src && $(MAKE) install)
doc:
(cd doc && $(MAKE))
#################### Cleanup ####################
CLEAN_SUBDIRS = src
DISTCLEAN_FILES = Makefile \
$(BINDIR)/* \
$(BINDIR) \
$(HEAPDIR)/*.@SMLNJ_HEAP_SUFFIX@ \
$(LIBDIR)/*.a \
$(LIBDIR)/*.so \
$(LIBDIR) \
config.log config.cache config.status \
autom4te*.cache \
CONFIGURATION
DEVCLEAN_FILES = configure config/config_h.in
include @MANTICORE_MKDIR@/clean-rules.gmk