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

SCM Repository

[diderot] View of /branches/pure-cfg/src/lib/build/mk/Makefile.in
ViewVC logotype

View of /branches/pure-cfg/src/lib/build/mk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (download) (annotate)
Tue Oct 27 15:16:36 2015 UTC (6 years ago) by jhr
File size: 1556 byte(s)
making copyrights consistent for all code in the repository
# Makefile
#
# This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
#
# COPYRIGHT (c) 2015 The University of Chicago
# All rights reserved.
#
# Generic makefile for the runtime system libraries.  This file is used to
# create the Makefile.in files for rt-c-f, rt-c-f-debug, etc.
#
# @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 =	@DIDEROT_ROOT@/src
LIBDIR =	@DIDEROT_ROOT@/lib
BINDIR =	@DIDEROT_ROOT@/bin

INSTALL =	@INSTALL@
SHELL =		@SHELL@
@SET_MAKE@

#### End of system configuration section. ####

# the target platform
#
TARGET_PLATFORM = @TARGET_PLATFORM@

# the target source directory
#
TARGET_SRCDIR = $(SRCDIR)/lib/@TARGET_PLATFORM@-target

# the target build options
#
BUILD_OPTIONS =	@BUILD_OPTIONS@

# target-platform specific sources
#
TARGET_SRCS =	$(notdir $(wildcard $(TARGET_SRCDIR)/*.c))

#
# View path
#
VPATH =		$(SRCDIR)/include:$(SRCDIR)/lib/include:$(SRCDIR)/lib/common:$(TARGET_SRCDIR)


# the target library name
#
TARGET =	diderot-@BUILD_TARGET@.o

.PHONY:		build local-install install
build:		$(TARGET)

local-install:	$(TARGET)
	$(INSTALL) $(TARGET) $(LIBDIR)/$(TARGET)

install:	$(TARGET)
	$(INSTALL) $(TARGET) $(INSTALL_LIBDIR)/$(TARGET)

# Include common definitions for run-time builds
#
include ../mk/build.gmk

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