Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] View of /trunk/sml3d/gen/gen-from-xml/gldb/Makefile.in
ViewVC logotype

View of /trunk/sml3d/gen/gen-from-xml/gldb/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1365 - (download) (annotate)
Mon Mar 31 12:43:29 2014 UTC (5 years, 2 months ago) by jhr
File size: 1350 byte(s)
  Working on generation tools
# Makefile for gldb tool
#
# COPYRIGHT (c) 2014 The SML3d Project (http://sml3d.cs.uchicago.edu)
# All rights reserved.
#
# @configure_input@
#

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

INSTALL_SMLNJ_WRAPPER = @INSTALL_SMLNJ_WRAPPER@
ML_BUILD =		@ML_BUILD@
ML_BUILD_FLAGS =	
ML_MAKEDEPEND =		@ML_MAKEDEPEND@
ML_MAKEDEPEND_FLAGS =

BINDIR =                @BIN_DIR@

PROGRAM =                gldb
HEAP_IMAGE =		$(PROGRAM).@SMLNJ_HEAP_SUFFIX@
ROOT_CM =		sources.cm
CM_FILES =		$(ROOT_CM) \
                        ../common/sources.cm \
                        ../spec-db/sources.cm \
                        ../spec-parser/sources.cm

.PHONY:		install
install:	$(HEAP_IMAGE)
	$(INSTALL_SMLNJ_WRAPPER) $(PROGRAM) $(BINDIR)

.PHONY:		build
build:		$(HEAP_IMAGE)

$(HEAP_IMAGE):
	$(ML_BUILD) $(ML_BUILD_FLAGS) $(ROOT_CM) Main.main $(PROGRAM)
	touch $(HEAP_IMAGE)

.depend:	$(CM_FILES)
	touch .depend
	$(ML_MAKEDEPEND) $(ML_MAKEDEPEND_FLAGS) -n -f .depend $(ROOT_CM) $(HEAP_IMAGE)

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),devclean)
ifneq ($(MAKECMDGOALS),distclean)
sinclude .depend
endif
endif
endif

#################### Cleanup ####################

CLEAN_SUBDIRS =

CLEAN_FILES +=		$(HEAP_IMAGE) \
			../*/*.grm.sml \
			../*/*.lex.sml \
			.depend

DISTCLEAN_FILES +=	Makefile

DEVCLEAN_FILES =

include @MK_DIR@/clean-rules.gmk

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