-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathinclude.mk
80 lines (68 loc) · 2.62 KB
/
include.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ************ LibreSilicon's StdCellLibrary *******************
#
# Organisation: Chipforge
# Germany / European Union
#
# Profile: Chipforge focus on fine System-on-Chip Cores in
# Verilog HDL Code which are easy understandable and
# adjustable. For further information see
# www.chipforge.org
# there are projects from small cores up to PCBs, too.
#
# File: StdCellLib/include.mk
#
# Purpose: include common definitions
#
# ************ GNU Make 3.80 Source Code ****************
#
# ////////////////////////////////////////////////////////////////
#
# Copyright (c) 2018 - 2021 by
# chipforge <stdcelllib@nospam.chipforge.org>
# All rights reserved.
#
# This Standard Cell Library is licensed under the Libre Silicon
# public license; you can redistribute it and/or modify it under
# the terms of the Libre Silicon public license as published by
# the Libre Silicon alliance, either version 1 of the License, or
# (at your option) any later version.
#
# This design is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the Libre Silicon Public License for more details.
#
# ////////////////////////////////////////////////////////////////////
# ----------------------------------------------------------------
# DEFINITIONS
# ----------------------------------------------------------------
# project name
PROJECT = StdCellLib
# directory paths
CATALOGDIR = $(PRD)/Catalog
DOCUMENTSDIR = $(PRD)/Documents
SIMULATIONDIR = $(PRD)/Simulation
SOURCESDIR = $(PRD)/Sources
SYNTHESISDIR = $(PRD)/Synthesis
TEMPDIR = $(PRD)/Intermediate
TBENCHDIR = $(PRD)/TBench
TOOLSDIR = $(PRD)/Tools
RELEASEDIR = $(PRD)/Library
# tool variables
CAT ?= @cat
MV ?= mv
RM ?= rm -f
TAR ?= tar -zh
GREP ?= grep
SED ?= sed
MKDIR ?= mkdir -p
DATE := $(shell date +%Y%m%d)
# collect available cells
IGNORE := $(wildcard $(CATALOGDIR)/*.mk $(CATALOGDIR)/GNUmakefile $(CATALOGDIR)/trace.*)
CELLS := $(notdir $(filter-out $(IGNORE), $(wildcard $(CATALOGDIR)/*)))
# supportive tools
COBBLESTONE = $(TOOLSDIR)/cobblestone/cobblestone
DATASHEET = $(TOOLSDIR)/datasheet/datasheet
POPCORN = $(TOOLSDIR)/popcorn/popcorn
KONSTRUKTIVIST = $(TOOLSDIR)/konstruktivist/konstruktivist
SCARBATA = $(TOOLSDIR)/scarbata/scarbata