aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-06-15 20:37:48 +0200
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-06-15 20:37:48 +0200
commitd45fc71a94a3141dab111822c3ba84dd64c06bfc (patch)
treec347cd79163a4a3d32f64a0423f1ca6e624c45ee /sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo
parentclassads bump (diff)
downloadsci-d45fc71a94a3141dab111822c3ba84dd64c06bfc.tar.gz
sci-d45fc71a94a3141dab111822c3ba84dd64c06bfc.tar.bz2
sci-d45fc71a94a3141dab111822c3ba84dd64c06bfc.zip
[sci-electronics/klayout] Imported from sunrise.
Diffstat (limited to 'sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo')
-rw-r--r--sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo42
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo b/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo
new file mode 100644
index 000000000..d1e8baf52
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo
@@ -0,0 +1,42 @@
+
+# Configuration file for gentoo-linux
+# Compiler options
+
+CCOPT_DEP=-MM -MG -x c++
+
+CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \
+ -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing
+
+CCOPT=-c -x c++ $(CXXFLAGS) -o
+CCOPT_SO=-fPIC $(CCOPT)
+
+INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE)
+
+DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT
+
+# Linker options
+
+LOPT=-Wl,-E -o
+LOPT_SO=-shared -fPIC -o
+
+LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt
+
+LINK=$(CXX)
+
+# The details for the install target (needed since 0.19.2)
+
+.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)/*
+
+