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
0 parents
commit 7fd935c
Showing
304 changed files
with
107,601 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# OS-specific | ||
.DS_Store | ||
thumbs.db | ||
|
||
# Objects | ||
*.o | ||
*.exe | ||
Tools/nscdec/nscdec | ||
Tools/nscmake/nscmake | ||
CMakeLists.txt | ||
/Makefile | ||
|
||
# Xcode | ||
DerivedData | ||
xcuserdata | ||
xcshareddata | ||
project.xcworkspace | ||
build | ||
|
||
# IDEA | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/**/usage.statistics.xml | ||
.idea/**/dictionaries | ||
.idea/**/shelf | ||
.idea/**/contentModel.xml | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
.idea/**/dbnavigator.xml | ||
cmake-build-*/ | ||
*.iws |
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,41 @@ | ||
OUTDIR ?= onscrlib | ||
BUILDPKG=./build.sh | ||
|
||
# Ideally, this makefile will be replaced with a better | ||
# dependency resolution system, using info in the .pkgbuild | ||
# files themselves. | ||
|
||
PROGRAMS=freetype-config libpng14-config libpng-config sdl-config smpeg-config | ||
|
||
ARCFILES = $(patsubst %,$(OUTDIR)/bin/%,$(PROGRAMS)) \ | ||
$(OUTDIR)/include \ | ||
$(OUTDIR)/lib | ||
|
||
BNAME=onscrlib-$(shell uname) | ||
|
||
.PHONY: all | ||
all: | ||
$(BUILDPKG) $(BUILDOPTS) onscrlib | ||
|
||
.PHONY: zip bz2 gz | ||
zip: $(BNAME).zip | ||
bz2: $(BNAME).tar.bz2 | ||
gz: $(BNAME).tar.gz | ||
|
||
$(BNAME).zip: all | ||
rm -f $@ | ||
zip -rq $@ $(ARCFILES) | ||
|
||
$(BNAME).tar.bz2: all | ||
rm -f $@ | ||
tar -cjf $@ $(ARCFILES) | ||
|
||
$(BNAME).tar.gz: all | ||
rm -f $@ | ||
tar -czf $@ $(ARCFILES) | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf onscrlib onscrlib.* log src | ||
@if [ -d $(OUTDIR) ]; then \ | ||
echo "Cleaned onscrlib, except for output folder $(OUTDIR)"; fi |
Oops, something went wrong.