Root/modules/Makefile

1MODULES=0805-6 1059 8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
2    bat-clip-aa-th bga \
3    c-smd c-t-smd \
4    dcjack df40 dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
5    e-switch320 er-oled-fpc30 eus evqq7 \
6        fiducial \
7    header he-2row-dip he-shrouded \
8    inductor-2p ir \
9    jtrace \
10    lga ledsmd lp2032sm \
11    mdip meander-2450MHz memcard8-amp-10100660 memcard8-hirose-dm3cs \
12    memcard8-jae-st1w008s4b memcard8-molex-1050270001 \
13    mic-ra-dip mini-usb msl0104 \
14    pads pads-array phonejack pogo \
15    qfn qfp \
16    rca-3-ra rev-led rj45 \
17    sod soic sot23 spacer sot sot-323 ssop stdpass stqfn20 sw-spdt-smt \
18    tact-4-rect-smt tactile-sw-spst-ra-dip to tsop tssop5 tswa \
19    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
20    usb_a_rcpt_mid \
21    vson-powerpad \
22    xlr-plug xlr-socket \
23     xtal-2 xtal-4 \
24    zx62-b-5pa zx62m-b-5p
25
26SHELL = /bin/bash
27
28TITLE_NAME = FOOTPRINTS/MODULES
29TITLE_FILE = kicad-libs-modules.pdf
30
31.SUFFIXES: .fpd .mod
32.PHONY: all brd catalog view upload missing clean spotless
33
34all: $(MODULES:%=%.mod)
35
36.fpd.mod:
37        fped -k $< $@
38
39modules.pro: Makefile
40        ../scripts/modules-pro template.pro $(MODULES) >$@ || \
41            { rm -f $@; exit 1; }
42
43brd: all modules.pro
44        pcbnew `pwd`/modules.brd
45
46include ../common/Makefile.title
47
48catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
49        $(MAKE) title.ps
50        genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
51          HIERARCHY DESCR >catalog.pdf || \
52          { rm -f catalog.pdf; exit 1; }
53
54view: catalog.pdf
55        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
56
57upload: catalog.pdf
58        qippl catalog.pdf tmp/kicad-libs-modules.pdf
59
60missing:
61        ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
62
63clean:
64        rm -f *~*.fpd
65        rm -f title.ps
66
67spotless: clean
68        rm -f $(MODULES:%=%.mod)
69        rm -f modules.pro
70

Archive Download this file

Branches:
master



interactive