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