Makefile
47 lines
| 1.0 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" | ||||
@echo | ||||
allGPL: | ||||
alexis
|
r7 | sh $(SCRIPTSDIR)/GPL_Patcher.sh -R | ||
Alexis
|
r1 | |||
init: allGPL | ||||
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 | ||||
make lib/lpp/doc/latex | ||||
Alexis
|
r2 | cp lib/lpp/doc/latex/refman.pdf lib/lpp/doc/VHD_lib.pdf | ||