Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # ************************************************************************* |
2 | # | |
3 | # | |
4 | # Original Author: | |
5 | # Creation Date : | |
6 | # | |
7 | # File name : GNUmakefile | |
8 | # Description : makefile for building Vera lib components | |
9 | # | |
10 | # Users of this lib should call make using this | |
11 | # makefile to build the exportable objects. This makefile | |
12 | # may use make variables exported from superior makes | |
13 | # processes. | |
14 | # | |
15 | # ************************************************************************* | |
16 | ||
17 | #-------------------------------------------------------------------- | |
18 | # Use `lib' to define the name of the library we are building. | |
19 | # the exported library will be called $(lib).libvrl | |
20 | #-------------------------------------------------------------------- | |
21 | lib = denali_root_monitor | |
22 | ||
23 | #-------------------------------------------------------------------- | |
24 | # Compile this library as a concatenated Vera file. | |
25 | #-------------------------------------------------------------------- | |
26 | lib_denali_root_monitor_combine_vera = 1 | |
27 | ||
28 | #-------------------------------------------------------------------- | |
29 | # Use `lib_list' to specify the names of libraries on which this library | |
30 | # depends. Be careful that these other libraries don't in turn depend on | |
31 | # this one. | |
32 | #-------------------------------------------------------------------- | |
33 | lib_list = CTSupportClasses XactorFmwork XactorComponents \ | |
34 | DenaliPCIE FNXBasicUtilities FNXPCIEXactor | |
35 | #-------------------------------------------------------------------- | |
36 | # Use `lib_FNXPCIEXactor_vera_src' to define the list of vera source files | |
37 | # which compose this library. | |
38 | #-------------------------------------------------------------------- | |
39 | lib_denali_root_monitor_vera_src = denali_root_monitor_PCIEXactorDenaliDevice.vr \ | |
40 | denali_root_monitor_PCIEXactorSignalInterface.vr \ | |
41 | denali_root_monitor_PCIEXactorBuilder.vr \ | |
42 | denali_root_monitor_PCIEXactorTransaction.vr | |
43 | ||
44 | #-------------------------------------------------------------------- | |
45 | # Use `lib_additional_vera_cmp_args' to define additional vera compilation | |
46 | # arguments. | |
47 | #-------------------------------------------------------------------- | |
48 | lib_additional_vera_cmp_args = | |
49 | ||
50 | #-------------------------------------------------------------------- | |
51 | # Use `lib_additional_deps' to define additional libvrl dependencies | |
52 | #-------------------------------------------------------------------- | |
53 | denali_rev = $(proj_dir)/.master_wrapper/denali.rev | |
54 | lib_additional_deps = $(denali_rev) | |
55 | ||
56 | #-------------------------------------------------------------------- | |
57 | # | |
58 | #-------------------------------------------------------------------- | |
59 | #AC: doit : $(VERA_LIBDIR)/$(lib).list \ | |
60 | #AC: $(VERA_LIBDIR)/denali_pcie_device.v | |
61 | doit : $(VERA_LIBDIR)/$(lib).list | |
62 | ||
63 | #AC: $(VERA_LIBDIR)/denali_pcie_device.v : sim/denali_pcie_device.v | |
64 | #AC: rm -f $@ | |
65 | #AC: sed -e "s|DV_ROOT/|$(DV_ROOT)/|" sim/denali_pcie_device.v > $@ | |
66 | ||
67 | #==================================================================== | |
68 | #======= you probably don't have to change anything below =========== | |
69 | #==================================================================== | |
70 | # Get all the usual targets and dependencies. | |
71 | #-------------------------------------------------------------------- | |
72 | include $(DV_ROOT)/verif/env/fnx/runsim/makefiles/Makefile.libtop | |
73 | #==================================================================== | |
74 | ||
75 | ||
76 | #--------------------------- The End -------------------------------- |