87 lines
2.8 KiB
Makefile
87 lines
2.8 KiB
Makefile
####################################################################################
|
|
####################################################################################
|
|
## Copyright 2011(c) Analog Devices, Inc.
|
|
## Auto-generated, do not modify!
|
|
####################################################################################
|
|
####################################################################################
|
|
|
|
M_DEPS += system_top.v
|
|
M_DEPS += system_project.tcl
|
|
M_DEPS += system_constr.xdc
|
|
M_DEPS += system_bd.tcl
|
|
M_DEPS += ../common/m2k_spi.v
|
|
M_DEPS += ../common/m2k_bd.tcl
|
|
M_DEPS += ../../scripts/adi_project.tcl
|
|
M_DEPS += ../../scripts/adi_env.tcl
|
|
M_DEPS += ../../scripts/adi_board.tcl
|
|
M_DEPS += ../../../library/xilinx/common/ad_iobuf.v
|
|
M_DEPS += ../../../library/axi_ad9963/axi_ad9963.xpr
|
|
M_DEPS += ../../../library/axi_adc_decimate/axi_adc_decimate.xpr
|
|
M_DEPS += ../../../library/axi_adc_trigger/axi_adc_trigger.xpr
|
|
M_DEPS += ../../../library/axi_dac_interpolate/axi_dac_interpolate.xpr
|
|
M_DEPS += ../../../library/axi_dmac/axi_dmac.xpr
|
|
M_DEPS += ../../../library/axi_logic_analyzer/axi_logic_analyzer.xpr
|
|
M_DEPS += ../../../library/axi_rd_wr_combiner/axi_rd_wr_combiner.xpr
|
|
M_DEPS += ../../../library/util_cpack/util_cpack.xpr
|
|
M_DEPS += ../../../library/util_extract/util_extract.xpr
|
|
M_DEPS += ../../../library/util_var_fifo/util_var_fifo.xpr
|
|
|
|
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
|
|
M_FLIST += *.hw
|
|
M_FLIST += *.sim
|
|
M_FLIST += .Xil
|
|
M_FLIST += *.ip_user_files
|
|
|
|
|
|
|
|
.PHONY: all lib clean clean-all
|
|
all: lib m2k.sdk/system_top.hdf
|
|
|
|
|
|
clean:
|
|
rm -rf $(M_FLIST)
|
|
|
|
|
|
clean-all:clean
|
|
make -C ../../../library/axi_ad9963 clean
|
|
make -C ../../../library/axi_adc_decimate clean
|
|
make -C ../../../library/axi_adc_trigger clean
|
|
make -C ../../../library/axi_dac_interpolate clean
|
|
make -C ../../../library/axi_dmac clean
|
|
make -C ../../../library/axi_logic_analyzer clean
|
|
make -C ../../../library/axi_rd_wr_combiner clean
|
|
make -C ../../../library/util_cpack clean
|
|
make -C ../../../library/util_extract clean
|
|
make -C ../../../library/util_var_fifo clean
|
|
|
|
|
|
m2k.sdk/system_top.hdf: $(M_DEPS)
|
|
-rm -rf $(M_FLIST)
|
|
$(M_VIVADO) system_project.tcl >> m2k_vivado.log 2>&1
|
|
|
|
|
|
lib:
|
|
make -C ../../../library/axi_ad9963
|
|
make -C ../../../library/axi_adc_decimate
|
|
make -C ../../../library/axi_adc_trigger
|
|
make -C ../../../library/axi_dac_interpolate
|
|
make -C ../../../library/axi_dmac
|
|
make -C ../../../library/axi_logic_analyzer
|
|
make -C ../../../library/axi_rd_wr_combiner
|
|
make -C ../../../library/util_cpack
|
|
make -C ../../../library/util_extract
|
|
make -C ../../../library/util_var_fifo
|
|
|
|
####################################################################################
|
|
####################################################################################
|