summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Shkodin <nausun@gmail.com>2008-04-23 08:21:59 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-23 08:23:18 -0600
commit36bad2b47800c96a3324f5cec167e6a9d712bee3 (patch)
treeb1d47ec3a74de35b10bce6a7a4e9bcd88f275703
parentf6d6fc603ec328d08e2c72e33d97af477a741f0b (diff)
added freebsd-static
-rw-r--r--Makefile1
-rw-r--r--configs/freebsd-static27
2 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 628f64c212..a010e42ed6 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,7 @@ freebsd \
freebsd-dri \
freebsd-dri-amd64 \
freebsd-dri-x86 \
+freebsd-static \
hpux10 \
hpux10-gcc \
hpux10-static \
diff --git a/configs/freebsd-static b/configs/freebsd-static
new file mode 100644
index 0000000000..f87b1b8e42
--- /dev/null
+++ b/configs/freebsd-static
@@ -0,0 +1,27 @@
+# Configuration for generic FreeBSD, making static libs
+# Written by cy on 2008-04-23.
+
+include $(TOP)/configs/freebsd
+
+CONFIG_NAME = freebsd-static
+
+MKLIB_OPTIONS = -static
+PIC_FLAGS =
+
+# Library names (actual file names)
+GL_LIB_NAME = libGL.a
+GLU_LIB_NAME = libGLU.a
+GLUT_LIB_NAME = libglut.a
+GLW_LIB_NAME = libGLw.a
+OSMESA_LIB_NAME = libOSMesa.a
+
+# Library/program dependencies (static libs don't have dependencies)
+GL_LIB_DEPS =
+OSMESA_LIB_DEPS =
+GLU_LIB_DEPS =
+GLUT_LIB_DEPS =
+GLW_LIB_DEPS =
+
+# Need to specify all libraries we may need
+APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread \
+ -lstdc++ -lm