Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ force-install: build-stamp $(PREINSTALL)

@if [ -n "${EXAMPLES_DIR}" ] ; then \
ln -s ${KOS_PORTS}/${PORTNAME}/inst/examples ${KOS_PORTS}/examples/${PORTNAME} ; \
if [ -n "${EXAMPLES_SYMLINK}" ] ; then \
ln -s ${KOS_PORTS}/${PORTNAME}/inst/examples ${KOS_BASE}/examples/${KOS_ARCH}/${PORTNAME} ; \
fi ; \
fi

@echo "Marking ${PORTNAME} ${PORTVERSION} as installed."
Expand Down
3 changes: 3 additions & 0 deletions scripts/uninstall.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ uninstall:
rm -f ${KOS_PORTS}/include/${PORTNAME} ; \
fi ; \
rm -fr inst ; \
if [ -n "${EXAMPLES_SYMLINK}" ] ; then \
rm -f ${KOS_BASE}/examples/${KOS_ARCH}/${PORTNAME} ; \
fi ; \
echo "Uninstalled ${PORTNAME}." ; \
echo "WARNING: Dependency checking not done, any dependent ports will be broken." ; \
else \
Expand Down
3 changes: 2 additions & 1 deletion sh4zam/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ PORT_BUILD = cmake
GIT_REPOSITORY = https://github.com/gyrovorbis/sh4zam.git

TARGET = libsh4zam.a
HDR_DIRECTORY = include/sh4zam
HDR_DIRECTORY = include/sh4zam
HDR_INSTDIR = sh4zam
EXAMPLES_DIR = example
EXAMPLES_SYMLINK = 1

include ${KOS_PORTS}/scripts/kos-ports.mk
9 changes: 8 additions & 1 deletion sh4zam/pkg-descr
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
SH4ZAM is a hand-optimized, general-purpose math and linear algebra library for harnessing the floating-point power of the SH4 processor in the Sega Dreamcast. It originally began as a collection of inline assembly routines developed specifically to accelerate the math in the Grand Theft Auto 3 and Vice City DC ports. These routines, along with many others from various contributors, have been separated and combined into a single standalone library, which can be leveraged to bring gainz to the Dreamcast and SuperH communities at large.
SH4ZAM is a hand-optimized, general-purpose math and linear algebra library for
harnessing the floating-point power of the SH4 processor in the Sega Dreamcast.

It originally began as a collection of inline assembly routines developed
specifically to accelerate the math in the Grand Theft Auto 3 and Vice City
DC ports. These routines, along with many others from various contributors,
have been separated and combined into a single standalone library, which can
be leveraged to bring gainz to the Dreamcast and SuperH communities at large.

URL: http://sh4zam.falcogirgis.net