SCM Repository
Annotation of /branches/vis12/src/lib/build/mk/Makefile.in
Parent Directory
|
Revision Log
Revision 1301 -
(view)
(download)
Original Path: trunk/src/lib/build/mk/Makefile.in
1 : | jhr | 1115 | # Makefile |
2 : | # | ||
3 : | # COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu) | ||
4 : | # All rights reserved. | ||
5 : | # | ||
6 : | # Generic makefile for the runtime system libraries. This file is used to | ||
7 : | # create the Makefile.in files for rt-c-f, rt-c-f-debug, etc. | ||
8 : | # | ||
9 : | # @configure_input@ | ||
10 : | # | ||
11 : | |||
12 : | #### Start of system configuration section. #### | ||
13 : | |||
14 : | # | ||
15 : | # directories for the install target | ||
16 : | # | ||
17 : | PREFIX = @prefix@ | ||
18 : | INSTALL_BINDIR = $(PREFIX)/bin | ||
19 : | INSTALL_HEAPDIR = $(INSTALL_BINDIR)/.heap | ||
20 : | INSTALL_LIBDIR = $(PREFIX)/lib | ||
21 : | INSTALL_INCDIR = $(PREFIX)/include | ||
22 : | |||
23 : | # | ||
24 : | # directories for the local-install target | ||
25 : | # | ||
26 : | SRCDIR = @DIDEROT_ROOT@/src | ||
27 : | LIBDIR = @DIDEROT_ROOT@/lib | ||
28 : | BINDIR = @DIDEROT_ROOT@/bin | ||
29 : | |||
30 : | INSTALL = @INSTALL@ | ||
31 : | SHELL = @SHELL@ | ||
32 : | @SET_MAKE@ | ||
33 : | |||
34 : | #### End of system configuration section. #### | ||
35 : | |||
36 : | jhr | 1301 | # the target platform |
37 : | # | ||
38 : | TARGET_PLATFORM = @TARGET_PLATFORM@ | ||
39 : | |||
40 : | # the target source directory | ||
41 : | # | ||
42 : | TARGET_SRCDIR = $(SRCDIR)/lib/@TARGET_PLATFORM@-target | ||
43 : | |||
44 : | jhr | 1115 | # the target build options |
45 : | # | ||
46 : | BUILD_OPTIONS = @BUILD_OPTIONS@ | ||
47 : | |||
48 : | # target-platform specific sources | ||
49 : | # | ||
50 : | jhr | 1301 | TARGET_SRCS = $(notdir $(wildcard $(TARGET_SRCDIR)/*.c)) |
51 : | jhr | 1115 | |
52 : | jhr | 1232 | # |
53 : | # View path | ||
54 : | # | ||
55 : | jhr | 1301 | VPATH = $(SRCDIR)/include:$(SRCDIR)/lib/include:$(SRCDIR)/lib/common:$(TARGET_SRCDIR) |
56 : | jhr | 1232 | |
57 : | |||
58 : | jhr | 1115 | # the target library name |
59 : | # | ||
60 : | TARGET = diderot-@BUILD_TARGET@.o | ||
61 : | |||
62 : | .PHONY: build local-install install | ||
63 : | build: $(TARGET) | ||
64 : | |||
65 : | local-install: $(TARGET) | ||
66 : | $(INSTALL) $(TARGET) $(LIBDIR)/$(TARGET) | ||
67 : | |||
68 : | install: $(TARGET) | ||
69 : | $(INSTALL) $(TARGET) $(INSTALL_LIBDIR)/$(TARGET) | ||
70 : | |||
71 : | # Include common definitions for run-time builds | ||
72 : | # | ||
73 : | include ../mk/build.gmk |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |