##// END OF EJS Templates
Added an automated Devices ID and Vendor ID handler
Added an automated Devices ID and Vendor ID handler

File last commit:

r36:2c9e70f363a1 default
r36:2c9e70f363a1 default
Show More
Makefile
68 lines | 1.3 KiB | text/x-makefile | MakefileLexer
SCRIPTSDIR=scripts/
LIBDIR=lib/
BOARDSDIR=boards/
DESIGNSDIR=designs/
all: help
help:
@echo
@echo " batch targets:"
@echo
@echo " make Patch-GRLIB : install library into GRLIB at : $(GRLIB)"
@echo " make dist : create a tar file for using into an other computer"
@echo " make Patched-dist : create a tar file for with a patched grlib for using into an other computer"
@echo " make allGPL : add a GPL HEADER in all vhdl Files"
@echo " make init : add a GPL HEADER in all vhdl Files, init all files"
@echo " make doc : make documentation for VHDL IPs"
@echo " make pdf : make pdf documentation for VHDL IPs"
@echo
allGPL:
@echo "Scanning VHDL files ..."
sh $(SCRIPTSDIR)/GPL_Patcher.sh -R vhd lib
@echo "Scanning C files ..."
sh $(SCRIPTSDIR)/GPL_Patcher.sh -R c LPP_drivers
@echo "Scanning H files ..."
sh $(SCRIPTSDIR)/GPL_Patcher.sh -R h LPP_drivers
init: C-libs
sh $(SCRIPTSDIR)/vhdlsynPatcher.sh
sh $(SCRIPTSDIR)/makeDirs.sh lib/lpp
C-libs:APB_devs
make -C LPP_drivers
APB_devs:
sh $(SCRIPTSDIR)/APB_DEV_UPDATER.sh
Patch-GRLIB: init doc
sh $(SCRIPTSDIR)/patch.sh $(GRLIB)
dist: init
tar -cvzf ./../lpp-lib.tgz ./../VHD_Lib/*
Patched-dist: Patch-GRLIB
tar -cvzf ./../lpp-patched-GRLIB.tgz $(GRLIB)/*
doc:
doxygen lib/lpp/Doxyfile
pdf: doc
sh $(SCRIPTSDIR)/doc.sh