summaryrefslogtreecommitdiff
path: root/cad/netgen/files/patch-libsrc::makefile.mach.FREEBSD
blob: a42eb4c8fd775bd57c65c0dac7be4d1a5bf36b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./libsrc/makefile.mach.FREEBSD.orig	Wed May  5 23:24:29 2004
+++ ./libsrc/makefile.mach.FREEBSD	Mon May 28 22:11:10 2007
@@ -18,9 +18,17 @@
 tcltklib = `echo $(TIX_BUILD_LIB_SPEC)` `echo $(TK_LIB_SPEC)` `echo $(TCL_LIB_FLAG)`
 
 CFLAGS2 =
-CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(X11BASE)/include -DLINUX -DOPENGL
-CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step `echo $(TCL_INCLUDE_SPEC)` `echo -I$(TK_PREFIX)`/include/tk`echo $(TK_VERSION)`
+CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(LOCALBASE)/include -DFREEBSD -DOPENGL -DNGSOLVE \
+	-ftemplate-depth-99 -finline-limit=20000 \
+	-funroll-loops
+
+CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step -I$(TCL_INCLUDEDIR) -I$(TK_INCLUDEDIR)
 #
 LINKFLAGS2 =  -L$(LOCALBASE)/lib
 
 SYSLIB2 = -lstdc++
+
+appngs =  lib/$(MACHINE)/*.o -lngsolvebasic
+goalngs = goalngs
+
+# occlib = -L$(OCCLIB_DIR) -lTKIGES -lTKBRep -lTKSTEP -lTKSTL -pthread