SCM Repository
Annotation of /trunk/src/lib/build/mk/Makefile.in
Parent Directory
|
Revision Log
Revision 1232 - (view) (download)
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 : | # the target build options | ||
37 : | # | ||
38 : | BUILD_OPTIONS = @BUILD_OPTIONS@ | ||
39 : | |||
40 : | # target-platform specific sources | ||
41 : | # | ||
42 : | jhr | 1232 | TARGET_SRCS = $(notdir $(wildcard $(SRCDIR)/lib/@TARGET_PLATFORM@/*.c)) |
43 : | jhr | 1115 | |
44 : | jhr | 1232 | # |
45 : | # View path | ||
46 : | # | ||
47 : | VPATH = $(SRCDIR)/include:$(SRCDIR)/lib/include:$(SRCDIR)/lib/common:$(SRCDIR)/lib/@TARGET_PLATFORM@ | ||
48 : | |||
49 : | |||
50 : | jhr | 1115 | # the target library name |
51 : | # | ||
52 : | TARGET = diderot-@BUILD_TARGET@.o | ||
53 : | |||
54 : | .PHONY: build local-install install | ||
55 : | build: $(TARGET) | ||
56 : | |||
57 : | local-install: $(TARGET) | ||
58 : | $(INSTALL) $(TARGET) $(LIBDIR)/$(TARGET) | ||
59 : | |||
60 : | install: $(TARGET) | ||
61 : | $(INSTALL) $(TARGET) $(INSTALL_LIBDIR)/$(TARGET) | ||
62 : | |||
63 : | # Include common definitions for run-time builds | ||
64 : | # | ||
65 : | include ../mk/build.gmk |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |