f6047d4b61
Pointed out by: pointyhat, kris Approved by: portmgr (erwin)
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
--- Makefile.orig Thu May 24 10:21:25 2007
|
|
+++ Makefile Thu May 24 10:22:26 2007
|
|
@@ -1,6 +1,8 @@
|
|
# Commands to compile Hoard for various targets.
|
|
# Run make (with no arguments) to see the complete target list.
|
|
|
|
+FREEBSD_COMPILE := $(CXX) $(CFLAGS) -static -DNDEBUG -I. -Iheaplayers -Iheaplayers/util -D_REENTRANT=1 -shared libhoard.cpp -Bsymbolic -o libhoard.so -pthread -fPIC
|
|
+
|
|
DARWIN8_COMPILE := g++ -pipe -O2 -DNDEBUG -I. -Iheaplayers -Iheaplayers/util -D_REENTRANT=1 -compatibility_version 1 -current_version 1 -dynamiclib libhoard.cpp -o libhoard.dylib -ldl -lpthread
|
|
|
|
DARWIN8_COMPILE_DEBUG := g++ -pipe -g -I. -Iheaplayers -Iheaplayers/util -D_REENTRANT=1 -compatibility_version 1 -current_version 1 -dynamiclib libhoard.cpp -o libhoard.dylib -ldl -lpthread
|
|
@@ -36,6 +38,7 @@
|
|
all:
|
|
@echo "To build Hoard, specify the desired build target:"
|
|
|
|
+ @echo " freebsd"
|
|
@echo " darwin"
|
|
@echo " linux-gcc-x86"
|
|
@echo " linux-gcc-x86-64"
|
|
@@ -47,6 +50,9 @@
|
|
@echo " (for build instructions on Windows, see NOTES.Windows)"
|
|
|
|
.PHONY: darwin linux-gcc-x86 linux-gcc-x86-debug solaris-sunw-sparc solaris-sunw-x86 solaris-gcc-sparc generic-gcc linux-gcc-x86-64 clean
|
|
+
|
|
+freebsd:
|
|
+ $(FREEBSD_COMPILE)
|
|
|
|
darwin:
|
|
$(DARWIN8_COMPILE)
|