1 |
42 |
dgisselq |
################################################################################
|
2 |
|
|
##
|
3 |
|
|
## Filename: doc/Makefile
|
4 |
|
|
##
|
5 |
|
|
## Project: A General Purpose Pipelined FFT Implementation
|
6 |
|
|
##
|
7 |
|
|
## Purpose: This simple Makefile builds the documentation for the Pipelined
|
8 |
|
|
## FFT Generator.
|
9 |
|
|
##
|
10 |
|
|
## Targets:
|
11 |
|
|
##
|
12 |
|
|
## The "all" target builds both a copy of the LGPL license as well as the
|
13 |
|
|
## specification (and directions for) the FFT core generator.
|
14 |
|
|
##
|
15 |
|
|
## Creator: Dan Gisselquist, Ph.D.
|
16 |
|
|
## Gisselquist Technology, LLC
|
17 |
|
|
##
|
18 |
|
|
################################################################################
|
19 |
|
|
##
|
20 |
|
|
## Copyright (C) 2018, Gisselquist Technology, LLC
|
21 |
|
|
##
|
22 |
|
|
## This file is part of the general purpose pipelined FFT project.
|
23 |
|
|
##
|
24 |
|
|
## The pipelined FFT project is free software (firmware): you can redistribute
|
25 |
|
|
## it and/or modify it under the terms of the GNU Lesser General Public License
|
26 |
|
|
## as published by the Free Software Foundation, either version 3 of the
|
27 |
|
|
## License, or (at your option) any later version.
|
28 |
|
|
##
|
29 |
|
|
## The pipelined FFT project is distributed in the hope that it will be useful,
|
30 |
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
31 |
|
|
## MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
32 |
|
|
## General Public License for more details.
|
33 |
|
|
##
|
34 |
|
|
## You should have received a copy of the GNU Lesser General Public License
|
35 |
|
|
## along with this program. (It's in the $(ROOT)/doc directory. Run make
|
36 |
|
|
## with no target there if the PDF file isn't present.) If not, see
|
37 |
|
|
## for a copy.
|
38 |
|
|
##
|
39 |
|
|
## License: LGPL, v3, as defined and found on www.gnu.org,
|
40 |
|
|
## http://www.gnu.org/licenses/lgpl.html
|
41 |
|
|
##
|
42 |
|
|
##
|
43 |
|
|
################################################################################
|
44 |
|
|
##
|
45 |
|
|
##
|
46 |
|
|
.PHONY: all license spec pdf gpl lgpl
|
47 |
|
|
all: lgpl spec
|
48 |
|
|
license: lgpl
|
49 |
|
|
gpl: lgpl
|
50 |
|
|
lgpl: lgpl-3.0.pdf
|
51 |
|
|
spec: spec.pdf
|
52 |
|
|
pdf: lgpl spec
|
53 |
|
|
|
54 |
3 |
dgisselq |
DSRC := src
|
55 |
|
|
|
56 |
42 |
dgisselq |
.DELETE_ON_ERROR:
|
57 |
3 |
dgisselq |
|
58 |
42 |
dgisselq |
LICENSE := lgpl-3.0
|
59 |
|
|
$(LICENSE).pdf: $(DSRC)/$(LICENSE).tex
|
60 |
|
|
latex $(DSRC)/$(LICENSE).tex
|
61 |
|
|
latex $(DSRC)/$(LICENSE).tex
|
62 |
|
|
dvips -q -z -t letter -P pdf -o $(LICENSE).ps $(LICENSE).dvi
|
63 |
|
|
ps2pdf -dAutoRotatePages=/All $(LICENSE).ps $(LICENSE).pdf
|
64 |
|
|
rm -f $(LICENSE).dvi $(LICENSE).log $(LICENSE).aux $(LICENSE).ps
|
65 |
|
|
|
66 |
10 |
dgisselq |
spec.pdf: $(DSRC)/spec.tex $(DSRC)/gqtekspec.cls
|
67 |
|
|
cd $(DSRC)/; latex spec.tex
|
68 |
|
|
cd $(DSRC)/; latex spec.tex
|
69 |
|
|
dvips -q -z -t letter -P pdf -o spec.ps $(DSRC)/spec.dvi
|
70 |
|
|
ps2pdf -dAutoRotatePages=/All spec.ps spec.pdf
|
71 |
42 |
dgisselq |
rm -f $(DSRC)/spec.dvi $(DSRC)/spec.log
|
72 |
|
|
rm -f $(DSRC)/spec.aux $(DSRC)/spec.toc
|
73 |
|
|
rm -f $(DSRC)/spec.lof $(DSRC)/spec.lot
|
74 |
|
|
rm -f spec.ps
|
75 |
10 |
dgisselq |
|