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

SCM Repository

[diderot] View of /trunk/src/lib/build/mk/Makefile.in
ViewVC logotype

View of /trunk/src/lib/build/mk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1232 - (download) (annotate)
Mon May 16 23:37:52 2011 UTC (8 years, 5 months ago) by jhr
File size: 1386 byte(s)
  Porting many changes from the pure-cfg branch, including value numbering
  and support for parallel execution on SMP systems.
# Makefile
#
# COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
# 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 build options
#
BUILD_OPTIONS =	@BUILD_OPTIONS@

# target-platform specific sources
#
TARGET_SRCS =	$(notdir $(wildcard $(SRCDIR)/lib/@TARGET_PLATFORM@/*.c))

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


# 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