Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/vis12/src/lib/build/mk/Makefile.in
ViewVC logotype

Annotation of /branches/vis12/src/lib/build/mk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3291 - (view) (download)

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

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0