Makefile
54 lines
| 1.2 KiB
| text/x-makefile
|
MakefileLexer
alexis
|
r7 | SCRIPTSDIR=scripts/ | ||
LIBDIR=lib/ | ||||
BOARDSDIR=boards/ | ||||
DESIGNSDIR=designs/ | ||||
Alexis
|
r1 | all: help | ||
help: | ||||
@echo | ||||
@echo " batch targets:" | ||||
@echo | ||||
alexis
|
r7 | @echo " make Patch-GRLIB : install library into GRLIB at : $(GRLIB)" | ||
Alexis
|
r1 | @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" | ||||
Alexis
|
r15 | @echo " make pdf : make pdf documentation for VHDL IPs" | ||
Alexis
|
r1 | @echo | ||
allGPL: | ||||
Alexis
|
r19 | @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 | ||||
Alexis
|
r1 | |||
Alexis
|
r19 | init: | ||
alexis
|
r7 | sh $(SCRIPTSDIR)/vhdlsynPatcher.sh | ||
sh $(SCRIPTSDIR)/makeDirs.sh lib/lpp | ||||
Alexis
|
r1 | |||
Patch-GRLIB: init doc | ||||
alexis
|
r7 | sh $(SCRIPTSDIR)/patch.sh $(GRLIB) | ||
Alexis
|
r1 | |||
dist: init | ||||
alexis
|
r7 | tar -cvzf ./../lpp-lib.tgz ./../VHD_Lib/* | ||
Alexis
|
r1 | |||
Patched-dist: Patch-GRLIB | ||||
tar -cvzf ./../lpp-patched-GRLIB.tgz $(GRLIB)/* | ||||
doc: | ||||
doxygen lib/lpp/Doxyfile | ||||
Alexis
|
r15 | |||
Alexis
|
r19 | pdf: doc | ||
sh $(SCRIPTSDIR)/doc.sh | ||||