| 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 = FNXPCIEXactor |
| 22 | |
| 23 | #-------------------------------------------------------------------- |
| 24 | # Compile this library as a concatenated Vera file. |
| 25 | #-------------------------------------------------------------------- |
| 26 | lib_FNXPCIEXactor_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 |
| 35 | #-------------------------------------------------------------------- |
| 36 | # Use `lib_FNXPCIEXactor_vera_src' to define the list of vera source files |
| 37 | # which compose this library. |
| 38 | #-------------------------------------------------------------------- |
| 39 | lib_FNXPCIEXactor_vera_src = FNXPCIEXactorPktCbRecord.vr \ |
| 40 | FNXPCIEXactorRegCbRecord.vr \ |
| 41 | FNXPCIEXactorDenaliDevice.vr \ |
| 42 | FNXPCIEXactorBasePacket.vr \ |
| 43 | FNXPCIEXactorBaseUserData.vr \ |
| 44 | FNXPCIEXactorUtilities.vr \ |
| 45 | FNXPCIEXactorPacket.vr \ |
| 46 | FNXPCIEXactorUserData.vr \ |
| 47 | FNXPCIEXactorAssertCovDatabase.vr \ |
| 48 | FNXPCIEXactorStatsDatabase.vr \ |
| 49 | FNXPCIEXactorReplayMonitor.vr \ |
| 50 | FNXPCIEXactorSignalInterface.vr \ |
| 51 | FNXPCIEXactorManager.vr \ |
| 52 | FNXPCIEXactorFCEngine.vr \ |
| 53 | FNXPCIEXactorBuilder.vr \ |
| 54 | FNXPCIEXactorTransaction.vr |
| 55 | |
| 56 | #-------------------------------------------------------------------- |
| 57 | # Use `lib_additional_vera_cmp_args' to define additional vera compilation |
| 58 | # arguments. |
| 59 | #-------------------------------------------------------------------- |
| 60 | lib_additional_vera_cmp_args = |
| 61 | |
| 62 | #-------------------------------------------------------------------- |
| 63 | # Use `lib_additional_deps' to define additional libvrl dependencies |
| 64 | #-------------------------------------------------------------------- |
| 65 | denali_rev = $(proj_dir)/.master_wrapper/denali.rev |
| 66 | lib_additional_deps = $(denali_rev) |
| 67 | |
| 68 | #-------------------------------------------------------------------- |
| 69 | # |
| 70 | #-------------------------------------------------------------------- |
| 71 | doit : $(VERA_LIBDIR)/$(lib).list \ |
| 72 | $(VERA_LIBDIR)/denali_pcie_device.v |
| 73 | |
| 74 | $(VERA_LIBDIR)/denali_pcie_device.v : sim/denali_pcie_device.v |
| 75 | rm -f $@ |
| 76 | sed -e "s|DV_ROOT/|$(DV_ROOT)/|" sim/denali_pcie_device.v > $@ |
| 77 | |
| 78 | #==================================================================== |
| 79 | #======= you probably don't have to change anything below =========== |
| 80 | #==================================================================== |
| 81 | # Get all the usual targets and dependencies. |
| 82 | #-------------------------------------------------------------------- |
| 83 | include $(DV_ROOT)/verif/env/fnx/runsim/makefiles/Makefile.libtop |
| 84 | #==================================================================== |
| 85 | |
| 86 | |
| 87 | #--------------------------- The End -------------------------------- |