|
@@ -36,7 +36,7 @@
|
|
|
#define CXX CC
|
|
#define CXX CC
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
-// Linux doesn't (yet) have any funny architecture flags.
|
|
|
|
|
|
|
+// FreeBSD doesn't (yet) have any funny architecture flags.
|
|
|
#defer ARCH_FLAGS
|
|
#defer ARCH_FLAGS
|
|
|
|
|
|
|
|
// How to compile a C or C++ file into a .o file. $[target] is the
|
|
// How to compile a C or C++ file into a .o file. $[target] is the
|
|
@@ -138,7 +138,7 @@
|
|
|
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
|
|
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
|
|
|
|
|
|
|
|
// What additional flags should we pass to interrogate?
|
|
// What additional flags should we pass to interrogate?
|
|
|
-#if $[eq $[shell uname -m], x86_64] // if Linux is 64bit
|
|
|
|
|
|
|
+#if $[eq $[shell uname -m], x86_64] // if FreeBSD is 64bit
|
|
|
#define SYSTEM_IGATE_FLAGS -D_LP64 -D__const=const -Dvolatile -Dmutable
|
|
#define SYSTEM_IGATE_FLAGS -D_LP64 -D__const=const -Dvolatile -Dmutable
|
|
|
#else
|
|
#else
|
|
|
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
|
|
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
|
|
@@ -292,3 +292,8 @@
|
|
|
#define DYNAMIC_LIB_EXT .so
|
|
#define DYNAMIC_LIB_EXT .so
|
|
|
#define STATIC_LIB_EXT .a
|
|
#define STATIC_LIB_EXT .a
|
|
|
#define BUNDLE_EXT
|
|
#define BUNDLE_EXT
|
|
|
|
|
+
|
|
|
|
|
+#if $[eq $[shell uname -n], pcbsd] // if we're running PC-BSD
|
|
|
|
|
+ #define EXTRA_IPATH /usr/PCBSD/local/include/
|
|
|
|
|
+ #define EXTRA_LPATH /usr/PCBSD/local/lib/
|
|
|
|
|
+#endif
|