You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-electronics/klayout/files/klayout-0.21.7-Makefile.con...

44 lines
917 B

# Configuration file for gentoo-linux
# Compiler options
# Compiler general
INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE)
DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT
# C++
CXXOPT_DEP=-MM -MG
CXXWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \
-Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing
CXXOPT=-c $(CXXFLAGS) -o
CXXOPT_SO=-fPIC $(CXXOPT)
# C
CCOPT_DEP=-MM -MG
CCWARN=
CCOPT=-c $(CFLAGS) -o
CCOPT_SO=-fPIC $(CCOPT)
# Linker
LINK=$(CXX)
LOPT=-Wl,-E ${LDFLAGS} -o
LOPT_SO=-shared -fPIC $(LOPT) -o
LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt -ldl -lz
.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)/*