diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-03-03 08:09:43 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-03-03 08:09:43 +0000 |
commit | a6207797714748e5895bb507ac055450c6467727 (patch) | |
tree | d3761f1bce58d2145d0a2fad5c1e27ce2ba8c911 /math/fxt/files/patch-makefile | |
parent | Update to 4.0 (diff) |
Update to 2002.02.25
PR: 35413
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=55465
Diffstat (limited to 'math/fxt/files/patch-makefile')
-rw-r--r-- | math/fxt/files/patch-makefile | 53 |
1 files changed, 48 insertions, 5 deletions
diff --git a/math/fxt/files/patch-makefile b/math/fxt/files/patch-makefile index a68304b99e34..82348f970cf1 100644 --- a/math/fxt/files/patch-makefile +++ b/math/fxt/files/patch-makefile @@ -1,14 +1,57 @@ ---- makefile.orig Wed Nov 28 11:53:26 2001 -+++ makefile Wed Nov 28 11:54:18 2001 -@@ -441,9 +441,9 @@ +--- makefile.orig Tue Feb 26 07:53:01 2002 ++++ makefile Thu Feb 28 21:50:58 2002 +@@ -4,7 +4,7 @@ + PROJ=fxt + + ##### GCC 2.x: +-CXX = c++ ++#CXX = c++ + PPLIBS = -lm -lstdc++ + RUNBIN=$(TESTBIN) + +@@ -29,7 +29,7 @@ + # -mcpu= Schedule code for given CPU + # -march implies -mcpu + +-OFLAGS = -O2 -ffast-math ++OFLAGS += -ffast-math + OFLAGS += $(ARCHFLAG) + OFLAGS += -fomit-frame-pointer + OFLAGS += -fno-exceptions +@@ -60,12 +60,12 @@ + -Imod -Iwavelet -Isort + + #### choose the FLAG combo here: +-CXXFLAGS = -pipe -fno-exceptions +-CXXFLAGS += $(OFLAGS) # uncomment for OPTIMIZATION ++#CXXFLAGS = -pipe -fno-exceptions ++#CXXFLAGS += $(OFLAGS) # uncomment for OPTIMIZATION + #CXXFLAGS += $(PFLAGS) # uncomment for PROFILING + #CXXFLAGS += $(GFLAGS) # uncomment for DEBUGGING + #CXXFLAGS += -D__NO_MATH_INLINES +-CXXFLAGS += $(WFLAGS) # uncomment for WARNINGS ++#CXXFLAGS += $(WFLAGS) # uncomment for WARNINGS + + #------------------------------------- + +@@ -378,16 +378,16 @@ + # @echo ' ===== make FXT lib DONE. =====' + + +-PREFIX=/usr/ +-LIBDIR=$(PREFIX)/lib/fxt ++#PREFIX=/usr/ ++LIBDIR=$(PREFIX)/lib + INCDIR=$(PREFIX)/include/fxt + .PHONY: install ## install to $(PREFIX)/{lib,include}/fxt/ install: lib @echo 'PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR)' @test -d $(LIBDIR) || mkdir $(LIBDIR) - cp -auv $(FXTLIB) $(LIBDIR)/ -+ ${INSTALL_PROGRAM} $(FXTLIB) $(LIBDIR)/ ++ ${BSD_INSTALL_DATA} $(FXTLIB) $(LIBDIR)/ @test -d $(INCDIR) || mkdir $(INCDIR) - @cp -auv $(FXTHDRS) $(INCDIR)/ -+ @${INSTALL_DATA} $(FXTHDRS) $(INCDIR)/ ++ ${BSD_INSTALL_DATA} $(FXTHDRS) $(INCDIR)/ .PHONY: uninstall ## opposite of install ;-) uninstall: |