pluto_hdl_adi/projects/pzsdr/ccpci/Makefile

78 lines
2.4 KiB
Makefile
Raw Normal View History

2015-09-19 01:18:16 +00:00
####################################################################################
####################################################################################
## Copyright 2011(c) Analog Devices, Inc.
## Auto-generated, do not modify!
####################################################################################
####################################################################################
M_DEPS += system_top.v
2015-10-23 07:44:27 +00:00
M_DEPS += system_project.tcl
2015-09-19 01:18:16 +00:00
M_DEPS += system_constr.xdc
2015-10-16 08:49:23 +00:00
M_DEPS += system_bd.tcl
M_DEPS += ../common/ccpci_bd.tcl
2015-10-23 07:44:27 +00:00
M_DEPS += ../../scripts/adi_project.tcl
M_DEPS += ../../scripts/adi_env.tcl
M_DEPS += ../../scripts/adi_board.tcl
2015-10-16 08:49:23 +00:00
M_DEPS += ../../fmcomms2/common/fmcomms2_bd.tcl
2015-10-23 07:44:27 +00:00
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_ps7.tcl
M_DEPS += ../../common/pzsdr/pzsdr_system_constr.xdc
M_DEPS += ../../common/pzsdr/pzsdr_system_bd.tcl
M_DEPS += ../../../library/common/ad_iobuf.v
2015-10-16 08:49:23 +00:00
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
M_DEPS += ../../../library/util_cpack/util_cpack.xpr
2015-11-11 09:16:05 +00:00
M_DEPS += ../../../library/util_tdd_sync/util_tdd_sync.xpr
2015-10-16 08:49:23 +00:00
M_DEPS += ../../../library/util_upack/util_upack.xpr
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
2015-09-19 01:18:16 +00:00
M_VIVADO := vivado -mode batch -source
M_FLIST := *.cache
M_FLIST += *.data
M_FLIST += *.xpr
M_FLIST += *.log
M_FLIST += *.jou
M_FLIST += xgui
M_FLIST += *.runs
M_FLIST += *.srcs
M_FLIST += *.sdk
2016-03-31 09:37:47 +00:00
M_FLIST += *.hw
M_FLIST += *.sim
2015-09-19 01:18:16 +00:00
M_FLIST += .Xil
.PHONY: all lib clean clean-all
2015-10-23 07:44:27 +00:00
all: lib ccpci_pzsdr.sdk/system_top.hdf
2015-09-19 01:18:16 +00:00
clean:
rm -rf $(M_FLIST)
clean-all:clean
2015-10-16 08:49:23 +00:00
make -C ../../../library/axi_ad9361 clean
make -C ../../../library/axi_dmac clean
make -C ../../../library/util_cpack clean
2015-11-11 09:16:05 +00:00
make -C ../../../library/util_tdd_sync clean
2015-10-16 08:49:23 +00:00
make -C ../../../library/util_upack clean
make -C ../../../library/util_wfifo clean
2015-09-19 01:18:16 +00:00
2015-10-23 07:44:27 +00:00
ccpci_pzsdr.sdk/system_top.hdf: $(M_DEPS)
2015-09-19 01:18:16 +00:00
rm -rf $(M_FLIST)
2015-10-23 07:44:27 +00:00
$(M_VIVADO) system_project.tcl >> ccpci_pzsdr_vivado.log 2>&1
2015-09-19 01:18:16 +00:00
lib:
2015-10-16 08:49:23 +00:00
make -C ../../../library/axi_ad9361
make -C ../../../library/axi_dmac
make -C ../../../library/util_cpack
2015-11-11 09:16:05 +00:00
make -C ../../../library/util_tdd_sync
2015-10-16 08:49:23 +00:00
make -C ../../../library/util_upack
make -C ../../../library/util_wfifo
2015-09-19 01:18:16 +00:00
####################################################################################
####################################################################################