2012-06-18 11:47:25 +03:00
|
|
|
MODULES=8_10-card 8_10-socket-ra \
|
|
|
|
bat-clip-aa-th bga \
|
|
|
|
c-smd c-t-smd \
|
|
|
|
dcjack din-5 dip do-214 dvi-recept-ra \
|
|
|
|
eus \
|
|
|
|
fiducial \
|
2012-06-19 09:27:19 +03:00
|
|
|
header he-2row-dip he-shrouded \
|
2012-06-18 11:47:25 +03:00
|
|
|
ir \
|
|
|
|
ledsmd \
|
|
|
|
mdip meander-2450MHz mic-ra-dip mini-usb\
|
|
|
|
pads pads-array phonejack \
|
|
|
|
qfn qfp \
|
|
|
|
rca-3-ra rj45 \
|
|
|
|
soic sot23 spacer sot sot-323 ssop stdpass \
|
|
|
|
tactile-sw-spst-ra-dip to tsop tssop5 \
|
|
|
|
usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt \
|
|
|
|
xlr-plug xlr-socket \
|
|
|
|
xtal-2 xtal-4 \
|
2010-09-01 03:43:22 +03:00
|
|
|
|
|
|
|
.SUFFIXES: .fpd .mod
|
2012-07-13 01:19:44 +03:00
|
|
|
.PHONY: all 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-07-12 22:33:50 +03:00
|
|
|
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
|
2012-07-13 02:15:12 +03:00
|
|
|
genkicat -F -p $(MODULES:%=-l %.fpd) HIERARCHY DESCR \
|
2012-07-13 00:55:40 +03:00
|
|
|
>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
|
|
|
|
|
|
|
|
spotless: clean
|
|
|
|
rm -f $(MODULES:%=%.mod)
|
|
|
|
|