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