mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 06:49:18 -04:00
a variety of platforms, is able to handle large, complex simulations, but is also reasonably easy for novices to operate. PR: ports/112577 Submitted by: Jason W. Bacon <bacon at smithers.neuro.mcw.edu>
25 lines
892 B
Text
25 lines
892 B
Text
--- Src/Makefile.orig Tue Dec 9 13:13:53 2003
|
|
+++ Src/Makefile Thu May 10 11:20:40 2007
|
|
@@ -11,6 +11,14 @@
|
|
INCL= -I$(TCLDIR)/include
|
|
LIBS= -L$(TCLDIR)/lib -ltk83 -ltcl83 -lm $(SYSLIB)
|
|
else
|
|
+ifeq ($(MACHINE),FREEBSD)
|
|
+ O= ../Obj/$(HOSTTYPE)
|
|
+ TCLVER= 8.3
|
|
+ TCLDIR= /usr/local/include
|
|
+ BINDIR= $(TOP)/Bin/$(HOSTTYPE)
|
|
+ INCL= -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic -I${X11BASE}/include
|
|
+ LIBS= -L$(BINDIR) -L/usr/local/lib -L${X11BASE}/lib -ltk83 -ltcl83 -lm -lX11 $(SYSLIB)
|
|
+else
|
|
O= ../Obj/$(HOSTTYPE)
|
|
TCLVER= 8.3.4
|
|
TCLDIR= ../TclTk
|
|
@@ -24,6 +32,7 @@
|
|
INCL= -I$(TCLDIR)/tcl$(TCLVER)/generic -I$(TCLDIR)/tk$(TCLVER)/generic
|
|
LIBS= -L$(BINDIR) -ltk8.3 -ltcl8.3 -lm -lX11 $(SYSLIB)
|
|
endif
|
|
+endif
|
|
endif
|
|
EXEC_OBJS= $(O)/main.o $(patsubst %,$(O)/%.o,$(SRCS))
|
|
LIB_OBJS= $(O)/library.o $(patsubst %,$(O)/%.o,$(SRCS))
|