diff options
Diffstat (limited to 'cad/klayout/files/patch-config-Makefile.conf')
-rw-r--r-- | cad/klayout/files/patch-config-Makefile.conf | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/cad/klayout/files/patch-config-Makefile.conf b/cad/klayout/files/patch-config-Makefile.conf index b31393f01b42..08e6e5255667 100644 --- a/cad/klayout/files/patch-config-Makefile.conf +++ b/cad/klayout/files/patch-config-Makefile.conf @@ -1,6 +1,13 @@ ---- /dev/null 2008-05-05 02:46:45.000000000 +0900 -+++ config/Makefile.conf.freebsd-32-gcc-release 2008-05-05 02:47:41.000000000 +0900 -@@ -0,0 +1,23 @@ +--- /dev/null 2009-12-22 01:22:00.000000000 +0900 ++++ config/Makefile.conf.freebsd-32-gcc-release 2009-12-22 01:05:33.000000000 +0900 +@@ -0,0 +1,45 @@ ++ ++# Configuration file for ++# gcc, FreeBSD ++# release build ++ ++# Compiler options ++ +AR=ar -r +CC=gcc + @@ -10,7 +17,7 @@ + -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing + +CCOPT=-c -O -x c++ -o -+CCOPT_SO=-fPIC $(CCOPT) ++CCOPT_SO=-fPIC $(CCOPT) + +INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE) + @@ -24,3 +31,18 @@ +LOPT_SO=-shared -fPIC -o + +LIBS=-L$(QTLIB) -pthread -lQtGui -lQtCore -lQtXml -lstdc++ -lcrypt ++ ++.PHONY: install ++install: ++ mkdir -p $(INSTALL_BINDIR) ++ cp main/$(EXEC_NAME) $(INSTALL_BINDIR) ++ for bin in $(OTHER_BIN) ; \ ++ do \ ++ cp main/$$bin $(INSTALL_BINDIR) ; \ ++ done ++ for plugin in $(PLUGINS) ; \ ++ do \ ++ cp $$plugin/*.so $(INSTALL_BINDIR) ; \ ++ done ++ chmod 755 $(INSTALL_BINDIR) $(INSTALL_BINDIR)/* ++ |