Root/modules/Makefile

Source at commit 694cebf972a03398cea8aba9b8bc246cd1ab0f28 created 7 years 9 months ago.
By Werner Almesberger, modules/dfn.fpd: DFN-8 (aka TI's WSON-8) package, for TPS6216x
1MODULES=8_10-card 8_10-socket-ra \
2    bat-clip-aa-th bga \
3    c-smd c-t-smd \
4    dcjack dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
5    e-switch320 eus evqq7 \
6        fiducial \
7    header he-2row-dip he-shrouded \
8    ir \
9    ledsmd \
10    mdip meander-2450MHz mic-ra-dip mini-usb\
11    pads pads-array phonejack \
12    qfn qfp \
13    rca-3-ra rj45 \
14    soic sot23 spacer sot sot-323 ssop stdpass \
15    tactile-sw-spst-ra-dip to tsop tssop5 \
16    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt \
17    xlr-plug xlr-socket \
18     xtal-2 xtal-4 \
19    zx62-b-5pa zx62m-b-5p
20
21SHELL = /bin/bash
22
23TITLE_NAME = FOOTPRINTS/MODULES
24TITLE_FILE = kicad-libs-modules.pdf
25
26include ../common/Makefile.title
27
28.SUFFIXES: .fpd .mod
29.PHONY: all brd catalog view upload missing clean spotless
30
31all: $(MODULES:%=%.mod)
32
33.fpd.mod:
34        fped -k $< $@
35
36modules.pro: Makefile
37        ../scripts/modules-pro template.pro $(MODULES) >$@ || \
38            { rm -f $@; exit 1; }
39
40brd: all modules.pro
41        pcbnew `pwd`/modules.brd
42
43catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd) title.ps
44        genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
45          HIERARCHY DESCR >catalog.pdf || \
46          { rm -f catalog.pdf; exit 1; }
47
48view: catalog.pdf
49        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
50
51upload: catalog.pdf
52        qippl catalog.pdf tmp/kicad-libs-modules.pdf
53
54missing:
55        ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
56
57clean:
58        rm -f *~*.fpd
59        rm -f title.ps
60
61spotless: clean
62        rm -f $(MODULES:%=%.mod)
63        rm -f modules.pro
64

Archive Download this file

Branches:
master



interactive