KiCad Libraries
Sign in or create your account | Project List | Help
KiCad Libraries Git Source Tree
Root/
Source at commit df6bdb3b97e9c4060ab7080f43b1169811781b77 created 5 years 11 months ago. By Werner Almesberger, components/halley2.lib: tentatively add Ingenic Halley2 module (WIP) | |
---|---|
1 | # |
2 | # From http://svn.openmoko.org/trunk/gta02-core/components/ |
3 | # |
4 | # Note that we don't have the concept of a "library of everything" so far. |
5 | # |
6 | |
7 | SHELL = /bin/bash |
8 | |
9 | GEN = gencon.lib |
10 | |
11 | TITLE_NAME = SYMBOLS/COMPONENTS |
12 | TITLE_FILE = kicad-libs-components.pdf |
13 | |
14 | .PHONY: all sch catalog view upload missing clean spotless |
15 | |
16 | all: $(GEN) |
17 | |
18 | # @echo "make what ? targets: sch loe" |
19 | # @exit 1 |
20 | |
21 | sch: $(GEN) |
22 | eeschema `pwd`/components.sch |
23 | |
24 | DESCR-dcm: *.dcm |
25 | ../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; } |
26 | |
27 | include ../common/Makefile.title |
28 | |
29 | catalog catalog.pdf: HIERARCHY DESCR-dcm *.lib $(GEN) |
30 | $(MAKE) title.ps |
31 | genkicat -p -L . -t title.ps HIERARCHY DESCR-dcm \ |
32 | >catalog.pdf || \ |
33 | { rm -f catalog.pdf; exit 1; } |
34 | |
35 | view: catalog.pdf |
36 | $${DSV_PDFVIEWER:-xpdf} catalog.pdf |
37 | |
38 | upload: catalog.pdf |
39 | qippl catalog.pdf tmp/kicad-libs-components.pdf |
40 | |
41 | missing: $(GEN) |
42 | ../scripts/missing-in-tree -L . HIERARCHY |
43 | ../scripts/missing-in-tree -Q $(GEN:%=-x %) -L . components.pro |
44 | |
45 | %.lib: %.pl |
46 | ./$< >$@ || { rm -f $@; exit 1; } |
47 | |
48 | #loe: |
49 | # ./mkloe |
50 | |
51 | clean: |
52 | rm -f DESCR-dcm title.ps |
53 | |
54 | spotless: clean |
55 | rm -f catalog.pdf $(GEN) |
56 |
Branches:
master