2015-04-01 20:26:55 +00:00
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
|
|
|
## Copyright 2011(c) Analog Devices, Inc.
|
|
|
|
## Auto-generated, do not modify!
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
|
|
|
|
|
|
|
M_DEPS := system_project.tcl
|
|
|
|
M_DEPS += ../../scripts/adi_env.tcl
|
|
|
|
M_DEPS += ../../scripts/adi_project.tcl
|
|
|
|
M_DEPS += ../../scripts/adi_board.tcl
|
|
|
|
M_DEPS += system_bd.tcl
|
|
|
|
M_DEPS += ../../common/zc706/zc706_system_bd.tcl
|
|
|
|
M_DEPS += ../../common/xilinx/sys_wfifo.tcl
|
|
|
|
M_DEPS += ../common/fmcomms2_bd.tcl
|
2015-04-03 08:57:54 +00:00
|
|
|
M_DEPS += ../../../library/util_adc_pack/util_adc_pack.xpr
|
2015-04-07 20:32:01 +00:00
|
|
|
M_DEPS += ../../../library/util_dac_unpack/util_dac_unpack.xpr
|
|
|
|
M_DEPS += ../../../library/axi_clkgen/axi_clkgen.xpr
|
2015-04-03 08:57:54 +00:00
|
|
|
M_DEPS += ../../../library/axi_spdif_tx/axi_spdif_tx.xpr
|
|
|
|
M_DEPS += ../../../library/axi_ad9361/axi_ad9361.xpr
|
|
|
|
M_DEPS += ../../../library/axi_hdmi_tx/axi_hdmi_tx.xpr
|
2015-04-07 20:32:01 +00:00
|
|
|
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
|
|
|
|
M_DEPS += ../../../library/util_wfifo/util_wfifo.xpr
|
2015-04-01 20:26:55 +00:00
|
|
|
|
2015-04-07 20:32:01 +00:00
|
|
|
M_VIVADO := vivado -mode batch -source
|
2015-04-01 20:26:55 +00:00
|
|
|
|
2015-04-07 20:32:01 +00:00
|
|
|
M_FLIST := `find . -not -name '.'
|
|
|
|
M_FLIST += -not -name '*.tcl'
|
|
|
|
M_FLIST += -not -name '*.v'
|
|
|
|
M_FLIST += -not -name '*.xdc'
|
|
|
|
M_FLIST += -not -name '*.vhd'
|
|
|
|
M_FLIST += -not -name '*.prj'
|
|
|
|
M_FLIST += -not -name 'Makefile'
|
|
|
|
M_FLIST += -not -name '*.h' `
|
2015-04-01 20:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: lib fmcomms2_zc706.xpr
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: clean
|
2015-04-03 08:57:54 +00:00
|
|
|
clean: clean-all
|
2015-04-01 20:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: clean-all
|
2015-04-03 08:57:54 +00:00
|
|
|
clean-all:
|
2015-04-07 20:32:01 +00:00
|
|
|
rm -rf $(M_FLIST)
|
2015-04-01 20:26:55 +00:00
|
|
|
make -C ../../../library/util_adc_pack clean
|
2015-04-07 20:32:01 +00:00
|
|
|
make -C ../../../library/util_dac_unpack clean
|
|
|
|
make -C ../../../library/axi_clkgen clean
|
2015-04-01 20:26:55 +00:00
|
|
|
make -C ../../../library/axi_spdif_tx clean
|
|
|
|
make -C ../../../library/axi_ad9361 clean
|
|
|
|
make -C ../../../library/axi_hdmi_tx clean
|
2015-04-07 20:32:01 +00:00
|
|
|
make -C ../../../library/axi_dmac clean
|
|
|
|
make -C ../../../library/util_wfifo clean
|
2015-04-01 20:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
fmcomms2_zc706.xpr: lib $(M_DEPS)
|
2015-04-07 20:32:01 +00:00
|
|
|
rm -rf $(M_FLIST)
|
|
|
|
$(M_VIVADO) system_project.tcl >> fmcomms2_zc706_vivado.log 2>&1
|
2015-04-01 20:26:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: lib
|
|
|
|
lib:
|
|
|
|
make -C ../../../library/util_adc_pack
|
2015-04-07 20:32:01 +00:00
|
|
|
make -C ../../../library/util_dac_unpack
|
|
|
|
make -C ../../../library/axi_clkgen
|
2015-04-01 20:26:55 +00:00
|
|
|
make -C ../../../library/axi_spdif_tx
|
|
|
|
make -C ../../../library/axi_ad9361
|
|
|
|
make -C ../../../library/axi_hdmi_tx
|
2015-04-07 20:32:01 +00:00
|
|
|
make -C ../../../library/axi_dmac
|
|
|
|
make -C ../../../library/util_wfifo
|
2015-04-01 20:26:55 +00:00
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|