1# 2# qflow project included technology osu018 files 3# 4 5# Main compiler arguments 6CFLAGS = @CFLAGS@ 7DEFS = @DEFS@ 8LIBS = @LIBS@ 9LDFLAGS = @LDFLAGS@ 10INSTALL = @INSTALL@ 11 12prefix = @prefix@ 13exec_prefix = @exec_prefix@ 14 15QFLOW_LIB_DIR = @QFLOW_LIB_DIR@ 16 17TECH_FILES = osu018.par osu018_stdcells.lef osu018.sh 18TECH_FILES += osu018_stdcells.sp osu018.magicrc osu018.prm 19TECH_FILES += SCN6M_SUBM.10.tech osu018_stdcells.lib 20TECH_FILES += osu018_stdcells.v osu018_setup.tcl osu018_stdcells.gds2 21 22TECHINSTALL = @DIST_DIR@/share/qflow/tech 23 24# Substitute the target qflow tech directory name in .magicrc so that magic 25# can find the OSU018 techfile 26 27all: osu018.magicrc.in 28 $(RM) -f osu018.magicrc 29 cat osu018.magicrc.in | sed -e \ 30 '/QFLOW_LIB_DIR/s#QFLOW_LIB_DIR#$(QFLOW_LIB_DIR)#' \ 31 > osu018.magicrc 32 33install: ${TECH_FILES} 34 @echo "Installing osu018 tech files" 35 $(INSTALL) -d $(DESTDIR)$(TECHINSTALL)/osu018 36 for target in $(TECH_FILES); do \ 37 $(INSTALL) $$target $(DESTDIR)$(TECHINSTALL)/osu018 ;\ 38 done 39 40clean: 41 $(RM) -f osu018.magicrc 42 43distclean: 44 $(RM) -f osu018.magicrc 45 46uninstall: 47 48