-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
179 additions
and
453 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
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
include myconfig.ios | ||
export PLATFORM = IOS | ||
SDK_VERSION ?= 5.1 | ||
GCC ?= llvm-gcc | ||
GCC ?= gcc | ||
ARCH ?= armv7 | ||
PLAT ?= /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform | ||
SDK ?= /Developer/SDKs/iPhoneOS$(SDK_VERSION).sdk | ||
OCAMLDIR = /usr/local/ocaml/ios/3.12.1 | ||
export OCAMLFIND ?= /opt/local/bin/ocamlfind -toolchain ios | ||
OCAMLDIR ?= /usr/local/ocaml/ios/3.12.1 | ||
export OCAMLFIND ?= ocamlfind -toolchain ios | ||
OCAMLBINDIR = $(OCAMLDIR)/bin/ | ||
export CC = $(PLAT)/Developer/usr/bin/$(GCC) -arch $(ARCH) | ||
export CFLAGS = -x objective-c -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wreturn-type -Wunused-variable -isysroot $(PLAT)$(SDK) -isystem $(OCAMLDIR)/lib -DCAML_NAME_SPACE -fexceptions -miphoneos-version-min=4.2 -gdwarf-2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT | ||
export CFLAGS = -x objective-c -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot $(PLAT)$(SDK) -isystem $(OCAMLDIR)/lib -DCAML_NAME_SPACE -fexceptions -miphoneos-version-min=4.2 -gdwarf-2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT | ||
export OCAMLOPT = $(OCAMLFIND) ocamlopt | ||
export OCAMLC = $(OCAMLFIND) ocamlc | ||
export OCAMLMKLIB = /usr/local/ocaml/ios/3.12.1/bin/ocamlmklib | ||
export OCAMLMKLIB = $(OCAMLDIR)/bin/ocamlmklib | ||
LIB = native syntax |
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 |
---|---|---|
@@ -1,27 +1,3 @@ | ||
# Makefile contributed by Alain Frisch | ||
|
||
MODULES = \ | ||
enum bitSet dynArray extArray extHashtbl extList extString global IO option \ | ||
pMap std uChar uTF8 base64 unzip refList optParse dllist | ||
|
||
# the list is topologically sorted | ||
|
||
MLI = $(MODULES:=.mli) | ||
SRC = $(MLI) $(MODULES:=.ml) extLib.ml | ||
|
||
OCAMLFIND=ocamlfind -toolchain ios | ||
OCAMLOPT=$(OCAMLFIND) ocamlopt | ||
OCAMLC=$(OCAMLFIND) ocamlc | ||
|
||
all: | ||
$(OCAMLC) -a -o extLib.cma $(SRC) | ||
$(OCAMLOPT) -a -o extLib.cmxa $(SRC) | ||
|
||
install: | ||
$(OCAMLFIND) install extlib META *.cma *.cmi $(MLI) $(wildcard *.cmxa) $(wildcard *.a) | ||
|
||
uninstall: | ||
$(OCAMLFIND) remove extlib | ||
|
||
clean: | ||
rm -f *.cmo *.cmx *.o *.cmi *.cma *.cmxa *.a | ||
include Makefile.in |
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 |
---|---|---|
@@ -1,13 +1,3 @@ | ||
|
||
OCAMLFIND=ocamlfind -toolchain ios | ||
OCAMLOPT=$(OCAMLFIND) ocamlopt | ||
|
||
all: | ||
$(OCAMLOPT) -c src/xmlm.mli | ||
$(OCAMLOPT) -c -annot -I src -I test -o src/xmlm.cmx src/xmlm.ml | ||
|
||
install: | ||
$(OCAMLFIND) install xmlm src/META src/xmlm.mli src/xmlm.cmi src/xmlm.cmx src/xmlm.o src/xmlm.annot | ||
|
||
uninstall: | ||
$(OCAMLFIND) remove xmlm | ||
OCAMLFIND = ocamlfind | ||
include Makefile.in |
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 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
Oops, something went wrong.