mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
87 lines
2.4 KiB
Plaintext
87 lines
2.4 KiB
Plaintext
|
--- makefile.orig Wed Sep 25 16:32:22 1996
|
||
|
+++ makefile Mon Nov 17 11:36:27 1997
|
||
|
@@ -1,6 +1,6 @@
|
||
|
PURIFY = #purify
|
||
|
PURELINK = #purelink
|
||
|
-C++ = $(PURIFY) g++
|
||
|
+C++ = $(PURIFY) g++ -w -I$(X11BASE)/include
|
||
|
LD = $(PURELINK) g++
|
||
|
|
||
|
#C++ = $(PURIFY) g++ -w -I/sgisoft/gnu/lib/g++-include # !!! SGI GNU 2.7.1
|
||
|
@@ -18,25 +18,25 @@
|
||
|
#FORFLAGS = -O -extend_source # SGI
|
||
|
|
||
|
DEBFLAG = -g
|
||
|
-OPTFLAG = -Wall -O -g
|
||
|
+#OPTFLAG = -Wall -O -g
|
||
|
|
||
|
LIBS = -lX11 -lm $(F77LIBS)
|
||
|
-#LIBDIR = /usr/X11/lib # PC LINUX, XFree86 3.1.1
|
||
|
+LIBDIR = $(X11BASE)/lib # PC LINUX, XFree86 3.1.1
|
||
|
|
||
|
-F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN
|
||
|
+#F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN
|
||
|
#F77LIBS = -lftn # SGI
|
||
|
#F77LIBS = -L/opt/SUNWspro/SC3.0/lib -lF77 -lM77 -lcomplex -lsunmath -lnsl -lsocket # SUN SC3.0
|
||
|
# F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM
|
||
|
# F77LIBS = -lfor # DEC Alpha
|
||
|
-# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||
|
+F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||
|
|
||
|
-CFLAGS = -ansi
|
||
|
-CPPFLAGS =
|
||
|
+#CFLAGS = -ansi
|
||
|
+CPPFLAGS = $(CFLAGS)
|
||
|
LDFLAGS = $(DEBFLAG)
|
||
|
|
||
|
# -------------------------------------------------------------------------
|
||
|
|
||
|
-TargetDirectory = /temp # used for command 'copy'
|
||
|
+TargetDirectory = /tmp # used for command 'copy'
|
||
|
|
||
|
default: k6
|
||
|
|
||
|
@@ -77,18 +77,18 @@
|
||
|
FSources = ma28.f madc28.f
|
||
|
|
||
|
# SUN / SGI:
|
||
|
-ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
- $(FOR) -c $(FORFLAGS) ma28.f
|
||
|
-madc28.o: madc28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
- $(FOR) -c $(FORFLAGS) madc28.f
|
||
|
-
|
||
|
-
|
||
|
-# SUN and PC LINUX:
|
||
|
#ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
# $(FOR) -c $(FORFLAGS) ma28.f
|
||
|
#madc28.o: madc28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
# $(FOR) -c $(FORFLAGS) madc28.f
|
||
|
|
||
|
+
|
||
|
+# SUN and PC LINUX:
|
||
|
+ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
+ $(FOR) -c $(FORFLAGS) ma28.f
|
||
|
+madc28.o: madc28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
+ $(FOR) -c $(FORFLAGS) madc28.f
|
||
|
+
|
||
|
# IBM:
|
||
|
#ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h
|
||
|
# $(FOR) -c -qextname $(FORFLAGS) ma28.f
|
||
|
@@ -224,12 +224,12 @@
|
||
|
k3: $(k3O)
|
||
|
$(LD) $(LDFLAGS) -o k3 $(k3O) $(LIBS)
|
||
|
|
||
|
-k6: $(k6O)
|
||
|
- $(LD) $(LDFLAGS) -o k6 $(k6O) $(LIBS)
|
||
|
+#k6: $(k6O)
|
||
|
+# $(LD) $(LDFLAGS) -o k6 $(k6O) $(LIBS)
|
||
|
|
||
|
# under PC Linux add "-L$(LIBDIR)"
|
||
|
-#k6: $(k6O)
|
||
|
-# $(LD) $(LDFLAGS) -o k6 $(k6O) $(LIBS) -L$(LIBDIR)
|
||
|
+k6: $(k6O)
|
||
|
+ $(LD) $(LDFLAGS) -o k6 $(k6O) $(LIBS) -L$(LIBDIR)
|
||
|
|
||
|
|
||
|
|