Root/modules/Makefile

Source at commit 6b6eaf674c6eecefaec3fdcf977eb73fb45cbc1b created 9 years 1 month ago.
By Werner Almesberger, modules/8_10-socket-ra-push-pull.fpd: Amphenol 114-00841-68 push-pull uSD
1MODULES=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 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    lga 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
26.SUFFIXES: .fpd .mod
27.PHONY: all brd catalog view upload missing clean spotless
28
29all: $(MODULES:%=%.mod)
30
31.fpd.mod:
32        fped -k $< $@
33
34modules.pro: Makefile
35        ../scripts/modules-pro template.pro $(MODULES) >$@ || \
36            { rm -f $@; exit 1; }
37
38brd: all modules.pro
39        pcbnew `pwd`/modules.brd
40
41include ../common/Makefile.title
42
43catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
44        $(MAKE) title.ps
45        genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
46          HIERARCHY DESCR >catalog.pdf || \
47          { rm -f catalog.pdf; exit 1; }
48
49view: catalog.pdf
50        $${DSV_PDFVIEWER:-xpdf} catalog.pdf
51
52upload: catalog.pdf
53        qippl catalog.pdf tmp/kicad-libs-modules.pdf
54
55missing:
56        ../scripts/missing-in-tree -F $(MODULES:%=-l %.fpd) HIERARCHY
57
58clean:
59        rm -f *~*.fpd
60        rm -f title.ps
61
62spotless: clean
63        rm -f $(MODULES:%=%.mod)
64        rm -f modules.pro
65

Archive Download this file

Branches:
master



interactive