-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
share/steel/examples/pulse/lib, class -> lib/pulse/lib (except Pulse.C)
- Loading branch information
1 parent
6155ad5
commit a5de32a
Showing
80 changed files
with
85 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
PULSE_HOME ?= ../../.. | ||
|
||
all: pulse | ||
|
||
ifneq (,$(FSTAR_HOME)) | ||
FSTAR=$(FSTAR_HOME)/bin/fstar.exe | ||
else | ||
FSTAR=fstar.exe | ||
endif | ||
|
||
# FIXME: do we still need such separate subdirectories? | ||
SUBDIRS=\ | ||
class \ | ||
pledge \ | ||
|
||
|
||
INCLUDE_PATHS= \ | ||
$(PULSE_HOME)/lib/pulse \ | ||
$(PULSE_HOME)/lib/pulse/core \ | ||
$(SUBDIRS) | ||
|
||
FSTAR_FILES:=$(wildcard *.fst *.fsti $(addsuffix /*.fst,$(SUBDIRS)) $(addsuffix /*.fsti,$(SUBDIRS))) | ||
|
||
FSTAR_OPTIONS=$(OTHERFLAGS) --cache_checked_modules --warn_error @241 --already_cached '*,-Pulse.Lib,-Pulse.Class' $(addprefix --include ,$(INCLUDE_PATHS)) --load_cmxs pulse | ||
|
||
include $(PULSE_HOME)/lib/pulse/runlim.mk | ||
|
||
MY_FSTAR=$(RUNLIM) $(FSTAR) $(SIL) $(FSTAR_OPTIONS) | ||
|
||
%.checked: | ||
$(call msg, "CHECK", $(basename $(notdir $@))) | ||
@# You can debug with --debug $(basename $(notdir $<)) | ||
$(Q)$(RUNLIM) $(MY_FSTAR) $(SIL) $(COMPAT_INDEXED_EFFECTS) $< | ||
touch -c $@ | ||
|
||
.depend: $(FSTAR_FILES) | ||
$(call msg, "DEPEND") | ||
$(Q)true $(shell rm -f .depend.rsp) $(foreach f,$(FSTAR_FILES),$(shell echo $(f) >> $@.rsp)) | ||
$(Q)$(MY_FSTAR) --dep full @$@.rsp > $@.tmp | ||
mv $@.tmp $@ | ||
|
||
include .depend | ||
|
||
pulse: $(ALL_CHECKED_FILES) | ||
|
||
clean: | ||
rm -f .depend* *.checked | ||
|
||
.PHONY: all pulse clean %.fst-in %.fsti-in | ||
|
||
%.fst-in %.fsti-in: | ||
@echo $(FSTAR_OPTIONS) | ||
|
||
.PHONY: install-pulse install | ||
install: install-pulse | ||
|
||
.PHONY: %.install | ||
|
||
%.install: % | ||
$(INSTALL) -m 644 -D $< $(PULSE_INSTALL_PREFIX)/lib/pulse/lib/$< | ||
|
||
install-pulse: $(addsuffix .install,$(wildcard *.fst *.fsti *.checked)) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.