File: Makefile.am

package info (click to toggle)
freehdl 0.0.8-2.2
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 8,632 kB
  • ctags: 10,443
  • sloc: cpp: 45,275; sh: 11,405; yacc: 4,206; ansic: 2,026; lex: 486; perl: 430; makefile: 390; tcl: 100
file content (46 lines) | stat: -rw-r--r-- 1,549 bytes parent folder | download | duplicates (5)
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
## -*- makefile -*-
## Process this file with automake to produce Makefile.in

INCLUDES = -I$(top_srcdir) -DDEFAULT_V2CC_LIBRARY_DIR=\"$(prefix)/share/freehdl/lib\"
GENNODES = $(top_srcdir)/freehdl/freehdl-gennodes
GENNODES_FLAGS = -I $(top_srcdir)

bin_SCRIPTS = gvhdl
dist_noinst_SCRIPTS = gvhdl-local
bin_PROGRAMS = freehdl-v2cc
noinst_PROGRAMS = test-mapper

if MAINTAINER_MODE
CHUNK_H = v2cc-chunk.h
CHUNK_CC = v2cc-chunk.cc

BUILT_SOURCES = v2cc-chunk.h v2cc-chunk.cc

# rules for tree generation

$(CHUNK_H): %-chunk.h: %-chunk.t $(GENNODES)
	$(GENNODES) $(GENNODES_FLAGS) header $* $< $@

$(CHUNK_CC): %-chunk.cc: %-chunk.t $(GENNODES)
	$(GENNODES) $(GENNODES_FLAGS) impl $* $< $@

v2cc-chunk.h v2cc-chunk.cc: $(top_srcdir)/freehdl/fire-chunk.t
v2cc-chunk.h v2cc-chunk.cc: $(top_srcdir)/freehdl/vaul-chunk.t
endif

freehdl_v2cc_SOURCES = v2cc.h v2cc.cc v2cc-chunk.h v2cc-chunk.cc mapping.h \
  mapping.cc v2cc-explore.cc v2cc-util.h v2cc-util.cc v2cc-const-fold.cc   \
  v2cc-decl.cc v2cc-expr.cc v2cc-cdfg-expr.cc v2cc-impl.cc v2cc-acl.cc     \
  v2cc-qid.cc v2cc-get-type-info.cc v2cc-cdfg-static-expr.cc               \
  v2cc-cdfg-impl.cc v2cc-optimize.cc

freehdl_v2cc_LDADD = ../vaul/libfreehdl-vaul.la ../fire/libfreehdl-fire.la $(GETOPTLIBS)

test_mapper_SOURCES = test-mapper.cc mapping.cc mapping.h

EXTRA_DIST = v2cc-chunk.t gvhdl.in HACKING.v2cc x.vhdl y.vhdl z.vhdl \
  adder.vhdl error.vhdl model.vhdl model4.vhdl model5.vhdl top.vhdl

CLEANFILES = *~
DISTCLEANFILES = gvhdl
MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)