Share list of modules in StdlibModules

master
Nicolás Ojeda Bär 2019-09-29 11:07:50 +02:00
parent afb90bdf74
commit dd30bd9786
2 changed files with 54 additions and 67 deletions

View File

@ -43,25 +43,10 @@ OC_CPPFLAGS += -I$(ROOTDIR)/runtime
# Object file prefix
P=stdlib__
OBJS=camlinternalFormatBasics.cmo stdlib.cmo $(OTHERS)
OTHERS= $(P)pervasives.cmo $(P)seq.cmo $(P)option.cmo $(P)result.cmo \
$(P)bool.cmo $(P)char.cmo $(P)uchar.cmo $(P)sys.cmo $(P)list.cmo \
$(P)bytes.cmo $(P)string.cmo $(P)unit.cmo \
$(P)marshal.cmo $(P)obj.cmo $(P)array.cmo $(P)float.cmo \
$(P)int.cmo $(P)int32.cmo $(P)int64.cmo $(P)nativeint.cmo \
$(P)lexing.cmo $(P)parsing.cmo \
$(P)set.cmo $(P)map.cmo $(P)stack.cmo $(P)queue.cmo \
camlinternalLazy.cmo $(P)lazy.cmo $(P)stream.cmo \
$(P)buffer.cmo camlinternalFormat.cmo $(P)printf.cmo \
$(P)arg.cmo $(P)printexc.cmo $(P)fun.cmo $(P)gc.cmo \
$(P)digest.cmo $(P)random.cmo $(P)hashtbl.cmo $(P)weak.cmo \
$(P)format.cmo $(P)scanf.cmo $(P)callback.cmo \
camlinternalOO.cmo $(P)oo.cmo camlinternalMod.cmo \
$(P)genlex.cmo $(P)ephemeron.cmo \
$(P)filename.cmo $(P)complex.cmo \
$(P)arrayLabels.cmo $(P)listLabels.cmo $(P)bytesLabels.cmo \
$(P)stringLabels.cmo $(P)moreLabels.cmo $(P)stdLabels.cmo \
$(P)spacetime.cmo $(P)bigarray.cmo
include StdlibModules
OBJS=$(addsuffix .cmo,$(STDLIB_MODULES))
OTHERS=$(filter-out camlinternalFormatBasics.cmo stdlib.cmo,$(OBJS))
PREFIXED_OBJS=$(filter stdlib__%.cmo,$(OBJS))
UNPREFIXED_OBJS=$(PREFIXED_OBJS:stdlib__%.cmo=%)

View File

@ -20,64 +20,66 @@
P ?= stdlib__
# Modules should be listed in dependency order.
STDLIB_MODULES=\
$(P)spacetime \
$(P)arg \
$(P)array \
$(P)arrayLabels \
$(P)bigarray \
$(P)bool \
$(P)buffer \
$(P)bytes \
$(P)bytesLabels \
$(P)callback \
camlinternalFormat \
camlinternalFormatBasics \
camlinternalLazy \
camlinternalMod \
camlinternalOO \
stdlib \
$(P)pervasives \
$(P)seq \
$(P)option \
$(P)result \
$(P)bool \
$(P)char \
$(P)complex \
$(P)digest \
$(P)ephemeron \
$(P)filename \
$(P)uchar \
$(P)sys \
$(P)list \
$(P)bytes \
$(P)string \
$(P)unit \
$(P)marshal \
$(P)obj \
$(P)array \
$(P)float \
$(P)format \
$(P)fun \
$(P)gc \
$(P)genlex \
$(P)hashtbl \
$(P)int \
$(P)int32 \
$(P)int64 \
$(P)lazy \
$(P)lexing \
$(P)list \
$(P)listLabels \
$(P)map \
$(P)marshal \
$(P)moreLabels \
$(P)nativeint \
$(P)obj \
$(P)oo \
$(P)option \
$(P)lexing \
$(P)parsing \
$(P)pervasives \
$(P)printexc \
$(P)printf \
$(P)queue \
$(P)random \
$(P)result \
$(P)scanf \
$(P)seq \
$(P)set \
$(P)map \
$(P)stack \
$(P)stdLabels \
stdlib \
$(P)queue \
camlinternalLazy \
$(P)lazy \
$(P)stream \
$(P)string \
$(P)buffer \
camlinternalFormat \
$(P)printf \
$(P)arg \
$(P)printexc \
$(P)fun \
$(P)gc \
$(P)digest \
$(P)random \
$(P)hashtbl \
$(P)weak \
$(P)format \
$(P)scanf \
$(P)callback \
camlinternalOO \
$(P)oo \
camlinternalMod \
$(P)genlex \
$(P)ephemeron \
$(P)filename \
$(P)complex \
$(P)arrayLabels \
$(P)listLabels \
$(P)bytesLabels \
$(P)stringLabels \
$(P)sys \
$(P)uchar \
$(P)unit \
$(P)weak
$(P)moreLabels \
$(P)stdLabels \
$(P)spacetime \
$(P)bigarray