diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2007-06-01 21:35:51 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2007-06-01 21:35:51 +0000 |
commit | 120cbe51d738e828f7542fe96e0e5c03e6f57944 (patch) | |
tree | 8ec5f3619464b127faeabd4e5ea9c6fa47719cb1 /graphics/wildmagic/files/patch-LibGraphics_makefile | |
parent | f2ae9f3e0b9b1c92d2369bbc774cbb65829ee61c (diff) | |
download | ports-120cbe51d738e828f7542fe96e0e5c03e6f57944.tar.gz ports-120cbe51d738e828f7542fe96e0e5c03e6f57944.zip |
Notes
Diffstat (limited to 'graphics/wildmagic/files/patch-LibGraphics_makefile')
-rw-r--r-- | graphics/wildmagic/files/patch-LibGraphics_makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/wildmagic/files/patch-LibGraphics_makefile b/graphics/wildmagic/files/patch-LibGraphics_makefile new file mode 100644 index 000000000000..4cf4eee7eb87 --- /dev/null +++ b/graphics/wildmagic/files/patch-LibGraphics_makefile @@ -0,0 +1,20 @@ +--- LibGraphics/makefile.wm4.orig Thu May 31 18:08:02 2007 ++++ LibGraphics/makefile.wm4 Thu May 31 18:15:10 2007 +@@ -1,3 +1,8 @@ ++OBJDIR := $(CFG) ++LIBSH := ../SDK/Library/$(CFG)/libWm4Graphics.so.0 ++LIBSO := ../SDK/Library/$(CFG)/libWm4Graphics.so ++SHLIBLDFLAGS = -shared ++ + build : + @mkdir -p ../SDK/Include + @mkdir -p ../SDK/Library/$(CFG) +@@ -17,6 +22,8 @@ + cd Sorting ; make -f ../makeprj.wm4 CFG=$(CFG) SYS=$(SYS) + cd Surfaces ; make -f ../makeprj.wm4 CFG=$(CFG) SYS=$(SYS) + cd Terrain ; make -f ../makeprj.wm4 CFG=$(CFG) SYS=$(SYS) ++ $(CC) $(SHLIBLDFLAGS) -o $(LIBSH) $(OBJDIR)/*.o ++ ln -sf $(LIBSH) $(LIBSO) + + clean : + cd Collision ; make clean -f ../makeprj.wm4 CFG=$(CFG) SYS=$(SYS) |