pcb-20110918/0000755000012400000240000000000011635447771007530 500000000000000pcb-20110918/example/0000755000012400000240000000000011635447773011165 500000000000000pcb-20110918/example/Makefile.am0000644000012400000240000000023511307100413013106 00000000000000## $Id$ examplesdir= @docdir@/examples examples_DATA= ${EXAMPLES} SUBDIRS= libraries EXTRA_DIST= ${EXAMPLES} EXAMPLES=\ LED.pcb \ LED.net \ LED2.pcb pcb-20110918/example/LED2.pcb0000644000012400000240000015303311520437026012245 00000000000000# release: pcb 1.9.9d.ALPHA PCB("" 3500 3300) Grid(39.37007904 18 1 1) Cursor(1330 1075 1) Flags(0x0000000000001550) Groups("4,5,6,c:1,2,3,s:8:7:") Styles("Signal,10,40,20,10:Power,25,60,35,10:Fat,40,60,35,10:Skinny,8,36,20,10") Symbol(' ' 18) ( ) Symbol('!' 12) ( SymbolLine(0 35 0 40 8) SymbolLine(0 0 0 25 8) ) Symbol('"' 12) ( SymbolLine(0 0 0 10 8) SymbolLine(10 0 10 10 8) ) Symbol('#' 12) ( SymbolLine(0 25 20 25 8) SymbolLine(0 15 20 15 8) SymbolLine(15 10 15 30 8) SymbolLine(5 10 5 30 8) ) Symbol('$' 12) ( SymbolLine(15 5 20 10 8) SymbolLine(5 5 15 5 8) SymbolLine(0 10 5 5 8) SymbolLine(0 10 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 30 8) SymbolLine(15 35 20 30 8) SymbolLine(5 35 15 35 8) SymbolLine(0 30 5 35 8) SymbolLine(10 0 10 40 8) ) Symbol('%' 12) ( SymbolLine(0 5 0 10 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 10 0 8) SymbolLine(10 0 15 5 8) SymbolLine(15 5 15 10 8) SymbolLine(10 15 15 10 8) SymbolLine(5 15 10 15 8) SymbolLine(0 10 5 15 8) SymbolLine(0 40 40 0 8) SymbolLine(35 40 40 35 8) SymbolLine(40 30 40 35 8) SymbolLine(35 25 40 30 8) SymbolLine(30 25 35 25 8) SymbolLine(25 30 30 25 8) SymbolLine(25 30 25 35 8) SymbolLine(25 35 30 40 8) SymbolLine(30 40 35 40 8) ) Symbol('&' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 15 8) SymbolLine(0 5 5 0 8) SymbolLine(0 25 15 10 8) SymbolLine(5 40 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(0 15 25 40 8) SymbolLine(5 0 10 0 8) SymbolLine(10 0 15 5 8) SymbolLine(15 5 15 10 8) SymbolLine(0 25 0 35 8) ) Symbol(''' 12) ( SymbolLine(0 10 10 0 8) ) Symbol('(' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) ) Symbol(')' 12) ( SymbolLine(0 0 5 5 8) SymbolLine(5 5 5 35 8) SymbolLine(0 40 5 35 8) ) Symbol('*' 12) ( SymbolLine(0 10 20 30 8) SymbolLine(0 30 20 10 8) SymbolLine(0 20 20 20 8) SymbolLine(10 10 10 30 8) ) Symbol('+' 12) ( SymbolLine(0 20 20 20 8) SymbolLine(10 10 10 30 8) ) Symbol(',' 12) ( SymbolLine(0 50 10 40 8) ) Symbol('-' 12) ( SymbolLine(0 20 20 20 8) ) Symbol('.' 12) ( SymbolLine(0 40 5 40 8) ) Symbol('/' 12) ( SymbolLine(0 35 30 5 8) ) Symbol('0' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 30 20 10 8) ) Symbol('1' 12) ( SymbolLine(5 40 15 40 8) SymbolLine(10 0 10 40 8) SymbolLine(0 10 10 0 8) ) Symbol('2' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(0 40 25 15 8) SymbolLine(0 40 25 40 8) ) Symbol('3' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(5 20 20 20 8) ) Symbol('4' 12) ( SymbolLine(0 20 20 0 8) SymbolLine(0 20 25 20 8) SymbolLine(20 0 20 40 8) ) Symbol('5' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(0 0 0 20 8) SymbolLine(0 20 5 15 8) SymbolLine(5 15 15 15 8) SymbolLine(15 15 20 20 8) SymbolLine(20 20 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('6' 12) ( SymbolLine(15 0 20 5 8) SymbolLine(5 0 15 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(15 20 20 25 8) SymbolLine(0 20 15 20 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 25 20 35 8) ) Symbol('7' 12) ( SymbolLine(0 40 25 15 8) SymbolLine(25 0 25 15 8) SymbolLine(0 0 25 0 8) ) Symbol('8' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 15 5 20 8) SymbolLine(0 5 0 15 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 15 8) SymbolLine(15 20 20 15 8) ) Symbol('9' 12) ( SymbolLine(0 40 20 20 8) SymbolLine(20 5 20 20 8) SymbolLine(15 0 20 5 8) SymbolLine(5 0 15 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 20 20 8) ) Symbol(':' 12) ( SymbolLine(0 15 5 15 8) SymbolLine(0 25 5 25 8) ) Symbol(';' 12) ( SymbolLine(0 40 10 30 8) SymbolLine(10 15 10 20 8) ) Symbol('<' 12) ( SymbolLine(0 20 10 10 8) SymbolLine(0 20 10 30 8) ) Symbol('=' 12) ( SymbolLine(0 15 20 15 8) SymbolLine(0 25 20 25 8) ) Symbol('>' 12) ( SymbolLine(0 10 10 20 8) SymbolLine(0 30 10 20 8) ) Symbol('?' 12) ( SymbolLine(10 20 10 25 8) SymbolLine(10 35 10 40 8) SymbolLine(0 5 0 10 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 10 8) SymbolLine(10 20 20 10 8) ) Symbol('A' 12) ( SymbolLine(0 5 0 40 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 40 8) SymbolLine(0 20 25 20 8) ) Symbol('B' 12) ( SymbolLine(0 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(25 25 25 35 8) SymbolLine(20 20 25 25 8) SymbolLine(5 20 20 20 8) SymbolLine(5 0 5 40 8) SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) ) Symbol('C' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) ) Symbol('D' 12) ( SymbolLine(5 0 5 40 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(0 40 20 40 8) SymbolLine(0 0 20 0 8) ) Symbol('E' 12) ( SymbolLine(0 20 15 20 8) SymbolLine(0 40 20 40 8) SymbolLine(0 0 0 40 8) SymbolLine(0 0 20 0 8) ) Symbol('F' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 20 0 8) SymbolLine(0 20 15 20 8) ) Symbol('G' 12) ( SymbolLine(20 0 25 5 8) SymbolLine(5 0 20 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(25 25 25 35 8) SymbolLine(20 20 25 25 8) SymbolLine(10 20 20 20 8) ) Symbol('H' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(25 0 25 40 8) SymbolLine(0 20 25 20 8) ) Symbol('I' 12) ( SymbolLine(0 0 10 0 8) SymbolLine(5 0 5 40 8) SymbolLine(0 40 10 40 8) ) Symbol('J' 12) ( SymbolLine(0 0 15 0 8) SymbolLine(15 0 15 35 8) SymbolLine(10 40 15 35 8) SymbolLine(5 40 10 40 8) SymbolLine(0 35 5 40 8) ) Symbol('K' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 20 20 0 8) SymbolLine(0 20 20 40 8) ) Symbol('L' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 40 20 40 8) ) Symbol('M' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 15 15 8) SymbolLine(15 15 30 0 8) SymbolLine(30 0 30 40 8) ) Symbol('N' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 0 5 8) SymbolLine(0 5 25 30 8) SymbolLine(25 0 25 40 8) ) Symbol('O' 12) ( SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('P' 12) ( SymbolLine(5 0 5 40 8) SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) SymbolLine(5 20 20 20 8) ) Symbol('Q' 12) ( SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(10 30 20 40 8) ) Symbol('R' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) SymbolLine(5 20 20 20 8) SymbolLine(5 0 5 40 8) SymbolLine(5 20 25 40 8) ) Symbol('S' 12) ( SymbolLine(20 0 25 5 8) SymbolLine(5 0 20 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(25 25 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) ) Symbol('T' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(10 0 10 40 8) ) Symbol('U' 12) ( SymbolLine(0 0 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 0 20 35 8) ) Symbol('V' 12) ( SymbolLine(0 0 0 30 8) SymbolLine(0 30 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(20 0 20 30 8) ) Symbol('W' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 40 15 25 8) SymbolLine(15 25 30 40 8) SymbolLine(30 0 30 40 8) ) Symbol('X' 12) ( SymbolLine(0 0 0 5 8) SymbolLine(0 5 25 30 8) SymbolLine(25 30 25 40 8) SymbolLine(0 30 0 40 8) SymbolLine(0 30 25 5 8) SymbolLine(25 0 25 5 8) ) Symbol('Y' 12) ( SymbolLine(0 0 0 5 8) SymbolLine(0 5 10 15 8) SymbolLine(10 15 20 5 8) SymbolLine(20 0 20 5 8) SymbolLine(10 15 10 40 8) ) Symbol('Z' 12) ( SymbolLine(0 0 25 0 8) SymbolLine(25 0 25 5 8) SymbolLine(0 30 25 5 8) SymbolLine(0 30 0 40 8) SymbolLine(0 40 25 40 8) ) Symbol('[' 12) ( SymbolLine(0 0 5 0 8) SymbolLine(0 0 0 40 8) SymbolLine(0 40 5 40 8) ) Symbol('\' 12) ( SymbolLine(0 5 30 35 8) ) Symbol(']' 12) ( SymbolLine(0 0 5 0 8) SymbolLine(5 0 5 40 8) SymbolLine(0 40 5 40 8) ) Symbol('^' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 10 5 8) ) Symbol('_' 12) ( SymbolLine(0 40 20 40 8) ) Symbol('a' 12) ( SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(20 20 20 35 8) SymbolLine(20 35 25 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('b' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 25 20 35 8) SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) ) Symbol('c' 12) ( SymbolLine(5 20 20 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 20 40 8) ) Symbol('d' 12) ( SymbolLine(20 0 20 40 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) ) Symbol('e' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(0 30 20 30 8) SymbolLine(20 30 20 25 8) ) Symbol('f' 10) ( SymbolLine(5 5 5 40 8) SymbolLine(5 5 10 0 8) SymbolLine(10 0 15 0 8) SymbolLine(0 20 10 20 8) ) Symbol('g' 12) ( SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(0 50 5 55 8) SymbolLine(5 55 15 55 8) SymbolLine(15 55 20 50 8) SymbolLine(20 20 20 50 8) ) Symbol('h' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) ) Symbol('i' 10) ( SymbolLine(0 10 0 15 8) SymbolLine(0 25 0 40 8) ) Symbol('j' 10) ( SymbolLine(5 10 5 15 8) SymbolLine(5 25 5 50 8) SymbolLine(0 55 5 50 8) ) Symbol('k' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 25 15 40 8) SymbolLine(0 25 10 15 8) ) Symbol('l' 10) ( SymbolLine(0 0 0 35 8) SymbolLine(0 35 5 40 8) ) Symbol('m' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) SymbolLine(20 25 25 20 8) SymbolLine(25 20 30 20 8) SymbolLine(30 20 35 25 8) SymbolLine(35 25 35 40 8) SymbolLine(0 20 5 25 8) ) Symbol('n' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) SymbolLine(0 20 5 25 8) ) Symbol('o' 12) ( SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('p' 12) ( SymbolLine(5 25 5 55 8) SymbolLine(0 20 5 25 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(25 25 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(10 40 20 40 8) SymbolLine(5 35 10 40 8) ) Symbol('q' 12) ( SymbolLine(20 25 20 55 8) SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('r' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 20 20 8) SymbolLine(0 20 5 25 8) ) Symbol('s' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(20 30 25 35 8) SymbolLine(5 30 20 30 8) SymbolLine(0 25 5 30 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(0 35 5 40 8) ) Symbol('t' 10) ( SymbolLine(5 0 5 35 8) SymbolLine(5 35 10 40 8) SymbolLine(0 15 10 15 8) ) Symbol('u' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 20 20 35 8) ) Symbol('v' 12) ( SymbolLine(0 20 0 30 8) SymbolLine(0 30 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(20 20 20 30 8) ) Symbol('w' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 10 40 8) SymbolLine(10 40 15 35 8) SymbolLine(15 20 15 35 8) SymbolLine(15 35 20 40 8) SymbolLine(20 40 25 40 8) SymbolLine(25 40 30 35 8) SymbolLine(30 20 30 35 8) ) Symbol('x' 12) ( SymbolLine(0 20 20 40 8) SymbolLine(0 40 20 20 8) ) Symbol('y' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(20 20 20 50 8) SymbolLine(15 55 20 50 8) SymbolLine(5 55 15 55 8) SymbolLine(0 50 5 55 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('z' 12) ( SymbolLine(0 20 20 20 8) SymbolLine(0 40 20 20 8) SymbolLine(0 40 20 40 8) ) Symbol('{' 12) ( SymbolLine(5 5 10 0 8) SymbolLine(5 5 5 15 8) SymbolLine(0 20 5 15 8) SymbolLine(0 20 5 25 8) SymbolLine(5 25 5 35 8) SymbolLine(5 35 10 40 8) ) Symbol('|' 12) ( SymbolLine(0 0 0 40 8) ) Symbol('}' 12) ( SymbolLine(0 0 5 5 8) SymbolLine(5 5 5 15 8) SymbolLine(5 15 10 20 8) SymbolLine(5 25 10 20 8) SymbolLine(5 25 5 35 8) SymbolLine(0 40 5 35 8) ) Symbol('~' 12) ( SymbolLine(0 25 5 20 8) SymbolLine(5 20 10 20 8) SymbolLine(10 20 15 25 8) SymbolLine(15 25 20 25 8) SymbolLine(20 25 25 20 8) ) Via(2075 1455 50 30 80 28 "" 0x12120002) Via(1790 1570 50 30 80 28 "" 0x12120002) Via(1450 1575 50 30 80 28 "" 0x12120002) Via(1070 1265 50 30 80 28 "" 0x00000002) Via(1520 2495 50 30 80 28 "" 0x00000002) Via(465 3015 110 30 140 110 "" 0x0000000a) Via(1605 2660 50 30 80 28 "" 0x00000002) Via(1985 1300 50 30 80 28 "" 0x00000002) Via(465 605 110 30 140 110 "" 0x0000000a) Via(2965 595 110 30 140 110 "" 0x0000000a) Via(2965 3005 110 30 140 110 "" 0x0000000a) Via(1185 2660 50 30 80 28 "" 0x00000002) Element(0x00000000 "" "" "" 2330 850 0 0 0 100 0x00000000) ( Pin(0 0 60 30 90 28 "" "1" 0x00000001) Pin(300 0 60 30 90 28 "" "2" 0x00000001) Pin(300 -300 60 30 90 28 "" "3" 0x00000001) Pin(0 -300 60 30 90 28 "" "4" 0x00000001) ElementLine (-110 110 -110 -350 10) ElementLine (-60 -400 350 -400 10) ElementLine (400 -350 400 60 10) ElementLine (350 110 -110 110 10) ElementArc (-60 -350 50 50 270 90 10) ElementArc (350 -350 50 50 180 90 10) ElementArc (350 60 50 50 90 90 10) ) Element(0x00000000 "RS422 Transciever" "U6" "LTC490" 1005 895 -505 -55 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "Vcc" "1" 0x00000101) Pin(0 -100 60 30 90 28 "R" "2" 0x00000001) Pin(0 -200 60 30 90 28 "D" "3" 0x00000001) Pin(0 -300 60 30 90 28 "GND" "4" 0x00000001) Pin(-300 -300 60 30 90 28 "Y" "5" 0x00000001) Pin(-300 -200 60 30 90 28 "Z" "6" 0x00000001) Pin(-300 -100 60 30 90 28 "B" "7" 0x00000001) Pin(-300 0 60 30 90 28 "A" "8" 0x00000001) ElementLine (50 50 50 -350 10) ElementLine (50 -350 -350 -350 10) ElementLine (-350 -350 -350 50 10) ElementLine (50 50 -100 50 10) ElementLine (-200 50 -350 50 10) ElementArc (-150 50 50 50 180 180 10) ) Element(0x00000000 "PIC16C54A" "U5" "PIC16C54" 1195 860 465 80 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "RA2" "1" 0x00000101) Pin(100 0 60 30 90 28 "RA3" "2" 0x00000001) Pin(200 0 60 30 90 28 "RTCC" "3" 0x00000001) Pin(300 0 60 30 90 28 "/MCLR" "4" 0x00000001) Pin(400 0 60 30 90 28 "Vss" "5" 0x00000001) Pin(500 0 60 30 90 28 "RB0" "6" 0x00000001) Pin(600 0 60 30 90 28 "RB1" "7" 0x00000001) Pin(700 0 60 30 90 28 "RB2" "8" 0x00000001) Pin(800 0 60 30 90 28 "RB3" "9" 0x00000001) Pin(800 -300 60 30 90 28 "RB4" "10" 0x00000001) Pin(700 -300 60 30 90 28 "RB5" "11" 0x00000001) Pin(600 -300 60 30 90 28 "RB6" "12" 0x00000001) Pin(500 -300 60 30 90 28 "RB7" "13" 0x00000001) Pin(400 -300 60 30 90 28 "Vdd" "14" 0x00000001) Pin(300 -300 60 30 90 28 "OSC2/CLKOUT" "15" 0x00000001) Pin(200 -300 60 30 90 28 "OSC1/CLKIN" "16" 0x00000001) Pin(100 -300 60 30 90 28 "RA0" "17" 0x00000001) Pin(0 -300 60 30 90 28 "RA1" "18" 0x00000001) ElementLine (-50 50 850 50 10) ElementLine (850 50 850 -350 10) ElementLine (850 -350 -50 -350 10) ElementLine (-50 50 -50 -100 10) ElementLine (-50 -200 -50 -350 10) ElementArc (-50 -150 50 50 90 180 10) ) Element(0x00000000 "SMD Cap" "C17" "" 2155 815 -90 -329 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(0 -200 80 30 110 35 "2" "2" 0x00000001) ElementLine (-50 50 50 50 10) ElementLine (50 50 50 -250 10) ElementLine (50 -250 -50 -250 10) ElementLine (-50 -250 -50 50 10) ) Element(0x00000000 "SMD 0805" "C13" "" 2525 1510 -30 45 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 -90 0 -90 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -125 -35 35 10) ElementLine (35 -125 -35 -125 10) ElementLine (35 35 35 -125 10) ElementLine (-35 35 35 35 10) ) Element(0x00000010 "SMD 0805" "C16" "" 1080 1355 -15 -115 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (125 -35 -35 -35 10) ElementLine (125 35 125 -35 10) ElementLine (-35 35 125 35 10) ElementLine (-35 -35 -35 35 10) ) Element(0x00000000 "SMD 0805" "C14" "" 1175 1690 -195 20 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 90 0 90 60 30 90 "2" "2" 0x00000100) ElementLine (35 125 35 -35 10) ElementLine (-35 125 35 125 10) ElementLine (-35 -35 -35 125 10) ElementLine (35 -35 -35 -35 10) ) Element(0x00000000 "SMD Cap" "C15" "" 1280 1785 65 -174 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x02000001) Pin(0 -200 80 30 110 35 "2" "2" 0x00000001) ElementLine (-50 50 50 50 10) ElementLine (50 50 50 -250 10) ElementLine (50 -250 -50 -250 10) ElementLine (-50 -250 -50 50 10) ) Element(0x00000010 "SMD 0805" "C10" "" 2095 1310 -190 -60 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (125 -35 -35 -35 10) ElementLine (125 35 125 -35 10) ElementLine (-35 35 125 35 10) ElementLine (-35 -35 -35 35 10) ) Element(0x00000000 "SMD Cap" "C12" "" 2345 1320 -35 -129 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(200 0 80 30 110 35 "2" "2" 0x02020001) ElementLine (-50 -50 -50 50 10) ElementLine (-50 50 250 50 10) ElementLine (250 50 250 -50 10) ElementLine (250 -50 -50 -50 10) ) Element(0x00000000 "R 0.25W" "R13" "100" 1130 1435 230 65 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(400 0 60 30 90 28 "2" "2" 0x10000001) ElementLine (100 -50 300 -50 10) ElementLine (300 -50 300 50 10) ElementLine (300 50 100 50 10) ElementLine (100 50 100 -50 10) ElementLine (40 0 100 0 10) ElementLine (300 0 360 0 10) ) Element(0x00000000 "R 0.25W" "R14" "100" 1105 1075 -265 60 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000001) Pin(-400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (-100 50 -300 50 10) ElementLine (-300 50 -300 -50 10) ElementLine (-300 -50 -100 -50 10) ElementLine (-100 -50 -100 50 10) ElementLine (-40 0 -100 0 10) ElementLine (-300 0 -360 0 10) ) Element(0x00000000 "R 0.5W" "R11" "" 2815 1700 60 -90 0 150 0x00000000) ( Pin(0 0 85 30 115 48 "1" "1" 0x00000101) Pin(0 -800 85 30 115 48 "2" "2" 0x00000001) ElementLine (0 -60 0 -115 10) ElementLine (-115 -115 115 -115 10) ElementLine (115 -115 115 -685 10) ElementLine (115 -685 -115 -685 10) ElementLine (-115 -685 -115 -115 10) ElementLine (0 -685 0 -750 10) ) Element(0x00000000 "TK11950" "U3" "5.0V" 2235 1510 -139 -2 0 150 0x00000000) ( Pad(-7 0 8 0 24 30 54 "NOISE BYPASS" "1" 0x00000100) Pad(-7 37 8 37 24 30 54 "CONTROL" "2" 0x00000100) Pad(-7 75 8 75 24 30 54 "RESET OUT" "3" 0x00000100) Pad(119 75 134 75 24 30 54 "VO" "4" 0x00000100) Pad(119 37 134 37 24 30 54 "GND" "5" 0x00000100) Pad(119 0 134 0 24 30 54 "VIN" "6" 0x00000100) ElementLine (0 -22 0 -34 10) ElementLine (0 -34 132 -34 10) ElementLine (132 -34 132 -22 10) ElementLine (0 96 0 108 10) ElementLine (0 108 132 108 10) ElementLine (132 108 132 96 10) ElementLine (13 -24 119 -24 10) ) Element(0x00000000 "TK11950" "U4" "5.0V" 1180 1590 -254 -132 0 150 0x00000000) ( Pad(7 0 -8 0 24 30 54 "NOISE BYPASS" "1" 0x00000100) Pad(7 -37 -8 -37 24 30 54 "CONTROL" "2" 0x00000100) Pad(7 -75 -8 -75 24 30 54 "RESET OUT" "3" 0x00000100) Pad(-119 -75 -134 -75 24 30 54 "VO" "4" 0x00000100) Pad(-119 -37 -134 -37 24 30 54 "GND" "5" 0x00000100) Pad(-119 0 -134 0 24 30 54 "VIN" "6" 0x00000100) ElementLine (0 22 0 34 10) ElementLine (0 34 -132 34 10) ElementLine (-132 34 -132 22 10) ElementLine (0 -96 0 -108 10) ElementLine (0 -108 -132 -108 10) ElementLine (-132 -108 -132 -96 10) ElementLine (-13 24 -119 24 10) ) Element(0x00000000 "SMD 0805" "C5" "" 1495 1315 -225 -30 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-125 35 35 35 10) ElementLine (-125 -35 -125 35 10) ElementLine (35 -35 -125 -35 10) ElementLine (35 35 35 -35 10) ) Element(0x00000010 "SMD 0805" "C11" "" 2270 1420 -260 -30 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-125 35 35 35 10) ElementLine (-125 -35 -125 35 10) ElementLine (35 -35 -125 -35 10) ElementLine (35 35 35 -35 10) ) Element(0x00000000 "SMD Cap" "C9" "" 2030 1185 -145 -40 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x20200001) Pin(200 0 80 30 110 35 "2" "2" 0x02020001) ElementLine (0 45 0 50 10) ElementLine (0 50 200 50 10) ElementLine (200 50 200 45 10) ElementLine (200 -45 200 -50 10) ElementLine (200 -50 0 -50 10) ElementLine (0 -50 0 -45 10) ) Element(0x00000000 "R 0.25W" "R7" "100" 1655 2065 150 -30 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x02000001) Pin(400 0 60 30 90 28 "2" "2" 0x02020001) ElementLine (100 -50 300 -50 10) ElementLine (300 -50 300 50 10) ElementLine (300 50 100 50 10) ElementLine (100 50 100 -50 10) ElementLine (40 0 100 0 10) ElementLine (300 0 360 0 10) ) Element(0x00000000 "SMD Cap" "C8" "" 2030 1075 65 -124 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x20200001) Pin(200 0 80 30 110 35 "2" "2" 0x02020001) ElementLine (-50 -50 -50 50 10) ElementLine (-50 50 250 50 10) ElementLine (250 50 250 -50 10) ElementLine (250 -50 -50 -50 10) ) Element(0x00000000 "SMD Cap" "C7" "" 1530 1075 -370 -144 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x20200001) Pin(-200 0 80 30 110 35 "2" "2" 0x10100001) ElementLine (50 50 50 -50 10) ElementLine (50 -50 -250 -50 10) ElementLine (-250 -50 -250 50 10) ElementLine (-250 50 50 50 10) ) Element(0x00000000 "SMD Cap" "C2" "" 1945 1845 65 -19 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x02000101) Pin(-200 0 80 30 110 35 "2" "2" 0x02000001) ElementLine (50 50 50 -50 10) ElementLine (50 -50 -250 -50 10) ElementLine (-250 -50 -250 50 10) ElementLine (-250 50 50 50 10) ) Element(0x00000000 "SMD Cap" "C6" "" 1530 1185 -335 -30 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x20200001) Pin(-200 0 80 30 110 35 "2" "2" 0x10100001) ElementLine (0 -45 0 -50 10) ElementLine (0 -50 -200 -50 10) ElementLine (-200 -50 -200 -45 10) ElementLine (-200 45 -200 50 10) ElementLine (-200 50 0 50 10) ElementLine (0 50 0 45 10) ) Element(0x00000000 "SMD Cap" "C1" "" 1490 1950 -40 71 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000101) Pin(0 -200 80 30 110 35 "2" "2" 0x02000001) ElementLine (-50 50 50 50 10) ElementLine (50 50 50 -250 10) ElementLine (50 -250 -50 -250 10) ElementLine (-50 -250 -50 50 10) ) Element(0x00000000 "R 0.25W" "R6" "100" 2375 1680 65 115 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x02000101) Pin(0 400 60 30 90 28 "2" "2" 0x02000001) ElementLine (50 100 50 300 10) ElementLine (50 300 -50 300 10) ElementLine (-50 300 -50 100 10) ElementLine (-50 100 50 100 10) ElementLine (0 40 0 100 10) ElementLine (0 300 0 360 10) ) Element(0x00000000 "R 0.25W" "R8" "100" 2270 1680 -30 245 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x02000101) Pin(0 400 60 30 90 28 "2" "2" 0x02000001) ElementLine (50 100 50 300 10) ElementLine (50 300 -50 300 10) ElementLine (-50 300 -50 100 10) ElementLine (-50 100 50 100 10) ElementLine (0 40 0 100 10) ElementLine (0 300 0 360 10) ) Element(0x00000000 "R 0.25W" "R5" "100" 1375 1750 -170 175 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 400 60 30 90 28 "2" "2" 0x00000001) ElementLine (50 100 50 300 10) ElementLine (50 300 -50 300 10) ElementLine (-50 300 -50 100 10) ElementLine (-50 100 50 100 10) ElementLine (0 40 0 100 10) ElementLine (0 300 0 360 10) ) Element(0x00000000 "R 0.25W" "R9" "100" 1655 2170 125 -25 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x02000001) Pin(400 0 60 30 90 28 "2" "2" 0x02020001) ElementLine (100 -50 300 -50 10) ElementLine (300 -50 300 50 10) ElementLine (300 50 100 50 10) ElementLine (100 50 100 -50 10) ElementLine (40 0 100 0 10) ElementLine (300 0 360 0 10) ) Element(0x00000000 "R 0.25W" "R10" "100" 2160 1675 -30 275 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x02000101) Pin(0 400 60 30 90 28 "2" "2" 0x02020001) ElementLine (50 100 50 300 10) ElementLine (50 300 -50 300 10) ElementLine (-50 300 -50 100 10) ElementLine (-50 100 50 100 10) ElementLine (0 40 0 100 10) ElementLine (0 300 0 360 10) ) Element(0x00000000 "ADC12138CIMSA" "U2" "ADC12138" 1630 1690 105 -449 0 150 0x00000000) ( Pad(0 30 0 -30 12 30 42 "CH0" "1" 0x00000100) Pad(26 30 26 -30 12 30 42 "CH1" "2" 0x00000100) Pad(51 30 51 -30 12 30 42 "CH2" "3" 0x00000100) Pad(77 30 77 -30 12 30 42 "CH3" "4" 0x00000100) Pad(102 30 102 -30 12 30 42 "CH4" "5" 0x00000100) Pad(128 30 128 -30 12 30 42 "CH5" "6" 0x00000100) Pad(154 30 154 -30 12 30 42 "CH6" "7" 0x00000100) Pad(179 30 179 -30 12 30 42 "CH7" "8" 0x00000100) Pad(205 30 205 -30 12 30 42 "COM" "9" 0x00000100) Pad(230 30 230 -30 12 30 42 "MuOut1" "10" 0x00000100) Pad(256 30 256 -30 12 30 42 "A/Din1" "11" 0x00000100) Pad(281 30 281 -30 12 30 42 "MuxOut2" "12" 0x00000100) Pad(307 30 307 -30 12 30 42 "A/Din2" "13" 0x00000100) Pad(333 30 333 -30 12 30 42 "DGND" "14" 0x00000100) Pad(333 -350 333 -290 12 30 42 "VA+" "15" 0x00000100) Pad(307 -350 307 -290 12 30 42 "Vref-" "16" 0x00000100) Pad(281 -350 281 -290 12 30 42 "Vref+" "17" 0x00000100) Pad(256 -350 256 -290 12 30 42 "AGND" "18" 0x00000100) Pad(230 -350 230 -290 12 30 42 "PD" "19" 0x00000100) Pad(205 -350 205 -290 12 30 42 "EOC" "20" 0x00000100) Pad(179 -350 179 -290 12 30 42 "~CONV" "21" 0x00000100) Pad(154 -350 154 -290 12 30 42 "~CS" "22" 0x00000100) Pad(128 -350 128 -290 12 30 42 "DO" "23" 0x00000100) Pad(102 -350 102 -290 12 30 42 "DI" "24" 0x00000100) Pad(77 -350 77 -290 12 30 42 "SCLK" "25" 0x00000100) Pad(51 -350 51 -290 12 30 42 "CCLK" "26" 0x00000100) Pad(26 -350 26 -290 12 30 42 "~DOR" "27" 0x00000100) Pad(0 -350 0 -290 12 30 42 "VD+" "28" 0x00000100) ElementLine (0 -70 0 -70 30) ElementLine (-12 -54 -37 -54 10) ElementLine (-37 -54 -37 -266 10) ElementLine (-37 -266 -12 -266 10) ElementLine (343 -54 370 -54 10) ElementLine (370 -54 370 -266 10) ElementLine (370 -266 343 -266 10) ) Element(0x00000000 "R 0.25W" "R4" "100" 1615 1955 130 -35 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(400 0 60 30 90 28 "2" "2" 0x02000001) ElementLine (100 -50 300 -50 10) ElementLine (300 -50 300 50 10) ElementLine (300 50 100 50 10) ElementLine (100 50 100 -50 10) ElementLine (40 0 100 0 10) ElementLine (300 0 360 0 10) ) Element(0x00000010 "SMD 0805" "C4" "" 2070 2390 -25 -180 0 115 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 -90 0 -90 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -125 -35 35 10) ElementLine (35 -125 -35 -125 10) ElementLine (35 35 35 -125 10) ElementLine (-35 35 35 35 10) ) Element(0x00000000 "R 0.25W" "R1" "100" 2180 2625 -35 -145 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x02000001) ElementLine (-50 -100 -50 -300 10) ElementLine (-50 -300 50 -300 10) ElementLine (50 -300 50 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (0 -40 0 -100 10) ElementLine (0 -300 0 -360 10) ) Element(0x00000000 "R 0.25W" "R2" "100" 2400 2625 60 -100 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x02000001) ElementLine (-50 -100 -50 -300 10) ElementLine (-50 -300 50 -300 10) ElementLine (50 -300 50 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (0 -40 0 -100 10) ElementLine (0 -300 0 -360 10) ) Element(0x00000000 "LM13700" "U1" "LM13700" 1955 2285 -475 -130 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "Iabc1" "1" 0x02000101) Pin(-100 0 60 30 90 28 "Dbias1" "2" 0x00000001) Pin(-200 0 60 30 90 28 "In+1" "3" 0x00000001) Pin(-300 0 60 30 90 28 "In-1" "4" 0x00000001) Pin(-400 0 60 30 90 28 "Out1" "5" 0x00000001) Pin(-500 0 60 30 90 28 "V-" "6" 0x00000001) Pin(-600 0 60 30 90 28 "BufIn1" "7" 0x00000001) Pin(-700 0 60 30 90 28 "BufOut1" "8" 0x00000001) Pin(-700 300 60 30 90 28 "BufOut2" "9" 0x00000001) Pin(-600 300 60 30 90 28 "BufIn2" "10" 0x00000001) Pin(-500 300 60 30 90 28 "V+" "11" 0x00000001) Pin(-400 300 60 30 90 28 "Out2" "12" 0x00000001) Pin(-300 300 60 30 90 28 "In-2" "13" 0x00000001) Pin(-200 300 60 30 90 28 "In+2" "14" 0x00000001) Pin(-100 300 60 30 90 28 "Dbias2" "15" 0x00000001) Pin(0 300 60 30 90 28 "Iabc2" "16" 0x00000001) ElementLine (50 -50 -750 -50 10) ElementLine (-750 -50 -750 350 10) ElementLine (-750 350 50 350 10) ElementLine (50 -50 50 100 10) ElementLine (50 200 50 350 10) ElementArc (50 150 50 50 270 180 10) ) Element(0x00000000 "R 0.25W" "R3" "100" 2290 2625 -30 -135 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x02000001) ElementLine (-50 -100 -50 -300 10) ElementLine (-50 -300 50 -300 10) ElementLine (50 -300 50 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (0 -40 0 -100 10) ElementLine (0 -300 0 -360 10) ) Element(0x00000000 "SMD 0805" "C3" "" 2075 2510 -40 140 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 90 0 90 60 30 90 "2" "2" 0x00000100) ElementLine (35 125 35 -35 10) ElementLine (-35 125 35 125 10) ElementLine (-35 -35 -35 125 10) ElementLine (35 -35 -35 -35 10) ) Element(0x00000000 "3 TERM BLOCK" "J2" "DK ED1602-ND" 1695 2925 -590 76 0 150 0x00000000) ( Pin(0 0 110 30 140 48 "1" "1" 0x00000001) Pin(-194 0 110 30 140 48 "2" "2" 0x00000001) Pin(-388 0 110 30 140 48 "3" "3" 0x00000001) ElementLine (-388 160 -388 140 10) ElementLine (-194 160 -194 140 10) ElementLine (0 160 0 140 10) ElementLine (81 -170 101 -170 10) ElementLine (81 -190 81 -170 10) ElementLine (101 -190 81 -190 10) ElementLine (-509 -170 -489 -170 10) ElementLine (-509 -190 -509 -170 10) ElementLine (-489 -190 -509 -190 10) ElementLine (101 -200 101 160 10) ElementLine (-489 -200 101 -200 10) ElementLine (-489 160 -489 -200 10) ElementLine (101 160 -489 160 10) ) Element(0x00000000 "SMD Cap" "C21" "" 2565 1070 -50 61 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(-200 0 80 30 110 35 "2" "2" 0x02020001) ElementLine (50 50 50 -50 10) ElementLine (50 -50 -250 -50 10) ElementLine (-250 -50 -250 50 10) ElementLine (-250 50 50 50 10) ) Element(0x00000000 "SMD 0805" "C20" "" 2665 2375 -115 55 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-125 35 35 35 10) ElementLine (-125 -35 -125 35 10) ElementLine (35 -35 -125 -35 10) ElementLine (35 35 35 -35 10) ) Element(0x00000000 "SMD 0805" "C19" "" 2785 2375 -20 55 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (125 -35 -35 -35 10) ElementLine (125 35 125 -35 10) ElementLine (-35 35 125 35 10) ElementLine (-35 -35 -35 35 10) ) Element(0x00000000 "SMD 0805" "C18" "" 2665 1800 155 -20 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (125 -35 -35 -35 10) ElementLine (125 35 125 -35 10) ElementLine (-35 35 125 35 10) ElementLine (-35 -35 -35 35 10) ) Element(0x00000000 "AMP 745781-4" "J3" "A2100-ND" 820 1610 -125 837 0 150 0x00000000) ( Pin(0 432 80 30 110 42 "1" "1" 0x00000101) Pin(0 324 80 30 110 42 "2" "2" 0x00000001) Pin(0 216 80 30 110 42 "3" "3" 0x00000001) Pin(0 108 80 30 110 42 "4" "4" 0x00000001) Pin(0 0 80 30 110 42 "5" "5" 0x00000001) Pin(-112 378 80 30 110 42 "6" "6" 0x00000001) Pin(-112 270 80 30 110 42 "7" "7" 0x00000001) Pin(-112 162 80 30 110 42 "8" "8" 0x00000001) Pin(-112 54 80 30 110 42 "9" "9" 0x00000001) Pin(-56 -276 120 30 150 120 "MOUNT HOLE" "10" 0x00000009) Pin(-56 708 120 30 150 120 "MOUNT HOLE" "11" 0x00000009) ElementLine (-317 -390 58 -390 10) ElementLine (-317 -138 -317 -390 10) ElementLine (-433 455 -434 -22 10) ElementLine (-317 823 -317 571 10) ElementLine (58 823 -317 823 10) ElementLine (58 -390 58 823 10) ElementArc (-375 -138 58 58 90 90 10) ElementArc (-375 -22 58 58 270 90 10) ElementArc (-375 455 58 58 0 90 10) ElementArc (-375 571 58 58 180 90 10) ) Element(0x00000000 "3 TERM BLOCK" "J1" "DK ED1602-ND" 2285 2925 140 51 0 150 0x00000000) ( Pin(0 0 110 30 140 48 "1" "1" 0x00000001) Pin(-194 0 110 30 140 48 "2" "2" 0x00000001) Pin(-388 0 110 30 140 48 "3" "3" 0x00000001) ElementLine (-388 160 -388 140 10) ElementLine (-194 160 -194 140 10) ElementLine (0 160 0 140 10) ElementLine (81 -170 101 -170 10) ElementLine (81 -190 81 -170 10) ElementLine (101 -190 81 -190 10) ElementLine (-509 -170 -489 -170 10) ElementLine (-509 -190 -509 -170 10) ElementLine (-489 -190 -509 -190 10) ElementLine (101 -200 101 160 10) ElementLine (-489 -200 101 -200 10) ElementLine (-489 160 -489 -200 10) ElementLine (101 160 -489 160 10) ) Element(0x00002000 "OP-AMP" "U7" "LTC1152" 2575 1925 380 200 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "SHDN" "1" 0x02000101) Pin(0 100 60 30 90 28 "-IN" "2" 0x02000001) Pin(0 200 60 30 90 28 "+IN" "3" 0x02000001) Pin(0 300 60 30 90 28 "V-" "4" 0x02020001) Pin(300 300 60 30 90 28 "COMP" "5" 0x02000001) Pin(300 200 60 30 90 28 "OUT" "6" 0x02000001) Pin(300 100 60 30 90 28 "V+" "7" 0x02000001) Pin(300 0 60 30 90 28 "CP" "8" 0x02000001) ElementLine (-50 -50 -50 350 10) ElementLine (-50 350 350 350 10) ElementLine (350 350 350 -50 10) ElementLine (-50 -50 100 -50 10) ElementLine (200 -50 350 -50 10) ElementArc (150 -50 50 50 0 180 10) ) Element(0x00000000 "R 0.5W" "R12" "" 1035 1935 -205 700 0 150 0x00000000) ( Pin(0 0 85 30 115 48 "1" "1" 0x00000101) Pin(0 800 90 30 120 48 "2" "2" 0x00000001) ElementLine (0 60 0 115 10) ElementLine (115 115 -115 115 10) ElementLine (-115 115 -115 685 10) ElementLine (-115 685 115 685 10) ElementLine (115 685 115 115 10) ElementLine (0 685 0 750 10) ) Rat(1187 1553 0 1061 1553 0 0x00000010) Rat(1045 1820 1 1175 1780 0 0x00000010) Rat(1330 1185 1 1405 1315 0 0x00000010) Rat(2075 1455 1 2180 1420 0 0x00000010) Rat(2180 1420 0 2185 1310 0 0x00000010) Rat(2228 1547 0 2354 1547 0 0x00000010) Layer(1 "solder") ( Line(1945 1015 1945 1260 15 30 0x00000000) Line(1615 1960 1555 1960 10 30 0x00000000) Line(1185 2230 1185 2655 15 30 0x00000000) Line(705 795 890 980 15 30 0x00000000) Line(1405 955 1485 875 15 30 0x00000000) Line(1005 695 1140 560 15 30 0x00000000) Line(1005 795 1135 665 15 30 0x00000000) Line(705 895 705 1075 15 30 0x00000000) Line(1125 1435 1005 1315 15 30 0x00000000) Line(1005 1235 1065 1175 15 30 0x00000000) Line(1010 980 1105 1075 15 30 0x00000000) Line(1345 955 1405 955 15 30 0x00000000) Line(1065 1175 1125 1175 15 30 0x00000000) Line(1190 665 1295 560 15 30 0x00000000) Line(1375 1750 1375 2040 15 30 0x00000000) Line(1605 2435 1605 2660 10 30 0x00000000) Line(1655 2285 1520 2420 15 30 0x00000000) Line(1375 2040 1185 2230 15 30 0x00000000) Line(1135 665 1190 665 15 30 0x00000000) Line(1105 1075 970 1210 15 30 0x00000000) Line(890 980 1010 980 15 30 0x00000000) Line(2460 965 1995 965 15 30 0x00000000) Line(1855 2285 1855 2585 15 30 0x00000000) Line(970 1210 970 1568 15 30 0x00000000) Line(1520 2420 1520 2495 15 30 0x00000000) Line(1755 2285 1605 2435 10 30 0x00000000) Line(1995 965 1945 1015 15 30 0x00000000) Line(1005 1315 1005 1235 15 30 0x00000000) Line(2565 1070 2460 965 15 30 0x00000000) Line(1945 1260 1985 1300 15 30 0x00000000) Line(1125 1175 1345 955 15 30 0x00000000) Line(2400 2625 2290 2625 10 30 0x00000000) Line(970 1568 820 1718 15 30 0x00000000) Line(1140 560 1195 560 15 30 0x00000000) Line(1555 1960 1555 2285 10 30 0x00000000) Text(525 2805 0 120 "LED (BACK)" 0x00000080) ) Layer(2 "GND-solder") ( Line(820 2045 920 2145 35 30 0x00000000) Line(930 1820 930 1932 30 30 0x00000000) Line(1280 1585 1045 1820 30 30 0x00000000) Line(1045 1820 930 1820 30 30 0x00000000) Line(930 1932 820 2042 30 30 0x00000000) Line(2155 815 2120 780 40 30 0x00000000) Line(1675 780 1595 860 40 30 0x00000000) Line(2630 850 2535 755 40 30 0x00000000) Line(2120 780 1675 780 40 30 0x00000000) Line(2215 755 2155 815 40 30 0x00000000) Line(2535 755 2215 755 40 30 0x00000000) Polygon(0x00000010) ( (1125 2635) (1125 2235) (1330 2030) (1330 1705) (1430 1705) (1430 1635) (1400 1635) (1400 1560) (1240 1720) (1115 1845) (1115 2010) (1030 2010) (895 2145) (895 2635) ) Polygon(0x00000010) ( (1430 1885) (1570 1885) (1670 1885) (1670 2000) (1590 2000) (1590 2235) (1925 2235) (1925 2525) (2645 2525) (2645 1250) (2405 1250) (2405 1340) (2370 1375) (2320 1375) (2285 1340) (2285 1305) (2300 1290) (2300 1290) (2300 1135) (2430 1135) (2430 1005) (2090 1005) (2090 1280) (2000 1370) (2000 1515) (1370 1515) (1370 1640) (1430 1640) ) Polygon(0x00000010) ( (2635 1250) (2635 1615) (2895 1615) (2895 1785) (2750 1785) (2750 2520) (2975 2520) (2975 1250) ) ) Layer(3 "Vcc-solder") ( Line(1455 2780 2695 2780 35 30 0x00000000) Line(1035 2735 1445 2735 45 30 0x00000000) Line(2340 1195 2815 1195 30 30 0x00000000) Line(2815 1195 2815 900 30 30 0x00000000) Line(1530 1180 1530 1435 30 30 0x00000000) Line(1070 1265 1525 1265 35 30 0x00000000) Line(1145 765 1395 765 35 30 0x00000000) Line(1010 900 1145 765 35 30 0x00000000) Line(1395 765 1595 565 35 30 0x00000000) Line(2155 615 2110 660 40 30 0x00000000) Line(1695 660 1595 560 40 30 0x00000000) Line(2330 550 2155 615 45 30 0x00000000) Line(2110 660 1695 660 40 30 0x00000000) Line(2340 1315 2340 1195 30 30 0x00000000) Line(2695 1700 2810 1700 30 30 0x00000000) Line(1455 2585 1355 2285 45 30 0x00000000) Line(1455 2590 1455 2780 35 30 0x00000000) Line(2695 2780 2695 1700 30 30 0x00000000) ) Layer(4 "component") ( Line(2675 2125 2575 2025 15 30 0x00000000) Line(2120 2285 2180 2225 15 30 0x00000000) Line(2055 720 2055 895 10 30 0x00000000) Line(1835 1285 1835 1340 10 30 0x00000000) Line(1860 1261 1835 1285 10 30 0x00000000) Line(1860 1035 1860 1261 10 30 0x00000000) Line(2090 655 2090 910 10 30 0x00000000) Line(1995 560 2090 655 10 30 0x00000000) Line(1809 1263 1809 1340 10 30 0x00000000) Line(1829 1244 1809 1263 10 30 0x00000000) Line(1829 1024 1829 1244 10 30 0x00000000) Line(1991 959 1893 959 10 30 0x00000000) Line(2235 1500 2235 1475 15 30 0x00000000) Line(2055 895 1991 959 10 30 0x00000000) Line(2075 2515 2075 2415 30 30 0x00000000) Line(1490 1950 1505 1950 10 30 0x00000000) Line(2075 2415 1520 2415 30 30 0x00000000) Line(2175 2145 2205 2145 15 30 0x00000000) Line(1655 1800 1656 1720 10 30 0x00000000) Line(1490 1950 1490 2150 15 30 0x00000000) Line(1745 1845 1635 1955 15 30 0x00000000) Line(1775 1780 1707 1780 10 30 0x00000000) Line(1655 2170 1945 2170 15 30 0x00000000) Line(1950 2285 2070 2285 15 30 0x00000000) Line(1655 2170 1635 2150 15 30 0x00000000) Line(1655 2065 1835 1885 15 30 0x00000000) Line(2015 1955 2255 1955 15 30 0x00000000) Line(2180 2625 2290 2625 15 30 0x00000000) Line(2075 2615 1985 2615 15 30 0x00000000) Line(2125 2585 2290 2420 10 30 0x00000000) Line(2205 2145 2270 2080 15 30 0x00000000) Line(1315 2225 1255 2285 15 30 0x00000000) Line(1855 2285 1795 2225 15 30 0x00000000) Line(2125 2615 2125 2585 10 30 0x00000000) Line(2495 2530 2400 2625 15 30 0x00000000) Line(1795 2225 1315 2225 15 30 0x00000000) Line(1520 2415 1455 2285 30 30 0x00000000) Line(2440 2110 2345 2205 15 30 0x00000000) Line(1490 1750 1600 1750 10 30 0x00000000) Line(2075 2615 2125 2615 10 30 0x00000000) Line(2875 1800 2755 1800 15 30 0x00000000) Line(1635 2150 1375 2150 15 30 0x00000000) Line(1835 1840 1775 1780 10 30 0x00000000) Line(2000 2225 2095 2225 15 30 0x00000000) Line(1732 1750 1732 1720 10 30 0x00000000) Line(1911 1720 1937 1720 10 30 0x00000000) Line(1985 1300 1937 1300 10 30 0x00000000) Line(2015 985 1909 985 10 30 0x00000000) Line(1860 1720 1886 1720 10 30 0x00000000) Line(1745 1845 1681 1845 10 30 0x00000000) Line(1950 1840 1835 1840 15 30 0x00000000) Line(1707 1780 1707 1720 10 30 0x00000000) Line(1681 1845 1681 1720 10 30 0x00000000) Line(1122 2585 1122 2740 15 30 0x00000000) Line(2070 2285 2120 2285 15 30 0x00000000) Line(1490 1750 1375 1750 15 30 0x00000000) Line(1950 1840 2015 1955 15 30 0x00000000) Line(1635 1955 1615 1955 10 30 0x00000000) Line(2160 1750 1732 1750 10 30 0x00000000) Line(2160 1675 2440 1955 15 30 0x00000000) Line(2160 1680 2160 1750 10 30 0x00000000) Line(1945 2170 2000 2225 15 30 0x00000000) Line(1505 1950 1655 1800 10 30 0x00000000) Line(1190 1595 1190 1675 15 30 0x00000000) Line(1190 1510 1190 1435 15 30 0x00000000) Line(1190 1435 1130 1435 15 30 0x00000000) Line(1695 860 1695 1276 10 30 0x00000000) Line(1795 860 1732 923 10 30 0x00000000) Line(1797 1015 1797 1225 10 30 0x00000000) Line(1995 860 1927 927 10 30 0x00000000) Line(1495 560 1646 711 10 30 0x00000000) Line(1657 973 1657 1279 10 30 0x00000000) Line(1657 1279 1681 1303 10 30 0x00000000) Line(1681 1303 1681 1340 10 30 0x00000000) Line(1927 927 1885 927 10 30 0x00000000) Line(1895 860 1758 997 10 30 0x00000000) Line(1732 923 1732 1340 10 30 0x00000000) Line(1893 959 1829 1024 10 30 0x00000000) Line(1646 962 1657 973 10 30 0x00000000) Line(1797 1225 1784 1239 10 30 0x00000000) Line(1646 711 1646 962 10 30 0x00000000) Line(1895 560 2055 720 10 30 0x00000000) Line(1885 927 1797 1015 10 30 0x00000000) Line(2090 910 2015 985 10 30 0x00000000) Line(1985 2615 1955 2585 15 30 0x00000000) Line(1758 997 1758 1340 10 30 0x00000000) Line(1707 1288 1707 1340 10 30 0x00000000) Line(2235 1475 2275 1435 15 30 0x00000000) Line(1909 985 1860 1035 10 30 0x00000000) Line(1005 1195 1005 895 35 30 0x00000000) Line(1060 1255 1005 1195 35 30 0x00000000) Line(585 2350 585 1787 35 30 0x00000000) Line(705 595 875 765 15 30 0x00000000) Line(795 785 795 1155 15 30 0x00000000) Line(2555 475 1480 475 15 30 0x00000000) Line(2630 550 2555 475 15 30 0x00000000) Line(1455 2285 1290 2450 35 30 0x00000000) Line(875 765 875 1165 15 30 0x00000000) Line(705 695 795 785 15 30 0x00000000) Line(980 1774 820 1934 15 30 0x00000000) Line(705 1075 635 1145 15 30 0x00000000) Line(2290 2420 2290 2225 10 30 0x00000000) Line(1480 475 1395 560 15 30 0x00000000) Line(635 1425 820 1610 15 30 0x00000000) Line(875 1165 980 1270 15 30 0x00000000) Line(2095 2225 2175 2145 15 30 0x00000000) Line(1290 2450 685 2450 35 30 0x00000000) Line(1600 1750 1630 1720 10 30 0x00000000) Line(1897 2827 1897 2925 15 30 0x00000000) Line(915 1731 820 1826 15 30 0x00000000) Line(915 1275 915 1731 15 30 0x00000000) Line(1755 2585 2091 2925 15 30 0x00000000) Line(1501 2764 1501 2925 15 30 0x00000000) Line(1655 2585 1897 2827 15 30 0x00000000) Line(1182 2525 1122 2585 15 30 0x00000000) Line(1520 2495 1490 2525 15 30 0x00000000) Line(1490 2525 1182 2525 15 30 0x00000000) Line(1605 2660 1501 2764 15 30 0x00000000) Line(1185 2655 1485 2655 15 30 0x00000000) Line(1485 2655 1555 2585 15 30 0x00000000) Line(1122 2740 1307 2925 15 30 0x00000000) Line(2255 1955 2375 2075 15 30 0x00000000) Line(2440 1955 2440 2110 15 30 0x00000000) Line(2345 2865 2285 2925 15 30 0x00000000) Line(2345 2205 2345 2865 15 30 0x00000000) Line(2785 2215 2785 2375 15 30 0x00000000) Line(795 1155 915 1275 15 30 0x00000000) Line(2875 2225 2875 2375 15 30 0x00000000) Line(1784 1239 1784 1340 10 30 0x00000000) Line(2575 2125 2495 2215 15 30 0x00000000) Line(2665 2375 2785 2375 15 30 0x00000000) Line(2575 2225 2575 2375 15 30 0x00000000) Line(2495 2215 2495 2530 15 30 0x00000000) Line(2875 1925 2875 1800 15 30 0x00000000) Line(2875 2125 2785 2215 15 30 0x00000000) Line(1937 1300 1937 1340 10 30 0x00000000) Line(2875 2125 2675 2125 15 30 0x00000000) Line(635 1145 635 1425 15 30 0x00000000) Line(1835 1885 1835 1840 15 30 0x00000000) Line(1695 1276 1707 1288 10 30 0x00000000) Line(685 2450 585 2350 35 30 0x00000000) Line(2975 1480 2565 1070 15 30 0x00000000) Line(2975 2025 2975 1480 15 30 0x00000000) Line(2875 2125 2975 2025 15 30 0x00000000) Line(980 1270 980 1774 15 30 0x00000000) Line(585 1787 708 1664 35 30 0x00000000) Text(2515 2705 0 140 "LED rev 1" 0x00000000) ) Layer(5 "GND-component") ( Line(1505 950 1595 860 30 30 0x00000000) Line(1440 950 1505 950 30 30 0x00000000) Line(2220 1545 2155 1545 20 30 0x00000000) Line(2515 1350 2515 1415 30 30 0x00000000) Line(1200 1350 1230 1350 35 30 0x00000000) Line(1860 1395 1860 1430 10 30 0x00000000) Line(1965 1495 1965 1635 25 30 0x00000000) Line(1855 1495 1965 1495 25 30 0x00000000) Line(1835 1665 1835 1625 10 30 0x00000000) Line(1885 1395 1885 1460 10 30 0x00000000) Line(1965 1660 1965 1635 10 30 0x00000000) Line(1810 1665 1810 1630 10 30 0x00000000) Line(1785 1660 1785 1625 10 30 0x00000000) Line(1760 1625 1760 1660 10 30 0x00000000) Line(1280 1580 1280 1490 25 30 0x00000000) Line(1195 1555 1280 1555 20 30 0x00000000) Line(2545 1320 2515 1350 30 30 0x00000000) Line(1005 595 1085 595 30 30 0x00000000) Line(1085 595 1085 955 30 30 0x00000000) Line(1085 955 1145 1015 30 30 0x00000000) Line(1145 1015 1245 1015 30 30 0x00000000) Arc(1445 995 45 45 30 30 270 90 0x00000000) Polygon(0x00000010) ( (2250 1535) (2270 1535) (2270 1485) (2325 1485) (2325 1535) (2345 1535) (2345 1560) (2325 1560) (2325 1630) (2160 1630) (2160 1610) (2270 1610) (2270 1560) (2250 1560) ) Polygon(0x00000010) ( (1995 1470) (1880 1470) (1880 1450) (2015 1450) (2015 1365) (2160 1365) (2160 1330) (2195 1330) (2195 1425) (2160 1460) (2160 1630) (2070 1630) (2070 1720) (1995 1720) ) Polygon(0x00000010) ( (1370 1635) (1930 1635) (1930 1525) (1370 1525) ) Polygon(0x00000010) ( (1865 1510) (1225 1510) (1225 995) (1415 995) (1415 1255) (1365 1255) (1365 1365) (1605 1365) (1605 1415) (1865 1415) ) Polygon(0x00000000) ( (1360 1295) (1390 1295) (1390 1335) (1360 1335) ) Polygon(0x00000010) ( (1070 1565) (1090 1565) (1090 1810) (1150 1810) (1150 1765) (1125 1740) (1125 1640) (1145 1640) (1145 1565) (1165 1565) (1165 1540) (1145 1540) (1145 1485) (1090 1485) (1090 1540) (1070 1540) ) ) Layer(6 "Vcc-component") ( Line(1045 1870 1045 1935 25 30 0x00000000) Line(708 2155 708 1988 40 30 0x00000000) Line(2575 1925 2490 2010 25 30 0x00000000) Line(1630 1340 1630 1250 10 30 0x00000000) Line(1910 1430 1965 1430 10 30 0x00000000) Line(1910 1395 1910 1430 10 30 0x00000000) Line(1200 2355 1000 2155 35 30 0x00000000) Line(2575 1925 2485 1835 25 30 0x00000000) Line(1070 1265 1070 1330 25 30 0x00000000) Line(2360 1500 2360 1315 25 30 0x00000000) Line(2445 1250 2445 1675 30 30 0x00000000) Line(2100 1250 2445 1250 30 30 0x00000000) Line(1910 1340 1910 1250 10 30 0x00000000) Line(1965 1430 1965 1400 10 30 0x00000000) Line(2375 1585 2440 1585 25 30 0x00000000) Line(2665 1835 2575 1925 30 30 0x00000000) Line(1120 1875 1190 1875 20 30 0x00000000) Line(1045 1595 1045 1875 20 30 0x00000000) Line(1045 1875 1120 1875 20 30 0x00000000) Line(2875 2025 2675 2025 25 30 0x00000000) Line(1285 2355 1200 2355 35 30 0x00000000) Line(1355 2285 1285 2355 35 30 0x00000000) Line(2675 2025 2575 1925 25 30 0x00000000) Line(1000 2155 708 2155 40 30 0x00000000) Line(1060 1510 1060 1375 25 30 0x00000000) Line(1190 1875 1280 1785 20 30 0x00000000) Line(2490 2010 2490 2135 25 30 0x00000000) Line(2450 1510 2495 1510 35 30 0x00000000) Line(2485 1835 2485 1680 25 30 0x00000000) Line(2485 1680 2375 1680 25 30 0x00000000) Line(2665 1800 2665 1835 30 30 0x00000000) Line(2375 1680 2270 1680 30 30 0x00000000) Line(2490 2135 2400 2225 25 30 0x00000000) Polygon(0x00000000) ( (1500 1255) (1530 1255) (1530 1295) (1500 1295) ) Polygon(0x00000010) ( (1445 1255) (1635 1255) (1635 995) (1635 995) (1635 995) (1635 995) (1635 995) (1445 995) ) Polygon(0x00000010) ( (1885 1260) (2120 1260) (2120 1005) (1921 1003) (1885 1039) ) Polygon(0x00000000) ( (2080 1250) (2110 1250) (2110 1295) (2080 1295) ) ) Layer(7 "unused") ( ) Layer(8 "unused") ( Line(3135 3225 345 3225 35 30 0x00000000) Line(3135 210 3135 3225 35 30 0x00000000) Line(345 210 3135 210 35 30 0x00000000) Line(345 3225 345 210 35 30 0x00000000) ) Layer(9 "silk") ( ) Layer(10 "silk") ( Text(2210 3120 0 115 "ANODE" 0x00000400) Text(1855 3125 0 115 "-Y" 0x00000400) Text(2045 3130 0 115 "+Y" 0x00000400) Text(1255 3125 0 115 "-X" 0x00000400) Text(1455 3125 0 115 "+X" 0x00000400) Text(525 295 0 280 "FLARE GENESIS" 0x00000400) Text(435 2815 0 165 "LED Interface" 0x00000400) Text(1885 285 0 295 "harry eaton" 0x00000400) ) NetList() ( Net("AGND" "(unknown)") ( Connect("C8-2") Connect("C9-2") Connect("C10-2") Connect("C11-2") Connect("C12-2") Connect("C13-2") Connect("C20-2") Connect("C21-2") Connect("R7-2") Connect("R9-2") Connect("R10-2") Connect("U2-6") Connect("U2-7") Connect("U2-8") Connect("U2-9") Connect("U2-18") Connect("U3-2") Connect("U3-5") Connect("U7-4") ) Net("DGND" "(unknown)") ( Connect("C5-2") Connect("C6-2") Connect("C7-2") Connect("C14-2") Connect("C15-2") Connect("C16-2") Connect("C17-1") Connect("J3-1") Connect("U2-14") Connect("U2-19") Connect("U4-2") Connect("U4-5") Connect("U5-5") Connect("U6-4") Connect("X1-2") ) Net("Minus12V" "(unknown)") ( Connect("C3-1") Connect("C4-1") Connect("J3-9") Connect("U1-6") ) Net("Plus12V" "(unknown)") ( Connect("J3-6") Connect("R11-1") Connect("R12-2") Connect("U1-7") Connect("U1-11") ) Net("S00001" "(unknown)") ( Connect("C8-1") Connect("C9-1") Connect("C10-1") Connect("C13-1") Connect("C18-1") Connect("R2-2") Connect("R6-1") Connect("R8-1") Connect("U2-15") Connect("U2-17") Connect("U3-4") Connect("U7-1") Connect("U7-7") ) Net("SIG10" "Skinny") ( Connect("U1-2") Connect("U1-8") Connect("U1-15") ) Net("SIG41" "Power") ( Connect("C3-2") Connect("R3-2") Connect("U1-16") ) Net("SIG43" "(unknown)") ( Connect("C4-2") Connect("R1-2") Connect("U1-1") ) Net("SIG49" "(unknown)") ( Connect("C2-1") Connect("R4-2") Connect("R6-2") Connect("R7-1") Connect("U2-4") ) Net("SIG50" "(unknown)") ( Connect("C2-2") Connect("R4-1") Connect("U1-5") Connect("U2-3") ) Net("SIG51" "(unknown)") ( Connect("C1-1") Connect("R5-2") Connect("R8-2") Connect("R9-1") Connect("U2-2") ) Net("SIG52" "(unknown)") ( Connect("C1-2") Connect("R5-1") Connect("U1-12") Connect("U2-1") ) Net("SIG87" "(unknown)") ( Connect("U2-10") Connect("U2-11") ) Net("SIG88" "(unknown)") ( Connect("U2-12") Connect("U2-13") ) Net("SIG91" "(unknown)") ( Connect("C19-1") Connect("C20-1") Connect("C21-1") Connect("U2-16") Connect("U7-2") Connect("U7-6") ) Net("SIG100" "(unknown)") ( Connect("U2-21") Connect("U5-11") ) Net("SIG101" "(unknown)") ( Connect("U2-20") Connect("U5-10") ) Net("SIG124" "(unknown)") ( Connect("J2-3") Connect("U1-4") ) Net("SIG125" "(unknown)") ( Connect("J2-2") Connect("U1-3") ) Net("SIG127" "(unknown)") ( Connect("J1-2") Connect("U1-14") ) Net("SIG139" "(unknown)") ( Connect("C11-1") Connect("U3-1") ) Net("SIG146" "(unknown)") ( Connect("C12-1") Connect("R11-2") Connect("U3-6") ) Net("SIG150" "(unknown)") ( Connect("C15-1") Connect("R12-1") Connect("U4-6") ) Net("SIG155" "(unknown)") ( Connect("C14-1") Connect("U4-1") ) Net("SIG191" "(unknown)") ( Connect("U5-16") Connect("X1-3") ) Net("SIG241" "(unknown)") ( Connect("U2-26") Connect("U5-15") ) Net("SIG252" "(unknown)") ( Connect("R13-1") Connect("U4-3") Connect("U5-4") ) Net("SIG258" "(unknown)") ( Connect("U5-18") Connect("U6-3") ) Net("SIG259" "(unknown)") ( Connect("U5-17") Connect("U6-2") ) Net("SIG285" "(unknown)") ( Connect("J3-4") Connect("R14-1") Connect("U6-7") ) Net("SIG286" "(unknown)") ( Connect("J3-5") Connect("R14-2") Connect("U6-8") ) Net("SIG291" "(unknown)") ( Connect("U2-22") Connect("U5-9") ) Net("SIG292" "(unknown)") ( Connect("U2-23") Connect("U5-8") ) Net("SIG293" "(unknown)") ( Connect("U2-24") Connect("U5-7") ) Net("SIG294" "(unknown)") ( Connect("U2-25") Connect("U5-6") ) Net("SIG296" "(unknown)") ( Connect("J3-2") Connect("U6-5") ) Net("SIG297" "(unknown)") ( Connect("J3-3") Connect("U6-6") ) Net("SIG310" "(unknown)") ( Connect("J1-1") Connect("R10-1") Connect("U2-5") ) Net("SIG311" "(unknown)") ( Connect("J1-3") Connect("U1-13") ) Net("SIG321" "(unknown)") ( Connect("C5-1") Connect("C6-1") Connect("C7-1") Connect("C16-1") Connect("C17-2") Connect("R13-2") Connect("U2-28") Connect("U4-4") Connect("U5-14") Connect("U6-1") Connect("X1-4") ) Net("SIG338" "(unknown)") ( Connect("R1-1") Connect("R2-1") Connect("R3-1") Connect("U7-3") ) Net("SIG341" "(unknown)") ( Connect("C18-2") Connect("U7-8") ) Net("SIG343" "(unknown)") ( Connect("C19-2") Connect("U7-5") ) ) pcb-20110918/example/LED.pcb0000755000012400000240000011652511520437026012173 00000000000000# release: pcb 1.7.0.ALPHA PCB("" 3500 3300) Grid(5 0 0 0) Cursor(15 270 4) Flags(0x000001d0) Groups("4,5,6,c:1,2,3,s:8:7:") Styles("Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20") Symbol(' ' 18) ( ) Symbol('!' 12) ( SymbolLine(0 35 0 40 8) SymbolLine(0 0 0 25 8) ) Symbol('"' 12) ( SymbolLine(0 0 0 10 8) SymbolLine(10 0 10 10 8) ) Symbol('#' 12) ( SymbolLine(0 25 20 25 8) SymbolLine(0 15 20 15 8) SymbolLine(15 10 15 30 8) SymbolLine(5 10 5 30 8) ) Symbol('$' 12) ( SymbolLine(15 5 20 10 8) SymbolLine(5 5 15 5 8) SymbolLine(0 10 5 5 8) SymbolLine(0 10 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 30 8) SymbolLine(15 35 20 30 8) SymbolLine(5 35 15 35 8) SymbolLine(0 30 5 35 8) SymbolLine(10 0 10 40 8) ) Symbol('%' 12) ( SymbolLine(0 5 0 10 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 10 0 8) SymbolLine(10 0 15 5 8) SymbolLine(15 5 15 10 8) SymbolLine(10 15 15 10 8) SymbolLine(5 15 10 15 8) SymbolLine(0 10 5 15 8) SymbolLine(0 40 40 0 8) SymbolLine(35 40 40 35 8) SymbolLine(40 30 40 35 8) SymbolLine(35 25 40 30 8) SymbolLine(30 25 35 25 8) SymbolLine(25 30 30 25 8) SymbolLine(25 30 25 35 8) SymbolLine(25 35 30 40 8) SymbolLine(30 40 35 40 8) ) Symbol('&' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 15 8) SymbolLine(0 5 5 0 8) SymbolLine(0 25 15 10 8) SymbolLine(5 40 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(0 15 25 40 8) SymbolLine(5 0 10 0 8) SymbolLine(10 0 15 5 8) SymbolLine(15 5 15 10 8) SymbolLine(0 25 0 35 8) ) Symbol(''' 12) ( SymbolLine(0 10 10 0 8) ) Symbol('(' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) ) Symbol(')' 12) ( SymbolLine(0 0 5 5 8) SymbolLine(5 5 5 35 8) SymbolLine(0 40 5 35 8) ) Symbol('*' 12) ( SymbolLine(0 10 20 30 8) SymbolLine(0 30 20 10 8) SymbolLine(0 20 20 20 8) SymbolLine(10 10 10 30 8) ) Symbol('+' 12) ( SymbolLine(0 20 20 20 8) SymbolLine(10 10 10 30 8) ) Symbol(',' 12) ( SymbolLine(0 50 10 40 8) ) Symbol('-' 12) ( SymbolLine(0 20 20 20 8) ) Symbol('.' 12) ( SymbolLine(0 40 5 40 8) ) Symbol('/' 12) ( SymbolLine(0 35 30 5 8) ) Symbol('0' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 30 20 10 8) ) Symbol('1' 12) ( SymbolLine(5 40 15 40 8) SymbolLine(10 0 10 40 8) SymbolLine(0 10 10 0 8) ) Symbol('2' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(0 40 25 15 8) SymbolLine(0 40 25 40 8) ) Symbol('3' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(5 20 20 20 8) ) Symbol('4' 12) ( SymbolLine(0 20 20 0 8) SymbolLine(0 20 25 20 8) SymbolLine(20 0 20 40 8) ) Symbol('5' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(0 0 0 20 8) SymbolLine(0 20 5 15 8) SymbolLine(5 15 15 15 8) SymbolLine(15 15 20 20 8) SymbolLine(20 20 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('6' 12) ( SymbolLine(15 0 20 5 8) SymbolLine(5 0 15 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(15 20 20 25 8) SymbolLine(0 20 15 20 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 25 20 35 8) ) Symbol('7' 12) ( SymbolLine(0 40 25 15 8) SymbolLine(25 0 25 15 8) SymbolLine(0 0 25 0 8) ) Symbol('8' 12) ( SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 15 5 20 8) SymbolLine(0 5 0 15 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 15 8) SymbolLine(15 20 20 15 8) ) Symbol('9' 12) ( SymbolLine(0 40 20 20 8) SymbolLine(20 5 20 20 8) SymbolLine(15 0 20 5 8) SymbolLine(5 0 15 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 20 20 8) ) Symbol(':' 12) ( SymbolLine(0 15 5 15 8) SymbolLine(0 25 5 25 8) ) Symbol(';' 12) ( SymbolLine(0 40 10 30 8) SymbolLine(10 15 10 20 8) ) Symbol('<' 12) ( SymbolLine(0 20 10 10 8) SymbolLine(0 20 10 30 8) ) Symbol('=' 12) ( SymbolLine(0 15 20 15 8) SymbolLine(0 25 20 25 8) ) Symbol('>' 12) ( SymbolLine(0 10 10 20 8) SymbolLine(0 30 10 20 8) ) Symbol('?' 12) ( SymbolLine(10 20 10 25 8) SymbolLine(10 35 10 40 8) SymbolLine(0 5 0 10 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 10 8) SymbolLine(10 20 20 10 8) ) Symbol('A' 12) ( SymbolLine(0 5 0 40 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 40 8) SymbolLine(0 20 25 20 8) ) Symbol('B' 12) ( SymbolLine(0 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(25 25 25 35 8) SymbolLine(20 20 25 25 8) SymbolLine(5 20 20 20 8) SymbolLine(5 0 5 40 8) SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) ) Symbol('C' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 20 0 8) ) Symbol('D' 12) ( SymbolLine(5 0 5 40 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(0 40 20 40 8) SymbolLine(0 0 20 0 8) ) Symbol('E' 12) ( SymbolLine(0 20 15 20 8) SymbolLine(0 40 20 40 8) SymbolLine(0 0 0 40 8) SymbolLine(0 0 20 0 8) ) Symbol('F' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 20 0 8) SymbolLine(0 20 15 20 8) ) Symbol('G' 12) ( SymbolLine(20 0 25 5 8) SymbolLine(5 0 20 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(25 25 25 35 8) SymbolLine(20 20 25 25 8) SymbolLine(10 20 20 20 8) ) Symbol('H' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(25 0 25 40 8) SymbolLine(0 20 25 20 8) ) Symbol('I' 12) ( SymbolLine(0 0 10 0 8) SymbolLine(5 0 5 40 8) SymbolLine(0 40 10 40 8) ) Symbol('J' 12) ( SymbolLine(0 0 15 0 8) SymbolLine(15 0 15 35 8) SymbolLine(10 40 15 35 8) SymbolLine(5 40 10 40 8) SymbolLine(0 35 5 40 8) ) Symbol('K' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 20 20 0 8) SymbolLine(0 20 20 40 8) ) Symbol('L' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 40 20 40 8) ) Symbol('M' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 15 15 8) SymbolLine(15 15 30 0 8) SymbolLine(30 0 30 40 8) ) Symbol('N' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 0 0 5 8) SymbolLine(0 5 25 30 8) SymbolLine(25 0 25 40 8) ) Symbol('O' 12) ( SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('P' 12) ( SymbolLine(5 0 5 40 8) SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) SymbolLine(5 20 20 20 8) ) Symbol('Q' 12) ( SymbolLine(0 5 0 35 8) SymbolLine(0 5 5 0 8) SymbolLine(5 0 15 0 8) SymbolLine(15 0 20 5 8) SymbolLine(20 5 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(10 30 20 40 8) ) Symbol('R' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(20 0 25 5 8) SymbolLine(25 5 25 15 8) SymbolLine(20 20 25 15 8) SymbolLine(5 20 20 20 8) SymbolLine(5 0 5 40 8) SymbolLine(5 20 25 40 8) ) Symbol('S' 12) ( SymbolLine(20 0 25 5 8) SymbolLine(5 0 20 0 8) SymbolLine(0 5 5 0 8) SymbolLine(0 5 0 15 8) SymbolLine(0 15 5 20 8) SymbolLine(5 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(25 25 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) ) Symbol('T' 12) ( SymbolLine(0 0 20 0 8) SymbolLine(10 0 10 40 8) ) Symbol('U' 12) ( SymbolLine(0 0 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 0 20 35 8) ) Symbol('V' 12) ( SymbolLine(0 0 0 30 8) SymbolLine(0 30 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(20 0 20 30 8) ) Symbol('W' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 40 15 25 8) SymbolLine(15 25 30 40 8) SymbolLine(30 0 30 40 8) ) Symbol('X' 12) ( SymbolLine(0 0 0 5 8) SymbolLine(0 5 25 30 8) SymbolLine(25 30 25 40 8) SymbolLine(0 30 0 40 8) SymbolLine(0 30 25 5 8) SymbolLine(25 0 25 5 8) ) Symbol('Y' 12) ( SymbolLine(0 0 0 5 8) SymbolLine(0 5 10 15 8) SymbolLine(10 15 20 5 8) SymbolLine(20 0 20 5 8) SymbolLine(10 15 10 40 8) ) Symbol('Z' 12) ( SymbolLine(0 0 25 0 8) SymbolLine(25 0 25 5 8) SymbolLine(0 30 25 5 8) SymbolLine(0 30 0 40 8) SymbolLine(0 40 25 40 8) ) Symbol('[' 12) ( SymbolLine(0 0 5 0 8) SymbolLine(0 0 0 40 8) SymbolLine(0 40 5 40 8) ) Symbol('\' 12) ( SymbolLine(0 5 30 35 8) ) Symbol(']' 12) ( SymbolLine(0 0 5 0 8) SymbolLine(5 0 5 40 8) SymbolLine(0 40 5 40 8) ) Symbol('^' 12) ( SymbolLine(0 5 5 0 8) SymbolLine(5 0 10 5 8) ) Symbol('_' 12) ( SymbolLine(0 40 20 40 8) ) Symbol('a' 12) ( SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(20 20 20 35 8) SymbolLine(20 35 25 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('b' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 25 20 35 8) SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) ) Symbol('c' 12) ( SymbolLine(5 20 20 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 20 40 8) ) Symbol('d' 12) ( SymbolLine(20 0 20 40 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) ) Symbol('e' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(0 35 5 40 8) SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(0 30 20 30 8) SymbolLine(20 30 20 25 8) ) Symbol('f' 10) ( SymbolLine(5 5 5 40 8) SymbolLine(5 5 10 0 8) SymbolLine(10 0 15 0 8) SymbolLine(0 20 10 20 8) ) Symbol('g' 12) ( SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(0 50 5 55 8) SymbolLine(5 55 15 55 8) SymbolLine(15 55 20 50 8) SymbolLine(20 20 20 50 8) ) Symbol('h' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) ) Symbol('i' 10) ( SymbolLine(0 10 0 15 8) SymbolLine(0 25 0 40 8) ) Symbol('j' 10) ( SymbolLine(5 10 5 15 8) SymbolLine(5 25 5 50 8) SymbolLine(0 55 5 50 8) ) Symbol('k' 12) ( SymbolLine(0 0 0 40 8) SymbolLine(0 25 15 40 8) SymbolLine(0 25 10 15 8) ) Symbol('l' 10) ( SymbolLine(0 0 0 35 8) SymbolLine(0 35 5 40 8) ) Symbol('m' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) SymbolLine(20 25 25 20 8) SymbolLine(25 20 30 20 8) SymbolLine(30 20 35 25 8) SymbolLine(35 25 35 40 8) SymbolLine(0 20 5 25 8) ) Symbol('n' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 40 8) SymbolLine(0 20 5 25 8) ) Symbol('o' 12) ( SymbolLine(0 25 0 35 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 15 20 8) SymbolLine(15 20 20 25 8) SymbolLine(20 25 20 35 8) SymbolLine(15 40 20 35 8) SymbolLine(5 40 15 40 8) SymbolLine(0 35 5 40 8) ) Symbol('p' 12) ( SymbolLine(5 25 5 55 8) SymbolLine(0 20 5 25 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(25 25 25 35 8) SymbolLine(20 40 25 35 8) SymbolLine(10 40 20 40 8) SymbolLine(5 35 10 40 8) ) Symbol('q' 12) ( SymbolLine(20 25 20 55 8) SymbolLine(15 20 20 25 8) SymbolLine(5 20 15 20 8) SymbolLine(0 25 5 20 8) SymbolLine(0 25 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('r' 12) ( SymbolLine(5 25 5 40 8) SymbolLine(5 25 10 20 8) SymbolLine(10 20 20 20 8) SymbolLine(0 20 5 25 8) ) Symbol('s' 12) ( SymbolLine(5 40 20 40 8) SymbolLine(20 40 25 35 8) SymbolLine(20 30 25 35 8) SymbolLine(5 30 20 30 8) SymbolLine(0 25 5 30 8) SymbolLine(0 25 5 20 8) SymbolLine(5 20 20 20 8) SymbolLine(20 20 25 25 8) SymbolLine(0 35 5 40 8) ) Symbol('t' 10) ( SymbolLine(5 0 5 35 8) SymbolLine(5 35 10 40 8) SymbolLine(0 15 10 15 8) ) Symbol('u' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) SymbolLine(20 20 20 35 8) ) Symbol('v' 12) ( SymbolLine(0 20 0 30 8) SymbolLine(0 30 10 40 8) SymbolLine(10 40 20 30 8) SymbolLine(20 20 20 30 8) ) Symbol('w' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(5 40 10 40 8) SymbolLine(10 40 15 35 8) SymbolLine(15 20 15 35 8) SymbolLine(15 35 20 40 8) SymbolLine(20 40 25 40 8) SymbolLine(25 40 30 35 8) SymbolLine(30 20 30 35 8) ) Symbol('x' 12) ( SymbolLine(0 20 20 40 8) SymbolLine(0 40 20 20 8) ) Symbol('y' 12) ( SymbolLine(0 20 0 35 8) SymbolLine(0 35 5 40 8) SymbolLine(20 20 20 50 8) SymbolLine(15 55 20 50 8) SymbolLine(5 55 15 55 8) SymbolLine(0 50 5 55 8) SymbolLine(5 40 15 40 8) SymbolLine(15 40 20 35 8) ) Symbol('z' 12) ( SymbolLine(0 20 20 20 8) SymbolLine(0 40 20 20 8) SymbolLine(0 40 20 40 8) ) Symbol('{' 12) ( SymbolLine(5 5 10 0 8) SymbolLine(5 5 5 15 8) SymbolLine(0 20 5 15 8) SymbolLine(0 20 5 25 8) SymbolLine(5 25 5 35 8) SymbolLine(5 35 10 40 8) ) Symbol('|' 12) ( SymbolLine(0 0 0 40 8) ) Symbol('}' 12) ( SymbolLine(0 0 5 5 8) SymbolLine(5 5 5 15 8) SymbolLine(5 15 10 20 8) SymbolLine(5 25 10 20 8) SymbolLine(5 25 5 35 8) SymbolLine(0 40 5 35 8) ) Symbol('~' 12) ( SymbolLine(0 25 5 20 8) SymbolLine(5 20 10 20 8) SymbolLine(10 20 15 25 8) SymbolLine(15 25 20 25 8) SymbolLine(20 25 25 20 8) ) Element(0x00000000 "R 0.5W" "R12" "" 1035 1935 -205 700 0 150 0x00000000) ( Pin(0 0 85 30 115 48 "1" "1" 0x00000101) Pin(0 800 90 30 120 48 "2" "2" 0x00000001) ElementLine (0 685 0 750 10) ElementLine (115 685 115 115 10) ElementLine (-115 685 115 685 10) ElementLine (-115 115 -115 685 10) ElementLine (115 115 -115 115 10) ElementLine (0 60 0 115 10) ) Element(0x00000000 "OP-AMP" "U7" "LTC1152" 2575 1925 380 200 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "SHDN" "1" 0x00000101) Pin(0 100 60 30 90 28 "-IN" "2" 0x00000001) Pin(0 200 60 30 90 28 "+IN" "3" 0x00000001) Pin(0 300 60 30 90 28 "V-" "4" 0x00000001) Pin(300 300 60 30 90 28 "COMP" "5" 0x00000001) Pin(300 200 60 30 90 28 "OUT" "6" 0x00000001) Pin(300 100 60 30 90 28 "V+" "7" 0x00000001) Pin(300 0 60 30 90 28 "CP" "8" 0x00000001) ElementLine (200 -50 350 -50 10) ElementLine (-50 -50 100 -50 10) ElementLine (350 350 350 -50 10) ElementLine (-50 350 350 350 10) ElementLine (-50 -50 -50 350 10) ElementArc (150 -50 50 50 0 180 10) ) Element(0x00000000 "3 TERM BLOCK" "J1" "DK ED1602-ND" 2285 2925 140 51 0 150 0x00000000) ( Pin(0 0 110 30 140 48 "1" "1" 0x00000001) Pin(-194 0 110 30 140 48 "2" "2" 0x00000001) Pin(-388 0 110 30 140 48 "3" "3" 0x00000001) ElementLine (101 160 -489 160 10) ElementLine (-489 160 -489 -200 10) ElementLine (-489 -200 101 -200 10) ElementLine (101 -200 101 160 10) ElementLine (-489 -190 -509 -190 10) ElementLine (-509 -190 -509 -170 10) ElementLine (-509 -170 -489 -170 10) ElementLine (101 -190 81 -190 10) ElementLine (81 -190 81 -170 10) ElementLine (81 -170 101 -170 10) ElementLine (0 160 0 140 10) ElementLine (-194 160 -194 140 10) ElementLine (-388 160 -388 140 10) ) Element(0x00000000 "AMP 745781-4" "J3" "A2100-ND" 820 1610 -125 837 0 150 0x00000000) ( Pin(0 432 80 30 110 42 "1" "1" 0x00000101) Pin(0 324 80 30 110 42 "2" "A2" 0x00000001) Pin(0 216 80 30 110 42 "3" "3" 0x00000001) Pin(0 108 80 30 110 42 "4" "4" 0x00000001) Pin(0 0 80 30 110 42 "5" "5" 0x00000001) Pin(-112 378 80 30 110 42 "6" "6" 0x00000001) Pin(-112 270 80 30 110 42 "7" "7" 0x00000001) Pin(-112 162 80 30 110 42 "8" "8" 0x00000001) Pin(-112 54 80 30 110 42 "9" "9" 0x00000001) Pin(-56 -276 120 30 150 120 "MOUNT HOLE" "10" 0x00000009) Pin(-56 708 120 30 150 120 "MOUNT HOLE" "11" 0x00000009) ElementLine (58 -390 58 823 10) ElementLine (58 823 -317 823 10) ElementLine (-317 823 -317 571 10) ElementLine (-433 455 -434 -22 10) ElementLine (-317 -138 -317 -390 10) ElementLine (-317 -390 58 -390 10) ElementArc (-375 571 58 58 180 90 10) ElementArc (-375 455 58 58 0 90 10) ElementArc (-375 -22 58 58 270 90 10) ElementArc (-375 -138 58 58 90 90 10) ) Element(0x00000000 "SMD 0805" "C18" "" 2665 1800 155 -20 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -35 -35 35 10) ElementLine (-35 35 125 35 10) ElementLine (125 35 125 -35 10) ElementLine (125 -35 -35 -35 10) ) Element(0x00000000 "SMD 0805" "C19" "" 2785 2375 -20 55 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -35 -35 35 10) ElementLine (-35 35 125 35 10) ElementLine (125 35 125 -35 10) ElementLine (125 -35 -35 -35 10) ) Element(0x00000000 "SMD 0805" "C20" "" 2665 2375 -115 55 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (35 35 35 -35 10) ElementLine (35 -35 -125 -35 10) ElementLine (-125 -35 -125 35 10) ElementLine (-125 35 35 35 10) ) Element(0x00000000 "SMD Cap" "C21" "" 2565 1070 -50 61 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(-200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (-250 50 50 50 10) ElementLine (-250 -50 -250 50 10) ElementLine (50 -50 -250 -50 10) ElementLine (50 50 50 -50 10) ) Element(0x00000000 "CTX169" "X1" "20 MHz" 2330 910 425 -215 0 150 0x00000000) ( Pin(0 -60 60 30 90 28 "NC" "1" 0x00000101) Pin(300 -60 60 30 90 28 "GND" "2" 0x00000001) Pin(300 -360 60 30 90 28 "OUT" "3" 0x00000001) Pin(0 -360 60 30 90 28 "Vdd" "4" 0x00000001) ElementLine (350 50 -110 50 10) ElementLine (400 -410 400 0 10) ElementLine (-60 -460 350 -460 10) ElementLine (-110 50 -110 -410 10) ElementArc (350 0 50 50 90 90 10) ElementArc (350 -410 50 50 180 90 10) ElementArc (-60 -410 50 50 270 90 10) ) Element(0x00000000 "SMD 0805" "C3" "" 2075 2510 -40 140 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 90 0 90 60 30 90 "2" "2" 0x00000100) ElementLine (35 -35 -35 -35 10) ElementLine (-35 -35 -35 125 10) ElementLine (-35 125 35 125 10) ElementLine (35 125 35 -35 10) ) Element(0x00000000 "R 0.25W" "R3" "100" 2290 2625 -30 -135 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 -300 0 -360 10) ElementLine (0 -40 0 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (50 -300 50 -100 10) ElementLine (-50 -300 50 -300 10) ElementLine (-50 -100 -50 -300 10) ) Element(0x00000000 "LM13700" "U1" "LM13700" 1955 2285 -475 -130 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "Iabc1" "1" 0x00000101) Pin(-100 0 60 30 90 28 "Dbias1" "2" 0x00000001) Pin(-200 0 60 30 90 28 "In+1" "3" 0x00000001) Pin(-300 0 60 30 90 28 "In-1" "4" 0x00000001) Pin(-400 0 60 30 90 28 "Out1" "5" 0x00000001) Pin(-500 0 60 30 90 28 "V-" "6" 0x00000001) Pin(-600 0 60 30 90 28 "BufIn1" "7" 0x00000001) Pin(-700 0 60 30 90 28 "BufOut1" "8" 0x00000001) Pin(-700 300 60 30 90 28 "BufOut2" "9" 0x00000001) Pin(-600 300 60 30 90 28 "BufIn2" "10" 0x00000001) Pin(-500 300 60 30 90 28 "V+" "11" 0x00000001) Pin(-400 300 60 30 90 28 "Out2" "12" 0x00000001) Pin(-300 300 60 30 90 28 "In-2" "13" 0x00000001) Pin(-200 300 60 30 90 28 "In+2" "14" 0x00000001) Pin(-100 300 60 30 90 28 "Dbias2" "15" 0x00000001) Pin(0 300 60 30 90 28 "Iabc2" "16" 0x00000001) ElementLine (50 200 50 350 10) ElementLine (50 -50 50 100 10) ElementLine (-750 350 50 350 10) ElementLine (-750 -50 -750 350 10) ElementLine (50 -50 -750 -50 10) ElementArc (50 150 50 50 270 180 10) ) Element(0x00000000 "R 0.25W" "R2" "100" 2400 2625 60 -100 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 -300 0 -360 10) ElementLine (0 -40 0 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (50 -300 50 -100 10) ElementLine (-50 -300 50 -300 10) ElementLine (-50 -100 -50 -300 10) ) Element(0x00000000 "R 0.25W" "R1" "100" 2180 2625 -35 -145 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 -400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 -300 0 -360 10) ElementLine (0 -40 0 -100 10) ElementLine (50 -100 -50 -100 10) ElementLine (50 -300 50 -100 10) ElementLine (-50 -300 50 -300 10) ElementLine (-50 -100 -50 -300 10) ) Element(0x00000010 "SMD 0805" "C4" "" 2070 2390 -25 -180 0 115 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 -90 0 -90 60 30 90 "2" "2" 0x00000100) ElementLine (-35 35 35 35 10) ElementLine (35 35 35 -125 10) ElementLine (35 -125 -35 -125 10) ElementLine (-35 -125 -35 35 10) ) Element(0x00000000 "R 0.25W" "R4" "100" 1615 1955 130 -35 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (300 0 360 0 10) ElementLine (40 0 100 0 10) ElementLine (100 50 100 -50 10) ElementLine (300 50 100 50 10) ElementLine (300 -50 300 50 10) ElementLine (100 -50 300 -50 10) ) Element(0x00000000 "ADC12138CIMSA" "U2" "ADC12138" 1630 1690 105 -449 0 150 0x00000000) ( Pad(0 30 0 -30 12 30 42 "CH0" "1" 0x00000100) Pad(26 30 26 -30 12 30 42 "CH1" "2" 0x00000100) Pad(51 30 51 -30 12 30 42 "CH2" "3" 0x00000100) Pad(77 30 77 -30 12 30 42 "CH3" "4" 0x00000100) Pad(102 30 102 -30 12 30 42 "CH4" "5" 0x00000100) Pad(128 30 128 -30 12 30 42 "CH5" "6" 0x00000100) Pad(154 30 154 -30 12 30 42 "CH6" "7" 0x00000100) Pad(179 30 179 -30 12 30 42 "CH7" "8" 0x00000100) Pad(205 30 205 -30 12 30 42 "COM" "9" 0x00000100) Pad(230 30 230 -30 12 30 42 "MuOut1" "10" 0x00000100) Pad(256 30 256 -30 12 30 42 "A/Din1" "11" 0x00000100) Pad(281 30 281 -30 12 30 42 "MuxOut2" "12" 0x00000100) Pad(307 30 307 -30 12 30 42 "A/Din2" "13" 0x00000100) Pad(333 30 333 -30 12 30 42 "DGND" "14" 0x00000100) Pad(333 -350 333 -290 12 30 42 "VA+" "15" 0x00000100) Pad(307 -350 307 -290 12 30 42 "Vref-" "16" 0x00000100) Pad(281 -350 281 -290 12 30 42 "Vref+" "17" 0x00000100) Pad(256 -350 256 -290 12 30 42 "AGND" "18" 0x00000100) Pad(230 -350 230 -290 12 30 42 "PD" "19" 0x00000100) Pad(205 -350 205 -290 12 30 42 "EOC" "20" 0x00000100) Pad(179 -350 179 -290 12 30 42 "~CONV" "21" 0x00000100) Pad(154 -350 154 -290 12 30 42 "~CS" "22" 0x00000100) Pad(128 -350 128 -290 12 30 42 "DO" "23" 0x00000100) Pad(102 -350 102 -290 12 30 42 "DI" "24" 0x00000100) Pad(77 -350 77 -290 12 30 42 "SCLK" "25" 0x00000100) Pad(51 -350 51 -290 12 30 42 "CCLK" "26" 0x00000100) Pad(26 -350 26 -290 12 30 42 "~DOR" "27" 0x00000100) Pad(0 -350 0 -290 12 30 42 "VD+" "28" 0x00000100) ElementLine (370 -266 343 -266 10) ElementLine (370 -54 370 -266 10) ElementLine (343 -54 370 -54 10) ElementLine (-37 -266 -12 -266 10) ElementLine (-37 -54 -37 -266 10) ElementLine (-12 -54 -37 -54 10) ElementLine (0 -70 0 -70 30) ) Element(0x00000000 "R 0.25W" "R10" "100" 2160 1675 -30 275 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 300 0 360 10) ElementLine (0 40 0 100 10) ElementLine (-50 100 50 100 10) ElementLine (-50 300 -50 100 10) ElementLine (50 300 -50 300 10) ElementLine (50 100 50 300 10) ) Element(0x00000000 "R 0.25W" "R9" "100" 1655 2170 125 -25 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000001) Pin(400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (300 0 360 0 10) ElementLine (40 0 100 0 10) ElementLine (100 50 100 -50 10) ElementLine (300 50 100 50 10) ElementLine (300 -50 300 50 10) ElementLine (100 -50 300 -50 10) ) Element(0x00000000 "R 0.25W" "R5" "100" 1375 1750 -170 175 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 300 0 360 10) ElementLine (0 40 0 100 10) ElementLine (-50 100 50 100 10) ElementLine (-50 300 -50 100 10) ElementLine (50 300 -50 300 10) ElementLine (50 100 50 300 10) ) Element(0x00000000 "R 0.25W" "R8" "100" 2270 1680 -30 245 1 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 300 0 360 10) ElementLine (0 40 0 100 10) ElementLine (-50 100 50 100 10) ElementLine (-50 300 -50 100 10) ElementLine (50 300 -50 300 10) ElementLine (50 100 50 300 10) ) Element(0x00000000 "R 0.25W" "R6" "100" 2375 1680 65 115 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(0 400 60 30 90 28 "2" "2" 0x00000001) ElementLine (0 300 0 360 10) ElementLine (0 40 0 100 10) ElementLine (-50 100 50 100 10) ElementLine (-50 300 -50 100 10) ElementLine (50 300 -50 300 10) ElementLine (50 100 50 300 10) ) Element(0x00000000 "SMD Cap" "C1" "" 1490 1950 -40 71 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000101) Pin(0 -200 80 30 110 35 "2" "2" 0x00000001) ElementLine (-50 -250 -50 50 10) ElementLine (50 -250 -50 -250 10) ElementLine (50 50 50 -250 10) ElementLine (-50 50 50 50 10) ) Element(0x00000000 "SMD Cap" "C6" "" 1530 1185 -335 -30 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(-200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (0 50 0 45 10) ElementLine (-200 50 0 50 10) ElementLine (-200 45 -200 50 10) ElementLine (-200 -50 -200 -45 10) ElementLine (0 -50 -200 -50 10) ElementLine (0 -45 0 -50 10) ) Element(0x00000000 "SMD Cap" "C2" "" 1945 1845 65 -19 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000101) Pin(-200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (-250 50 50 50 10) ElementLine (-250 -50 -250 50 10) ElementLine (50 -50 -250 -50 10) ElementLine (50 50 50 -50 10) ) Element(0x00000000 "SMD Cap" "C7" "" 1530 1075 -370 -144 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(-200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (-250 50 50 50 10) ElementLine (-250 -50 -250 50 10) ElementLine (50 -50 -250 -50 10) ElementLine (50 50 50 -50 10) ) Element(0x00000000 "SMD Cap" "C8" "" 2030 1075 65 -124 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (250 -50 -50 -50 10) ElementLine (250 50 250 -50 10) ElementLine (-50 50 250 50 10) ElementLine (-50 -50 -50 50 10) ) Element(0x00000000 "R 0.25W" "R7" "100" 1655 2065 150 -30 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000001) Pin(400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (300 0 360 0 10) ElementLine (40 0 100 0 10) ElementLine (100 50 100 -50 10) ElementLine (300 50 100 50 10) ElementLine (300 -50 300 50 10) ElementLine (100 -50 300 -50 10) ) Element(0x00000000 "SMD Cap" "C9" "" 2030 1185 -145 -40 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (0 -50 0 -45 10) ElementLine (200 -50 0 -50 10) ElementLine (200 -45 200 -50 10) ElementLine (200 50 200 45 10) ElementLine (0 50 200 50 10) ElementLine (0 45 0 50 10) ) Element(0x00000010 "SMD 0805" "C11" "" 2270 1420 -260 -30 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (35 35 35 -35 10) ElementLine (35 -35 -125 -35 10) ElementLine (-125 -35 -125 35 10) ElementLine (-125 35 35 35 10) ) Element(0x00000000 "SMD 0805" "C5" "" 1495 1315 -225 -30 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(-90 0 -90 0 60 30 90 "2" "2" 0x00000100) ElementLine (35 35 35 -35 10) ElementLine (35 -35 -125 -35 10) ElementLine (-125 -35 -125 35 10) ElementLine (-125 35 35 35 10) ) Element(0x00000000 "TK11950" "U4" "5.0V" 1180 1590 -254 -132 0 150 0x00000000) ( Pad(7 0 -8 0 24 30 54 "NOISE BYPASS" "1" 0x00000100) Pad(7 -37 -8 -37 24 30 54 "CONTROL" "2" 0x00000100) Pad(7 -75 -8 -75 24 30 54 "RESET OUT" "3" 0x00000100) Pad(-119 -75 -134 -75 24 30 54 "VO" "4" 0x00000100) Pad(-119 -37 -134 -37 24 30 54 "GND" "5" 0x00000100) Pad(-119 0 -134 0 24 30 54 "VIN" "6" 0x00000100) ElementLine (-13 24 -119 24 10) ElementLine (-132 -108 -132 -96 10) ElementLine (0 -108 -132 -108 10) ElementLine (0 -96 0 -108 10) ElementLine (-132 34 -132 22 10) ElementLine (0 34 -132 34 10) ElementLine (0 22 0 34 10) ) Element(0x00000000 "TK11950" "U3" "5.0V" 2235 1510 -139 -2 0 150 0x00000000) ( Pad(-7 0 8 0 24 30 54 "NOISE BYPASS" "1" 0x00000100) Pad(-7 37 8 37 24 30 54 "CONTROL" "2" 0x00000100) Pad(-7 75 8 75 24 30 54 "RESET OUT" "3" 0x00000100) Pad(119 75 134 75 24 30 54 "VO" "4" 0x00000100) Pad(119 37 134 37 24 30 54 "GND" "5" 0x00000100) Pad(119 0 134 0 24 30 54 "VIN" "6" 0x00000100) ElementLine (13 -24 119 -24 10) ElementLine (132 108 132 96 10) ElementLine (0 108 132 108 10) ElementLine (0 96 0 108 10) ElementLine (132 -34 132 -22 10) ElementLine (0 -34 132 -34 10) ElementLine (0 -22 0 -34 10) ) Element(0x00000000 "R 0.5W" "R11" "" 2815 1700 60 -90 0 150 0x00000000) ( Pin(0 0 85 30 115 48 "1" "1" 0x00000101) Pin(0 -800 85 30 115 48 "2" "2" 0x00000001) ElementLine (0 -685 0 -750 10) ElementLine (-115 -685 -115 -115 10) ElementLine (115 -685 -115 -685 10) ElementLine (115 -115 115 -685 10) ElementLine (-115 -115 115 -115 10) ElementLine (0 -60 0 -115 10) ) Element(0x00000000 "R 0.25W" "R14" "100" 1105 1075 -265 60 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000001) Pin(-400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (-300 0 -360 0 10) ElementLine (-40 0 -100 0 10) ElementLine (-100 -50 -100 50 10) ElementLine (-300 -50 -100 -50 10) ElementLine (-300 50 -300 -50 10) ElementLine (-100 50 -300 50 10) ) Element(0x00000000 "R 0.25W" "R13" "100" 1130 1435 230 65 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "1" "1" 0x00000101) Pin(400 0 60 30 90 28 "2" "2" 0x00000001) ElementLine (300 0 360 0 10) ElementLine (40 0 100 0 10) ElementLine (100 50 100 -50 10) ElementLine (300 50 100 50 10) ElementLine (300 -50 300 50 10) ElementLine (100 -50 300 -50 10) ) Element(0x00000000 "SMD Cap" "C12" "" 2345 1320 -35 -129 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(200 0 80 30 110 35 "2" "2" 0x00000001) ElementLine (250 -50 -50 -50 10) ElementLine (250 50 250 -50 10) ElementLine (-50 50 250 50 10) ElementLine (-50 -50 -50 50 10) ) Element(0x00000010 "SMD 0805" "C10" "" 2095 1310 -190 -60 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -35 -35 35 10) ElementLine (-35 35 125 35 10) ElementLine (125 35 125 -35 10) ElementLine (125 -35 -35 -35 10) ) Element(0x00000000 "SMD Cap" "C15" "" 1280 1785 65 -174 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(0 -200 80 30 110 35 "2" "2" 0x00000001) ElementLine (-50 -250 -50 50 10) ElementLine (50 -250 -50 -250 10) ElementLine (50 50 50 -250 10) ElementLine (-50 50 50 50 10) ) Element(0x00000000 "SMD 0805" "C14" "" 1175 1690 -195 20 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 90 0 90 60 30 90 "2" "2" 0x00000100) ElementLine (35 -35 -35 -35 10) ElementLine (-35 -35 -35 125 10) ElementLine (-35 125 35 125 10) ElementLine (35 125 35 -35 10) ) Element(0x00000010 "SMD 0805" "C16" "" 1080 1355 -15 -115 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(90 0 90 0 60 30 90 "2" "2" 0x00000100) ElementLine (-35 -35 -35 35 10) ElementLine (-35 35 125 35 10) ElementLine (125 35 125 -35 10) ElementLine (125 -35 -35 -35 10) ) Element(0x00000000 "SMD 0805" "C13" "" 2525 1510 -30 45 0 150 0x00000000) ( Pad(0 0 0 0 60 30 90 "1" "1" 0x00000100) Pad(0 -90 0 -90 60 30 90 "2" "2" 0x00000100) ElementLine (-35 35 35 35 10) ElementLine (35 35 35 -125 10) ElementLine (35 -125 -35 -125 10) ElementLine (-35 -125 -35 35 10) ) Element(0x00000000 "SMD Cap" "C17" "" 2155 815 -90 -329 0 150 0x00000000) ( Pin(0 0 80 30 110 35 "1" "1" 0x00000001) Pin(0 -200 80 30 110 35 "2" "2" 0x00000001) ElementLine (-50 -250 -50 50 10) ElementLine (50 -250 -50 -250 10) ElementLine (50 50 50 -250 10) ElementLine (-50 50 50 50 10) ) Element(0x00000000 "PIC16C54A" "U5" "PIC16C54" 1195 860 465 80 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "RA2" "1" 0x00000101) Pin(100 0 60 30 90 28 "RA3" "2" 0x00000001) Pin(200 0 60 30 90 28 "RTCC" "3" 0x00000001) Pin(300 0 60 30 90 28 "/MCLR" "4" 0x00000001) Pin(400 0 60 30 90 28 "Vss" "5" 0x00000001) Pin(500 0 60 30 90 28 "RB0" "6" 0x00000001) Pin(600 0 60 30 90 28 "RB1" "7" 0x00000001) Pin(700 0 60 30 90 28 "RB2" "8" 0x00000001) Pin(800 0 60 30 90 28 "RB3" "9" 0x00000001) Pin(800 -300 60 30 90 28 "RB4" "10" 0x00000001) Pin(700 -300 60 30 90 28 "RB5" "11" 0x00000001) Pin(600 -300 60 30 90 28 "RB6" "12" 0x00000001) Pin(500 -300 60 30 90 28 "RB7" "13" 0x00000001) Pin(400 -300 60 30 90 28 "Vdd" "14" 0x00000001) Pin(300 -300 60 30 90 28 "OSC2/CLKOUT" "15" 0x00000001) Pin(200 -300 60 30 90 28 "OSC1/CLKIN" "16" 0x00000001) Pin(100 -300 60 30 90 28 "RA0" "17" 0x00000001) Pin(0 -300 60 30 90 28 "RA1" "18" 0x00000001) ElementLine (-50 -200 -50 -350 10) ElementLine (-50 50 -50 -100 10) ElementLine (850 -350 -50 -350 10) ElementLine (850 50 850 -350 10) ElementLine (-50 50 850 50 10) ElementArc (-50 -150 50 50 90 180 10) ) Element(0x00000000 "RS422 Transciever" "U6" "LTC490" 1005 895 -505 -55 0 150 0x00000000) ( Pin(0 0 60 30 90 28 "Vcc" "1" 0x00000101) Pin(0 -100 60 30 90 28 "R" "2" 0x00000001) Pin(0 -200 60 30 90 28 "D" "3" 0x00000001) Pin(0 -300 60 30 90 28 "GND" "4" 0x00000001) Pin(-300 -300 60 30 90 28 "Y" "5" 0x00000001) Pin(-300 -200 60 30 90 28 "Z" "6" 0x00000001) Pin(-300 -100 60 30 90 28 "B" "7" 0x00000001) Pin(-300 0 60 30 90 28 "A" "8" 0x00000001) ElementLine (-200 50 -350 50 10) ElementLine (50 50 -100 50 10) ElementLine (-350 -350 -350 50 10) ElementLine (50 -350 -350 -350 10) ElementLine (50 50 50 -350 10) ElementArc (-150 50 50 50 180 180 10) ) Element(0x00000000 "3 TERM BLOCK" "J2" "DK ED1602-ND" 1695 2925 -590 76 0 150 0x00000000) ( Pin(0 0 110 30 140 48 "1" "1" 0x00000001) Pin(-194 0 110 30 140 48 "2" "2" 0x00000001) Pin(-388 0 110 30 140 48 "3" "3" 0x00000001) ElementLine (101 160 -489 160 10) ElementLine (-489 160 -489 -200 10) ElementLine (-489 -200 101 -200 10) ElementLine (101 -200 101 160 10) ElementLine (-489 -190 -509 -190 10) ElementLine (-509 -190 -509 -170 10) ElementLine (-509 -170 -489 -170 10) ElementLine (101 -190 81 -190 10) ElementLine (81 -190 81 -170 10) ElementLine (81 -170 101 -170 10) ElementLine (0 160 0 140 10) ElementLine (-194 160 -194 140 10) ElementLine (-388 160 -388 140 10) ) Layer(1 "solder") ( ) Layer(2 "GND-solder") ( ) Layer(3 "Vcc-solder") ( ) Layer(4 "component") ( ) Layer(5 "GND-component") ( ) Layer(6 "Vcc-component") ( ) Layer(7 "unused") ( ) Layer(8 "unused") ( ) Layer(9 "silk") ( ) Layer(10 "silk") ( Text(1885 285 0 295 "harry eaton" 0x00000400) Text(435 2815 0 165 "LED Interface" 0x00000400) Text(525 295 0 280 "FLARE GENESIS" 0x00000400) Text(1455 3125 0 115 "+X" 0x00000400) Text(1255 3125 0 115 "-X" 0x00000400) Text(2045 3130 0 115 "+Y" 0x00000400) Text(1855 3125 0 115 "-Y" 0x00000400) Text(2210 3120 0 115 "ANODE" 0x00000400) ) NetList() ( Net("SIG343" "(unknown)") ( Connect("U7-5") Connect("C19-2") ) Net("SIG341" "(unknown)") ( Connect("U7-8") Connect("C18-2") ) Net("SIG338" "(unknown)") ( Connect("U7-3") Connect("R3-1") Connect("R2-1") Connect("R1-1") ) Net("SIG321" "(unknown)") ( Connect("X1-4") Connect("U6-1") Connect("U5-14") Connect("U4-4") Connect("U2-28") Connect("R13-2") Connect("C17-2") Connect("C16-1") Connect("C7-1") Connect("C6-1") Connect("C5-1") ) Net("SIG311" "(unknown)") ( Connect("U1-13") Connect("J1-3") ) Net("SIG310" "(unknown)") ( Connect("U2-5") Connect("R10-1") Connect("J1-1") ) Net("SIG297" "(unknown)") ( Connect("U6-6") Connect("J3-3") ) Net("SIG296" "(unknown)") ( Connect("U6-5") Connect("J3-A2") ) Net("SIG294" "(unknown)") ( Connect("U5-6") Connect("U2-25") ) Net("SIG293" "(unknown)") ( Connect("U5-7") Connect("U2-24") ) Net("SIG292" "(unknown)") ( Connect("U5-8") Connect("U2-23") ) Net("SIG291" "(unknown)") ( Connect("U5-9") Connect("U2-22") ) Net("SIG286" "(unknown)") ( Connect("U6-8") Connect("R14-2") Connect("J3-5") ) Net("SIG285" "(unknown)") ( Connect("U6-7") Connect("R14-1") Connect("J3-4") ) Net("SIG259" "(unknown)") ( Connect("U6-2") Connect("U5-17") ) Net("SIG258" "(unknown)") ( Connect("U6-3") Connect("U5-18") ) Net("SIG252" "(unknown)") ( Connect("U5-4") Connect("U4-3") Connect("R13-1") ) Net("SIG241" "(unknown)") ( Connect("U5-15") Connect("U2-26") ) Net("SIG191" "(unknown)") ( Connect("X1-3") Connect("U5-16") ) Net("SIG155" "(unknown)") ( Connect("U4-1") Connect("C14-1") ) Net("SIG150" "(unknown)") ( Connect("U4-6") Connect("R12-1") Connect("C15-1") ) Net("SIG146" "(unknown)") ( Connect("U3-6") Connect("R11-2") Connect("C12-1") ) Net("SIG139" "(unknown)") ( Connect("U3-1") Connect("C11-1") ) Net("SIG127" "(unknown)") ( Connect("U1-14") Connect("J1-2") ) Net("SIG125" "(unknown)") ( Connect("U1-3") Connect("J2-2") ) Net("SIG124" "(unknown)") ( Connect("U1-4") Connect("J2-3") ) Net("SIG101" "(unknown)") ( Connect("U5-10") Connect("U2-20") ) Net("SIG100" "(unknown)") ( Connect("U5-11") Connect("U2-21") ) Net("SIG91" "(unknown)") ( Connect("U7-6") Connect("U7-2") Connect("U2-16") Connect("C21-1") Connect("C20-1") Connect("C19-1") ) Net("SIG88" "(unknown)") ( Connect("U2-13") Connect("U2-12") ) Net("SIG87" "(unknown)") ( Connect("U2-11") Connect("U2-10") ) Net("SIG52" "(unknown)") ( Connect("U2-1") Connect("U1-12") Connect("R5-1") Connect("C1-2") ) Net("SIG51" "(unknown)") ( Connect("U2-2") Connect("R9-1") Connect("R8-2") Connect("R5-2") Connect("C1-1") ) Net("SIG50" "(unknown)") ( Connect("U2-3") Connect("U1-5") Connect("R4-1") Connect("C2-2") ) Net("SIG49" "(unknown)") ( Connect("U2-4") Connect("R7-1") Connect("R6-2") Connect("R4-2") Connect("C2-1") ) Net("SIG43" "(unknown)") ( Connect("U1-1") Connect("R1-2") Connect("C4-2") ) Net("SIG41" "Power") ( Connect("U1-16") Connect("R3-2") Connect("C3-2") ) Net("SIG10" "Skinny") ( Connect("U1-15") Connect("U1-8") Connect("U1-2") ) Net("S00001" "(unknown)") ( Connect("U7-7") Connect("U7-1") Connect("U3-4") Connect("U2-17") Connect("U2-15") Connect("R8-1") Connect("R6-1") Connect("R2-2") Connect("C18-1") Connect("C13-1") Connect("C10-1") Connect("C9-1") Connect("C8-1") ) Net("Plus12V" "(unknown)") ( Connect("U1-11") Connect("U1-7") Connect("R12-2") Connect("R11-1") Connect("J3-6") ) Net("Minus12V" "(unknown)") ( Connect("U1-6") Connect("J3-9") Connect("C4-1") Connect("C3-1") ) Net("DGND" "(unknown)") ( Connect("X1-2") Connect("U6-4") Connect("U5-5") Connect("U4-5") Connect("U4-2") Connect("U2-19") Connect("U2-14") Connect("J3-1") Connect("C17-1") Connect("C16-2") Connect("C15-2") Connect("C14-2") Connect("C7-2") Connect("C6-2") Connect("C5-2") ) Net("AGND" "(unknown)") ( Connect("U7-4") Connect("U3-5") Connect("U3-2") Connect("U2-18") Connect("U2-9") Connect("U2-8") Connect("U2-7") Connect("U2-6") Connect("R10-2") Connect("R9-2") Connect("R7-2") Connect("C21-2") Connect("C20-2") Connect("C13-2") Connect("C12-2") Connect("C11-2") Connect("C10-2") Connect("C9-2") Connect("C8-2") ) ) pcb-20110918/example/libraries/0000755000012400000240000000000011635447773013141 500000000000000pcb-20110918/example/libraries/Makefile.am0000644000012400000240000000023611307100413015063 00000000000000## $Id$ examplesdir= @docdir@/examples/libraries examples_DATA= ${EXAMPLES} EXTRA_DIST= ${EXAMPLES} EXAMPLES=\ example.inc \ example.list \ example.m4 pcb-20110918/example/libraries/example.m40000644000012400000240000000043511140202114014721 00000000000000divert(-1) # -*- m4 -*- # $Id$ # define(`Description_my_RC0402', ``Standard SMT resistor/capacitor (0402)'') define(`Description_my_RC0603', ``Standard SMT resistor/capacitor (0603)'') define(`Description_my_RC1206', ``Standard SMT resistor/capacitor (1206)'') divert(0)dnl pcb-20110918/example/libraries/example.list0000644000012400000240000000022611140202114015352 00000000000000my_RC0402:RC0402:RES0402 my_RC0402:RC0402:CAP0402 my_RC0603:RC0603:RES0603 my_RC0603:RC0603:CAP0603 my_RC1206:RC1206:RES1206 my_RC1206:RC1206:CAP1206 pcb-20110918/example/libraries/Makefile.in0000644000012400000240000003541211635447474015131 00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = example/libraries DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gl.m4 \ $(top_srcdir)/m4/ax_check_glu.m4 \ $(top_srcdir)/m4/ax_lang_compiler_ms.m4 \ $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/codeset.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/m4/m4_ax_func_mkdir.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(examplesdir)" DATA = $(examples_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BTNMOD = @BTNMOD@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_OR_CXX = @CC_OR_CXX@ CC_OR_CXX_FLAGS = @CC_OR_CXX_FLAGS@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DOC = @DOC@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FONTFILENAME = @FONTFILENAME@ GDLIB_CONFIG = @GDLIB_CONFIG@ GENCAT = @GENCAT@ GERBV = @GERBV@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIBC21 = @GLIBC21@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GLU_CFLAGS = @GLU_CFLAGS@ GLU_LIBS = @GLU_LIBS@ GL_CFLAGS = @GL_CFLAGS@ GL_LIBS = @GL_LIBS@ GMSGFMT = @GMSGFMT@ GNUM4 = @GNUM4@ GREP = @GREP@ GSCHEM = @GSCHEM@ GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@ GTKGLEXT_LIBS = @GTKGLEXT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_UPDATE_ICON_CACHE_BIN = @GTK_UPDATE_ICON_CACHE_BIN@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_WPRINTF = @HAVE_WPRINTF@ HIDLIBS = @HIDLIBS@ HIDLIST = @HIDLIST@ IM_ANIMATE = @IM_ANIMATE@ IM_COMPARE = @IM_COMPARE@ IM_COMPOSITE = @IM_COMPOSITE@ IM_CONVERT = @IM_CONVERT@ IM_DISPLAY = @IM_DISPLAY@ IM_MONTAGE = @IM_MONTAGE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ KDEDATADIR = @KDEDATADIR@ KPSEWHICH = @KPSEWHICH@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LEX_PATH = @LEX_PATH@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBRARYFILENAME = @LIBRARYFILENAME@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ M4 = @M4@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINFO = @MKINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCB = @PCB@ PCBLIBDIR = @PCBLIBDIR@ PCBTREEDIR = @PCBTREEDIR@ PCBTREEPATH = @PCBTREEPATH@ PDFLATEX = @PDFLATEX@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PPMTOWINICON = @PPMTOWINICON@ PS2PDF = @PS2PDF@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SETENV = @SETENV@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TEXI2DVI = @TEXI2DVI@ TOPDIRS = @TOPDIRS@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32 = @WIN32@ WINDRES = @WINDRES@ WISH = @WISH@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XMKMF = @XMKMF@ XPMTOPPM = @XPMTOPPM@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ YACC = @YACC@ YACC_PATH = @YACC_PATH@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ examplesdir = @docdir@/examples/libraries examples_DATA = ${EXAMPLES} EXTRA_DIST = ${EXAMPLES} EXAMPLES = \ example.inc \ example.list \ example.m4 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign example/libraries/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign example/libraries/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-examplesDATA: $(examples_DATA) @$(NORMAL_INSTALL) test -z "$(examplesdir)" || $(MKDIR_P) "$(DESTDIR)$(examplesdir)" @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \ done uninstall-examplesDATA: @$(NORMAL_UNINSTALL) @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(examplesdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(examplesdir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(examplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-examplesDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-examplesDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-examplesDATA install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-examplesDATA # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: pcb-20110918/example/libraries/example.inc0000644000012400000240000000443611140202114015157 00000000000000# -*- m4 -*- # $Id$ # # Example .inc file # ------------------------------------------------------------------- # the definition for suface mount resistors and capacitors # $1: canonical name # $2: name on PCB # $3: value # $4: pad width (in direction perpendicular to part) # $5: pad length (in direction parallel with part) # $6: pad spacing (center to center) # $7: distance from edge of pad to silk (in direction # perpendicular to part) # $8: distance from edge of pad to silk (in direction # parallel with part) # $9: Set to "no" to skip silk screen on the sides of the part define(`COMMON_PKG_RCSMT', `define(`XMIN', `eval( -1*`$6'/2 - `$5'/2 - `$8')') define(`XMAX', `eval( `$6'/2 + `$5'/2 + `$8')') define(`YMIN', `eval(-1*`$4'/2 - `$7')') define(`YMAX', `eval( `$4'/2 + `$7')') Element(0x00 "$1" "$2" "$3" eval(XMIN+20) eval(YMAX+20) 0 100 0x00) ( ifelse(0, eval($4>$5), # Pads which have the perpendicular pad dimension less # than or equal to the parallel pad dimension Pad(eval(-1*( $6 + $5 - $4)/2) 0 eval((-1*$6 + $5 - $4)/2) 0 eval($4) "1" 0x100) Pad(eval(-1*(-1*$6 + $5 - $4)/2) 0 eval(( $6 + $5 - $4)/2) 0 eval($4) "2" 0x100) , # Pads which have the perpendicular pad dimension greater # than or equal to the parallel pad dimension Pad(eval(-1*$6/2) eval(-1*($4 - $5)/2) eval(-1*$6/2) eval(($4 - $5)/2) eval($5) "1" 0x100) Pad(eval( $6/2) eval(-1*($4 - $5)/2) eval( $6/2) eval(($4 - $5)/2) eval($5) "2" 0x100) ) # silk screen # ends ElementLine(XMIN YMIN XMIN YMAX 10) ElementLine(XMAX YMAX XMAX YMIN 10) # sides ifelse($9,"no", #skip side silk , ElementLine(XMIN YMIN XMAX YMIN 10) ElementLine(XMAX YMAX XMIN YMAX 10) ) Mark(0 0) )') # 0402 package # # 30x30 mil pad, 15 mil metal-metal spacing=> # 15 + 15 + 15 = 45 center-to-center define(`PKG_RC0402', `COMMON_PKG_RCSMT(`$1', `$2', `$3', 30, 30, 45, 0, 10, "no")') # 0603 package # # 40x40 mil pad, 30 mil metal-metal spacing=> # 30 + 20 + 20 = 70 center-to-center define(`PKG_RC0603', `COMMON_PKG_RCSMT(`$1', `$2', `$3', 40, 40, 70, 10, 10)') # 1206 package # # 40x60 mil pad, 90 mil metal-metal spacing=> # 90 + 20 + 20 = 130 center-to-center define(`PKG_RC1206', `COMMON_PKG_RCSMT(`$1', `$2', `$3', 60, 40, 130, 10, 10)') pcb-20110918/example/Makefile.in0000644000012400000240000005347111635447474013162 00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = example DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gl.m4 \ $(top_srcdir)/m4/ax_check_glu.m4 \ $(top_srcdir)/m4/ax_lang_compiler_ms.m4 \ $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/codeset.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/m4/m4_ax_func_mkdir.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(examplesdir)" DATA = $(examples_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BTNMOD = @BTNMOD@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_OR_CXX = @CC_OR_CXX@ CC_OR_CXX_FLAGS = @CC_OR_CXX_FLAGS@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DOC = @DOC@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FONTFILENAME = @FONTFILENAME@ GDLIB_CONFIG = @GDLIB_CONFIG@ GENCAT = @GENCAT@ GERBV = @GERBV@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIBC21 = @GLIBC21@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GLU_CFLAGS = @GLU_CFLAGS@ GLU_LIBS = @GLU_LIBS@ GL_CFLAGS = @GL_CFLAGS@ GL_LIBS = @GL_LIBS@ GMSGFMT = @GMSGFMT@ GNUM4 = @GNUM4@ GREP = @GREP@ GSCHEM = @GSCHEM@ GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@ GTKGLEXT_LIBS = @GTKGLEXT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_UPDATE_ICON_CACHE_BIN = @GTK_UPDATE_ICON_CACHE_BIN@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_WPRINTF = @HAVE_WPRINTF@ HIDLIBS = @HIDLIBS@ HIDLIST = @HIDLIST@ IM_ANIMATE = @IM_ANIMATE@ IM_COMPARE = @IM_COMPARE@ IM_COMPOSITE = @IM_COMPOSITE@ IM_CONVERT = @IM_CONVERT@ IM_DISPLAY = @IM_DISPLAY@ IM_MONTAGE = @IM_MONTAGE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ KDEDATADIR = @KDEDATADIR@ KPSEWHICH = @KPSEWHICH@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LEX_PATH = @LEX_PATH@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBRARYFILENAME = @LIBRARYFILENAME@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ M4 = @M4@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINFO = @MKINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCB = @PCB@ PCBLIBDIR = @PCBLIBDIR@ PCBTREEDIR = @PCBTREEDIR@ PCBTREEPATH = @PCBTREEPATH@ PDFLATEX = @PDFLATEX@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PPMTOWINICON = @PPMTOWINICON@ PS2PDF = @PS2PDF@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SETENV = @SETENV@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TEXI2DVI = @TEXI2DVI@ TOPDIRS = @TOPDIRS@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32 = @WIN32@ WINDRES = @WINDRES@ WISH = @WISH@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XMKMF = @XMKMF@ XPMTOPPM = @XPMTOPPM@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ YACC = @YACC@ YACC_PATH = @YACC_PATH@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ examplesdir = @docdir@/examples examples_DATA = ${EXAMPLES} SUBDIRS = libraries EXTRA_DIST = ${EXAMPLES} EXAMPLES = \ LED.pcb \ LED.net \ LED2.pcb all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign example/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign example/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-examplesDATA: $(examples_DATA) @$(NORMAL_INSTALL) test -z "$(examplesdir)" || $(MKDIR_P) "$(DESTDIR)$(examplesdir)" @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \ done uninstall-examplesDATA: @$(NORMAL_UNINSTALL) @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(examplesdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(examplesdir)" && rm -f $$files # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(examplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-examplesDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-examplesDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-examplesDATA install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-examplesDATA # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: pcb-20110918/example/LED.net0000755000012400000240000000275611307100413012203 00000000000000AGND C8-2 C9-2 C10-2 C11-2 C12-2 C13-2 C20-2 C21-2 R7-2 R9-2 \ R10-2 U2-6 U2-7 U2-8 U2-9 U2-18 U3-2 U3-5 U7-4 DGND C5-2 C6-2 C7-2 C14-2 C15-2 C16-2 C17-1 J3-1 U2-14 U2-19 \ U4-2 U4-5 U5-5 U6-4 X1-2 Minus12V C3-1 C4-1 J3-9 U1-6 Plus12V J3-6 R11-1 R12-2 U1-7 U1-11 S00001 C8-1 C9-1 C10-1 C13-1 C18-1 R2-2 R6-1 R8-1 U2-15 U2-17 \ U3-4 U7-1 U7-7 SIG10 Skinny U1-2 U1-8 U1-15 SIG41 Power C3-2 R3-2 U1-16 SIG43 C4-2 R1-2 U1-1 SIG49 C2-1 R4-2 R6-2 R7-1 U2-4 SIG50 C2-2 R4-1 U1-5 U2-3 SIG51 C1-1 R5-2 R8-2 R9-1 U2-2 SIG52 C1-2 R5-1 U1-12 U2-1 SIG87 U2-10 U2-11 SIG88 U2-12 U2-13 SIG91 C19-1 C20-1 C21-1 U2-16 U7-2 U7-6 SIG100 U2-21 U5-11 SIG101 U2-20 U5-10 SIG124 J2-3 U1-4 SIG125 J2-2 U1-3 SIG127 J1-2 U1-14 SIG139 C11-1 U3-1 SIG146 C12-1 R11-2 U3-6 SIG150 C15-1 R12-1 U4-6 SIG155 C14-1 U4-1 SIG191 U5-16 X1-3 SIG241 U2-26 U5-15 SIG252 R13-1 U4-3 U5-4 SIG258 U5-18 U6-3 SIG259 U5-17 U6-2 SIG285 J3-4 R14-1 U6-7 SIG286 J3-5 R14-2 U6-8 SIG291 U2-22 U5-9 SIG292 U2-23 U5-8 SIG293 U2-24 U5-7 SIG294 U2-25 U5-6 SIG296 J3-2 U6-5 SIG297 J3-3 U6-6 SIG310 J1-1 R10-1 U2-5 SIG311 J1-3 U1-13 SIG321 C5-1 C6-1 C7-1 C16-1 C17-2 R13-2 U2-28 U4-4 U5-14 U6-1 \ X1-4 SIG338 R1-1 R2-1 R3-1 U7-3 SIG341 C18-2 U7-8 SIG343 C19-2 U7-5 pcb-20110918/w32/0000755000012400000240000000000011635447771010143 500000000000000pcb-20110918/w32/Makefile.am0000644000012400000240000000202611621554710012102 00000000000000EXTRA_DIST= build-all.sh minipack.conf mpk README \ patches/gd patches/gd/0001-Export-sysbols-when-building-as-a-DLL.patch \ patches/gd/0002-Libtool-requires-no-undefined-to-build-a-DLL.patch \ patches/gd/0003-Avoid-conflit-between-libjpeg-and-windows-headers.patch \ patches/gettext/01-revert-sed-string.patch \ patches/gettext/02-Avoid-missing-open-argument-error.patch \ patches/gtk+ patches/gtk+/01-mousewheel.patch \ patches/zlib patches/zlib/01-shared-lib-support.patch \ patches/zlib/02-cross-build.patch \ recipes/atk.recipe recipes/cairo.recipe recipes/gd.recipe \ recipes/gettext.recipe recipes/glib.recipe recipes/gtk+.recipe \ recipes/jpeg.recipe recipes/libiconv.recipe recipes/libpng.recipe \ recipes/pango.recipe recipes/pcb.recipe recipes/pixman.recipe \ recipes/tiff.recipe recipes/zlib.recipe \ tools/mpk-build tools/mpk-clean tools/mpk-config.guess \ tools/mpk-help tools/mpk-install tools/mpk-remove tools/mpk-shell \ tools/mpk-source tools/mpk-unpack tools/mpk-version \ tools/tool.template pcb-20110918/w32/recipes/0000755000012400000240000000000011635447771011575 500000000000000pcb-20110918/w32/recipes/glib.recipe0000644000012400000240000000021111621554710013600 00000000000000name=glib version=2.22.2 release=1 download=http://ftp.gnome.org/pub/gnome/sources/glib/2.22 configure_opt=" CXX=${host:+$host-g++} " pcb-20110918/w32/recipes/zlib.recipe0000644000012400000240000000023511621554710013631 00000000000000name=zlib version=1.2.3 release=1 pkg_download=http://prdownloads.sourceforge.net/libpng/zlib-1.2.3.tar.gz?download unset build configure_no_more_flags=true pcb-20110918/w32/recipes/gettext.recipe0000644000012400000240000000025611621554710014360 00000000000000name=gettext version=0.17 release=1 origin=gnu configure_opt=--enable-relocatable # Solve an incompatibility with newer MinGW runtimes export ac_cv_func_getopt_long_only=no pcb-20110918/w32/recipes/atk.recipe0000644000012400000240000000013311621554710013445 00000000000000name=atk version=1.28.0 release=1 download=http://ftp.gnome.org/pub/gnome/sources/atk/1.28 pcb-20110918/w32/recipes/libpng.recipe0000644000012400000240000000037011621554710014144 00000000000000name=libpng version=1.2.40 release=1 origin=sf make_opts="SYMBOL_PREFIX=" src_install() { do_install mkdir -p $local_tooldir cp $tooldir/tool.template $local_tooldir/libpng-config cp $tooldir/tool.template $local_tooldir/libpng12-config } pcb-20110918/w32/recipes/tiff.recipe0000644000012400000240000000012311621554710013615 00000000000000name=tiff version=3.9.1 release=1 download=ftp://ftp.remotesensing.org/pub/libtiff pcb-20110918/w32/recipes/cairo.recipe0000644000012400000240000000022011621554710013760 00000000000000name=cairo version=1.8.8 release=1 download=http://www.cairographics.org/releases case "$host" in *mingw*) configure_opt=--without-x ;; esac pcb-20110918/w32/recipes/pcb.recipe0000644000012400000240000000062211621554710013435 00000000000000name=pcb pkg_builddir=$(cd $bindir/.. && pwd) configure_opt="--disable-update-desktop-database --disable-update-mime-database --disable-dbus" # configure-time test fails because of stdcall signature export ac_cv_func_gdImageGif=yes export ac_cv_func_gdImageJpeg=yes export ac_cv_func_gdImagePng=yes src_configure() { if [ ! -f configure ]; then ./autogen.sh || return 1 fi do_configure } pcb-20110918/w32/recipes/pango.recipe0000644000012400000240000000024711621554710014000 00000000000000name=pango version=1.26.0 release=1 download=http://ftp.gnome.org/pub/gnome/sources/pango/1.26 configure_opt=" --with-included-modules CXX=${host:+$host-g++} " pcb-20110918/w32/recipes/libiconv.recipe0000644000012400000240000000006211621554710014474 00000000000000name=libiconv version=1.13.1 release=1 origin=gnu pcb-20110918/w32/recipes/pixman.recipe0000644000012400000240000000012411621554710014162 00000000000000name=pixman version=0.16.2 release=1 download=http://www.cairographics.org/releases pcb-20110918/w32/recipes/jpeg.recipe0000644000012400000240000000013111621554710013611 00000000000000name=jpeg version=7 release=1 download=http://www.ijg.org/files source=jpegsrc.v7.tar.gz pcb-20110918/w32/recipes/gtk+.recipe0000644000012400000240000000041711621554710013533 00000000000000name=gtk+ version=2.16.6 release=1 download=http://ftp.gnome.org/pub/gnome/sources/gtk+/2.16 configure_opt=" --without-libjasper --disable-cups --disable-gdiplus --with-included-loaders --with-included-immodules --disable-rebuilds CXX=${host:+$host-g++} " pcb-20110918/w32/recipes/gd.recipe0000644000012400000240000000066711621554710013274 00000000000000name=gd version=2.0.35 release=1 download=http://www.libgd.org/releases configure_opt=" --disable-static --enable-shared --without-x " src_prep() { autoreconf -ivf } # Compatibility with existing binary package src_install() { do_install case "$host" in *mingw*) ln -f $resultdir/lib/libgd.dll.a $resultdir/lib/bgd.lib ;; esac mkdir -p $local_tooldir cp $tooldir/tool.template $local_tooldir/gdlib-config } pcb-20110918/w32/mpk0000755000012400000240000000601611621554710010566 00000000000000#! /bin/sh # mpk - top level, user visible script. # Copyright (C) 2008,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Minipack. If not, see . bindir=$(dirname $0) prog=$(basename $0) case $bindir in /*) ;; *) bindir=$PWD/$bindir;; esac mpk=$bindir/$prog prefix=$(cd $bindir && pwd) tooldir=$prefix/tools recipedir=$prefix/recipes patchdir=$prefix/patches MPK_VERSION=1.1.0 export PATH=$tooldir:$PATH test -f ~/minipack.conf && . ~/minipack.conf cwd=$PWD topdir=$cwd until [ "$topdir" = "/" ]; do if [ -f $topdir/minipack.conf ]; then break; fi cd .. topdir=$PWD done cd $cwd if [ "$topdir" = "/" ]; then echo Warning: no minipack.conf found. topdir=$cwd fi builddir=$topdir/build resultdir=$topdir/result sourcedir=$topdir/sources local_tooldir=$resultdir/lib/mpk/tools # Export resultdir in case we need to call our newly built tools. export resultdir test -f $topdir/minipack.conf && . $topdir/minipack.conf # Setup environment variables export PATH=$local_tooldir:$PATH export ACLOCAL="aclocal -I $resultdir/share/aclocal" export ACLOCAL_FLAGS="-I $resultdir/share/aclocal" export PKG_CONFIG_LIBDIR=$resultdir/lib/pkgconfig get_recipe_name() { name=$recipedir/$1.recipe if [ ! -f $name ]; then echo >&2 "Recipe for \"$1\" not found." exit 1 fi echo $name } setup_configure_options() { pkg_configure_opt="$def_configure_opt $configure_opt" pkg_configure_opt="$pkg_configure_opt --prefix=$resultdir" if [ -n "$host" ]; then pkg_configure_opt="$pkg_configure_opt --host=$host" fi if [ -n "$build" ]; then pkg_configure_opt="$pkg_configure_opt --build=$build" fi # Local compiler/linker search path CPPFLAGS="$CPPFLAGS -I$resultdir/include" LDFLAGS="$LDFLAGS -L$resultdir/lib" test -n "$configure_no_more_flags" && return # Add search paths to the configure line. pkg_configure_opt="$pkg_configure_opt CPPFLAGS=\"$CPPFLAGS\"" pkg_configure_opt="$pkg_configure_opt LDFLAGS=\"$LDFLAGS\"" # Add extra flags to the configure line, if present. if [ -n "$CFLAGS" ]; then pkg_configure_opt="$pkg_configure_opt CFLAGS=\"$CFLAGS\"" fi if [ -n "$CXXFLAGS" ]; then pkg_configure_opt="$pkg_configure_opt CXXFLAGS=\"$CXXFLAGS\"" fi } if [ -n "$1" ]; then cmd=$1 shift else echo "$prog: missing argument." cmd=help fi case $cmd in --version) cmd=version ;; --help) cmd=help ;; esac tool=$tooldir/mpk-$cmd if [ -f $tool ]; then . $tool "$@" else echo $prog: Invalid command: $cmd fi pcb-20110918/w32/build-all.sh0000755000012400000240000000070011621554710012247 00000000000000NEVERBUILD=" " NOBUILD=" " BUILD=" jpeg zlib libpng tiff pixman libiconv gettext glib atk cairo pango gtk+ gd pcb " fail() { echo echo "==================" echo "Build failed." echo "==================" exit 1 } succeed() { echo echo "=====================" echo "Build succeeded." echo "=====================" } for D in $BUILD; do ./mpk source $D || fail done for D in $BUILD; do ./mpk build $D || fail done succeed pcb-20110918/w32/Makefile.in0000644000012400000240000003317411635447475012141 00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = w32 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gl.m4 \ $(top_srcdir)/m4/ax_check_glu.m4 \ $(top_srcdir)/m4/ax_lang_compiler_ms.m4 \ $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/codeset.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/m4/m4_ax_func_mkdir.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BTNMOD = @BTNMOD@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_LIBS = @CAIRO_LIBS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_OR_CXX = @CC_OR_CXX@ CC_OR_CXX_FLAGS = @CC_OR_CXX_FLAGS@ CFLAGS = @CFLAGS@ CONVERT = @CONVERT@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DOC = @DOC@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FONTFILENAME = @FONTFILENAME@ GDLIB_CONFIG = @GDLIB_CONFIG@ GENCAT = @GENCAT@ GERBV = @GERBV@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIBC21 = @GLIBC21@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GLU_CFLAGS = @GLU_CFLAGS@ GLU_LIBS = @GLU_LIBS@ GL_CFLAGS = @GL_CFLAGS@ GL_LIBS = @GL_LIBS@ GMSGFMT = @GMSGFMT@ GNUM4 = @GNUM4@ GREP = @GREP@ GSCHEM = @GSCHEM@ GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@ GTKGLEXT_LIBS = @GTKGLEXT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_UPDATE_ICON_CACHE_BIN = @GTK_UPDATE_ICON_CACHE_BIN@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_WPRINTF = @HAVE_WPRINTF@ HIDLIBS = @HIDLIBS@ HIDLIST = @HIDLIST@ IM_ANIMATE = @IM_ANIMATE@ IM_COMPARE = @IM_COMPARE@ IM_COMPOSITE = @IM_COMPOSITE@ IM_CONVERT = @IM_CONVERT@ IM_DISPLAY = @IM_DISPLAY@ IM_MONTAGE = @IM_MONTAGE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ KDEDATADIR = @KDEDATADIR@ KPSEWHICH = @KPSEWHICH@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LEX_PATH = @LEX_PATH@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBRARYFILENAME = @LIBRARYFILENAME@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ M4 = @M4@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINFO = @MKINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PCB = @PCB@ PCBLIBDIR = @PCBLIBDIR@ PCBTREEDIR = @PCBTREEDIR@ PCBTREEPATH = @PCBTREEPATH@ PDFLATEX = @PDFLATEX@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PPMTOWINICON = @PPMTOWINICON@ PS2PDF = @PS2PDF@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SETENV = @SETENV@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TEXI2DVI = @TEXI2DVI@ TOPDIRS = @TOPDIRS@ UPDATE_DESKTOP_DATABASE = @UPDATE_DESKTOP_DATABASE@ UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WIN32 = @WIN32@ WINDRES = @WINDRES@ WISH = @WISH@ XDGDATADIR = @XDGDATADIR@ XGETTEXT = @XGETTEXT@ XMKMF = @XMKMF@ XPMTOPPM = @XPMTOPPM@ X_CFLAGS = @X_CFLAGS@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ YACC = @YACC@ YACC_PATH = @YACC_PATH@ YFLAGS = @YFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = build-all.sh minipack.conf mpk README \ patches/gd patches/gd/0001-Export-sysbols-when-building-as-a-DLL.patch \ patches/gd/0002-Libtool-requires-no-undefined-to-build-a-DLL.patch \ patches/gd/0003-Avoid-conflit-between-libjpeg-and-windows-headers.patch \ patches/gettext/01-revert-sed-string.patch \ patches/gettext/02-Avoid-missing-open-argument-error.patch \ patches/gtk+ patches/gtk+/01-mousewheel.patch \ patches/zlib patches/zlib/01-shared-lib-support.patch \ patches/zlib/02-cross-build.patch \ recipes/atk.recipe recipes/cairo.recipe recipes/gd.recipe \ recipes/gettext.recipe recipes/glib.recipe recipes/gtk+.recipe \ recipes/jpeg.recipe recipes/libiconv.recipe recipes/libpng.recipe \ recipes/pango.recipe recipes/pcb.recipe recipes/pixman.recipe \ recipes/tiff.recipe recipes/zlib.recipe \ tools/mpk-build tools/mpk-clean tools/mpk-config.guess \ tools/mpk-help tools/mpk-install tools/mpk-remove tools/mpk-shell \ tools/mpk-source tools/mpk-unpack tools/mpk-version \ tools/tool.template all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign w32/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign w32/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: pcb-20110918/w32/README0000644000012400000240000000400611621554710010726 00000000000000======== Minipack ======== Homepage: http://code.google.com/p/minipack This minipack distribution was customized for the PCB project. Minipack is an automated build tool. Given a set of recipes and patches, it downloads the sources, unpacks them, applies local patches, builds them and installs them. Its primary use is for cross-compiling free software to Windows, but minipack is more general-purpose than that. To install, unpack it in any directory, and optionally set the PATH to it. The tool can be run from anywhere, but it looks for a minipack.conf file in the current directory or in a parent directory. Some recipes for cross-compiling to Windows are included in the distribution: * libraries: gtk+, guile, gd, freetype, libpng, jpeg, zlib, gettext. * applications: gEDA/gaf, PCB. See the 'recipes' directory for a full list. When cross-compiling, you need a suitable cross-compiler for the host you are targeting. On Debian and derivatives, you can type 'sudo apt-get install mingw32' to get a MinGW cross-compiler. You can also build your own by using the build script provided by the MinGW project. Modify the host setting in the minipack.conf file to reflect the cross-compiler being used. It can be found as the prefix of the compiler, eg. i586-mingw32msvc. The build-all.sh script can be used to build all packages in one run. Edit the BUILD list to select only a subset. Beware, some recipes require a native version of pkg-config, others need the autotools and/or intltool as well. ======= mpk ======= The main (and only) tool of minipack is called mpk: * mpk build - download, unpack, and build a package. * mpk unpack - download and unpack a package * mpk source - download a source package * mpk shell [package] - enter a shell with a pre-defined build environment A cache of downloaded sources is kept in the 'sources' directory. To add more recipes to minipack, place the recipe in the 'recipes' directory and place the patches in a subdirectory of the 'patches' directory. Have fun! pcb-20110918/w32/tools/0000755000012400000240000000000011635447771011303 500000000000000pcb-20110918/w32/tools/mpk-version0000644000012400000240000000042211621554710013401 00000000000000echo "$prog (Minipack) $MPK_VERSION Copyright (C) 2008,2010 Cesar Strauss License GPLv2+: GNU GPL version 2 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." pcb-20110918/w32/tools/mpk-build0000644000012400000240000000417711621554710013026 00000000000000# mpk-build - Build packages. # Copyright (C) 2008,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . build_source() { : ${top_srcdir:=$name-$version} : ${pkg_builddir:=$builddir/$name-$version-$release/$top_srcdir} if [ ! -d $pkg_builddir ]; then $mpk unpack $pkg if [ $? != 0 -o ! -d $pkg_builddir ]; then echo >&2 "$(basename $0) build: Could not unpack $pkg" exit 1 fi fi cd $pkg_builddir src_build && success } src_build() { do_build } src_configure() { do_configure } src_compile() { do_compile } src_install() { do_install } do_build() { src_configure || fail src_compile || fail src_install || fail } do_configure() { setup_configure_options echo "Configuring $pkg..." mkdir -p ../logs echo "$pkg_configure_opt" | xargs ./configure > ../logs/configure.log } do_compile() { echo "Compiling $pkg..." mkdir -p ../logs make $default_make_opts $make_opts > ../logs/make.log } do_install() { echo "Installing $pkg..." mkdir -p ../logs make install > ../logs/install.log } fail() { echo echo "=================" echo "$pkg:" echo " Build failed." echo "=================" echo exit 1 } success() { echo echo "====================" echo "$pkg:" echo " Build succeeded." echo "====================" echo } if [ -z "$1" ]; then echo "Usage: $(basename $0) build package-name" exit 1 fi pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) build package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe build_source pcb-20110918/w32/tools/mpk-source0000644000012400000240000000364511621554710013226 00000000000000# mpk-source - downloads source code. # Copyright (C) 2008,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . get_source() { do_get_source } do_get_source() { : ${source_package_type:=tar.gz} : ${source:=$name-$version.$source_package_type} : ${gnu_mirror:=http://ftp.gnu.org/pub/gnu} if [ -z "$force" -a -e $sourcedir/$source ]; then exit 0 fi if [ -n "$origin" ]; then case $origin in gnu) pkg_download="$gnu_mirror/$name/$source";; sf) pkg_download="http://downloads.sourceforge.net/sourceforge/$name/$source";; *) echo >&2 "$name: Unknown origin."; exit 1;; esac fi if [ -n "$download" ]; then pkg_download=$download/$source fi if [ -z "$pkg_download" ]; then echo >&2 "$name: download location not found." exit 1 fi mkdir -p $sourcedir/partial cd $sourcedir/partial echo Downloading $name from $pkg_download ... wget -c $pkg_download if [ $? != 0 ]; then echo >&2 "$(basename $0) source: Failed to download $name" exit 1 fi mv $sourcedir/partial/$source $sourcedir } case $1 in -f|--force) force=yes; shift;; -*) echo "$(basename $0) source: unrecognized option"; exit 1;; esac pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) source package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe get_source pcb-20110918/w32/tools/mpk-clean0000644000012400000240000000201411621554710012775 00000000000000# mpk-clean - Clean build directory. # Copyright (C) 2009,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . clean() { buildroot=$builddir/$name-$version-$release rm -rf "$buildroot" } if [ -z "$1" ]; then echo "Usage: $(basename $0) clean package-name" exit 1 fi pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) clean package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe clean pcb-20110918/w32/tools/mpk-config.guess0000755000012400000240000012706111621554710014322 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa:Linux:*:*) echo xtensa-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: pcb-20110918/w32/tools/mpk-install0000644000012400000240000000270111621554710013364 00000000000000# mpk-install - Install packages. # Copyright (C) 2009,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . install() { : ${top_srcdir:=$name-$version} pkg_builddir=$builddir/$name-$version-$release/$top_srcdir if [ ! -d $pkg_builddir ]; then echo >&2 "$(basename $0) install: Could not find the build location of $pkg." fail fi cd $pkg_builddir if [ ! -f Makefile ]; then echo >&2 "$(basename $0) install: $pkg not build yet." fi (make install > ../logs/install.log) || fail } fail() { echo echo "=================" echo "Install failed." echo "=================" exit 1 } if [ -z "$1" ]; then echo "Usage: $(basename $0) install package-name" exit 1 fi pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) install package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe install pcb-20110918/w32/tools/mpk-shell0000644000012400000240000000265711621554710013037 00000000000000# mpk-shell - enters a shell with a pre-defined environment. # Copyright (C) 2008,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . create_shell() { setup_configure_options export mpk_opt="$pkg_configure_opt" export topdir builddir resultdir : ${SHELL:=/bin/sh} echo " ============== Minipack shell ============== The following variables are set: mpk_opt=\"" for opt in $mpk_opt; do echo " $opt" done echo "\" topdir=$topdir builddir=$builddir resultdir=$resultdir Most software can be built like this: echo \"\$mpk_opt\" | xargs ./configure make make install [To exit the Minipack shell, type 'exit']. " $SHELL --login -i echo " ======================== Minipack shell finished. ======================== " } pkg=$1 if [ -n "$pkg" ]; then recipe=$(get_recipe_name $pkg) || exit 1 . $recipe fi create_shell pcb-20110918/w32/tools/mpk-unpack0000644000012400000240000000415711621554710013206 00000000000000# mpk-unpack - unpacks source code. # Copyright (C) 2008 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . unpack_source() { : ${source_package_type:=tar.gz} : ${source:=$name-$version.$source_package_type} : ${top_srcdir:=$name-$version} buildroot=$builddir/$name-$version-$release if [ -d $buildroot/$top_srcdir ]; then exit 0 fi sourcename=$sourcedir/$source if [ ! -e $sourcename ]; then $mpk source $pkg if [ ! -e $sourcename ]; then echo >&2 "$(basename $0) unpack: Could not find source for $pkg" exit 1 fi fi mkdir -p $buildroot cd $buildroot echo "Unpacking $pkg..." case $source_package_type in tar.*) tar -xf $sourcename ;; zip) unzip $sourcename ;; esac if [ $? != 0 ]; then echo >&2 "$(basename $0) unpack: Failed to unpack $sourcename" exit 1 fi cd ${top_srcdir} pkg_patchdir=$patchdir/$name if [ -d $pkg_patchdir ]; then patches=`find $pkg_patchdir -name '*.patch' | sort` for p in $patches; do patch -p1 -i "$p" if [ $? != 0 ]; then echo >&2 "$(basename $0) unpack: Failed apply patches for $sourcename" exit 1 fi done fi src_prep if [ $? != 0 ]; then echo >&2 "$(basename $0) unpack: Failed to prepare build directory for $sourcename" exit 1 fi } src_prep() { do_prep } do_prep() { : } pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) unpack package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe unpack_source pcb-20110918/w32/tools/mpk-remove0000644000012400000240000000267511621554710013225 00000000000000# mpk-remove - Uninstall packages. # Copyright (C) 2008,2010 Cesar Strauss # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . remove() { : ${top_srcdir:=$name-$version} pkg_builddir=$builddir/$name-$version-$release/$top_srcdir if [ ! -d $pkg_builddir ]; then echo >&2 "$(basename $0) remove: Could not find the build location of $pkg." fail fi cd $pkg_builddir if [ ! -f Makefile ]; then echo >&2 "$(basename $0) remove: $pkg not build yet." fi (make uninstall > ../logs/remove.log) || fail } fail() { echo echo "=================" echo "Removal failed." echo "=================" exit 1 } if [ -z "$1" ]; then echo "Usage: $(basename $0) remove package-name" exit 1 fi pkg=$1 if [ -z "$pkg" ]; then echo "Usage: $(basename $0) remove package-name ..." exit 1 fi recipe=$(get_recipe_name $pkg) || exit 1 . $recipe remove pcb-20110918/w32/tools/mpk-help0000644000012400000240000000116711621554710012653 00000000000000echo "Usage: * $prog build - Download, unpack, and build a package. * $prog unpack - Download and unpack a package. * $prog source - Download a source package. * $prog remove - Remove an installed package. * $prog install - Install a previously built package. * $prog clean - Clean the build directory of a package. * $prog shell [package] - Enters a shell with a pre-defined environment. * $prog --version - Show the current Minipack version. * $prog --help - Show this screen. Report bugs to http://code.google.com/p/minipack/issues/list" pcb-20110918/w32/tools/tool.template0000755000012400000240000000007311621554710013723 00000000000000#! /bin/sh prog=`basename $0` ${resultdir}/bin/$prog "$@" pcb-20110918/w32/patches/0000755000012400000240000000000011635447771011572 500000000000000pcb-20110918/w32/patches/gtk+/0000755000012400000240000000000011621554710012415 500000000000000pcb-20110918/w32/patches/gtk+/01-mousewheel.patch0000644000012400000240000000172211621554710015753 00000000000000--- a/gdk/win32/gdkevents-win32.c 2008-10-17 05:06:36.000000000 +0100 +++ b/gdk/win32/gdkevents-win32.c 2008-11-23 14:56:17.000000000 +0000 @@ -2243,7 +2243,7 @@ RECT rect, *drag, orig_drag; POINT point; MINMAXINFO *mmi; - HWND hwnd; + HWND hwnd, hwndc; HCURSOR hcursor; BYTE key_state[256]; HIMC himc; @@ -2855,8 +2855,15 @@ point.x = GET_X_LPARAM (msg->lParam); point.y = GET_Y_LPARAM (msg->lParam); - if ((hwnd = WindowFromPoint (point)) == NULL) - break; + /* Find our toplevel window */ + hwnd = GetAncestor (msg->hwnd, GA_ROOT); + + /* Walk back up to the outermost child at the desired point */ + do { + ScreenToClient (hwnd, &point); + hwndc = ChildWindowFromPoint (hwnd, point); + ClientToScreen (hwnd, &point); + } while (hwndc != hwnd && (hwnd = hwndc, 1)); msg->hwnd = hwnd; if ((new_window = gdk_win32_handle_table_lookup ((GdkNativeWindow) msg->hwnd)) == NULL) pcb-20110918/w32/patches/gd/0000755000012400000240000000000011621554710012147 500000000000000pcb-20110918/w32/patches/gd/0001-Export-sysbols-when-building-as-a-DLL.patch0000644000012400000240000000145111621554710022426 00000000000000From 1173eecef02205a48e4d70535fca91bfdcee3dd9 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Fri, 24 Oct 2008 20:07:43 -0200 Subject: [PATCH] Export symbols when building as a DLL. libtool defines DLL_EXPORT when building a DLL, so we use dllexport in that case. --- gd.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gd.h b/gd.h index f136ea6..4916373 100644 --- a/gd.h +++ b/gd.h @@ -26,8 +26,16 @@ extern "C" { wish to build gd as a static library or by directly including the gd sources in a project. */ +/* libtool defines DLL_EXPORT when building a DLL, so we use dllexport + in that case. +*/ + #ifndef WIN32 #define NONDLL 1 +#else +#ifdef DLL_EXPORT +#define BGDWIN32 1 +#endif #endif /* WIN32 */ #ifdef NONDLL -- 1.5.4.3 pcb-20110918/w32/patches/gd/0002-Libtool-requires-no-undefined-to-build-a-DLL.patch0000644000012400000240000000131711621554710023647 00000000000000From 59069ae7191d091fae75bb57d12651281d6bdee6 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Fri, 24 Oct 2008 20:09:39 -0200 Subject: [PATCH] Libtool requires -no-undefined to build a DLL. --- configure.ac | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index bc7b83c..ed9b052 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,9 @@ case "$target" in *-*-cygwin*) XTRA_LDFLAGS="-no-undefined" os_cygwin=yes ;; + *-*-mingw*) XTRA_LDFLAGS="-no-undefined" + os_cygwin=no + ;; *) XTRA_LDFLAGS= os_cygwin=no ;; -- 1.5.4.3 pcb-20110918/w32/patches/gd/0003-Avoid-conflit-between-libjpeg-and-windows-headers.patch0000644000012400000240000000167511621554710025101 00000000000000From 600059ab3efa924b0a8f3753dce3da2ed0ab89b1 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Fri, 24 Oct 2008 20:12:22 -0200 Subject: [PATCH] Avoid conflit between libjpeg and windows headers. --- gdhelpers.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/gdhelpers.h b/gdhelpers.h index 0c45ad3..6c4b52f 100644 --- a/gdhelpers.h +++ b/gdhelpers.h @@ -31,12 +31,16 @@ int overflow2(int a, int b); #ifdef WIN32 /* 2.0.18: must include windows.h to get CRITICAL_SECTION. */ +#define INT32 INT32_W32 +#define boolean boolean_W32 #include #define gdMutexDeclare(x) CRITICAL_SECTION x #define gdMutexSetup(x) InitializeCriticalSection(&x) #define gdMutexShutdown(x) DeleteCriticalSection(&x) #define gdMutexLock(x) EnterCriticalSection(&x) #define gdMutexUnlock(x) LeaveCriticalSection(&x) +#undef INT32 +#undef boolean #else #ifdef HAVE_PTHREAD #include -- 1.5.4.3 pcb-20110918/w32/patches/gettext/0000755000012400000240000000000011635447771013256 500000000000000pcb-20110918/w32/patches/gettext/01-revert-sed-string.patch0000644000012400000240000000245411621554710020011 00000000000000diff -Nraup gettext-0.17/gettext-runtime/intl/Makefile.in gettext-0.17-1/gettext-runtime/intl/Makefile.in --- gettext-0.17/gettext-runtime/intl/Makefile.in 2007-11-04 19:21:12.000000000 -0200 +++ gettext-0.17-1/gettext-runtime/intl/Makefile.in 2008-04-20 23:40:22.000000000 -0300 @@ -280,10 +280,12 @@ intl-compat.lo: $(srcdir)/intl-compat.c # so that they work with the sed-3.02 that is shipped with MSYS. We can use # GNU bash's $'\n' syntax to obtain such a newline. libintl.res: $(srcdir)/libintl.rc - nl=$$'\n'; \ - sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ - sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ - sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ + sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q};a\ + 0'; \ + sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q};a\ + 0'; \ + sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q};a\ + 0'; \ $(WINDRES) \ "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \ "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \ pcb-20110918/w32/patches/gettext/02-Avoid-missing-open-argument-error.patch0000644000012400000240000000121711621554710023041 00000000000000diff --git a/gettext-tools/src/write-catalog.c b/gettext-tools/src/write-catalog.c index 0447744..ea4f9cf 100644 --- a/gettext-tools/src/write-catalog.c +++ b/gettext-tools/src/write-catalog.c @@ -220,7 +220,9 @@ message catalog has plural form translations, but the output format does not sup /* Open the output file. */ if (!to_stdout) { - fd = open (filename, O_WRONLY | O_CREAT); + fd = open (filename, O_WRONLY | O_CREAT | O_TRUNC, + /* 0666 in portable POSIX notation: */ + S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); if (fd < 0) { const char *errno_description = strerror (errno); pcb-20110918/w32/patches/zlib/0000755000012400000240000000000011621554710012515 500000000000000pcb-20110918/w32/patches/zlib/02-cross-build.patch0000644000012400000240000000377711621554710016141 00000000000000diff --git a/configure b/configure index b81ed63..864bba2 100755 --- a/configure +++ b/configure @@ -41,10 +41,10 @@ old_cflags="$CFLAGS" while test $# -ge 1 do case "$1" in - -h* | --h*) + -h | -help | --help) echo 'usage:' echo ' configure [--shared] [--prefix=PREFIX] [--exec_prefix=EXPREFIX]' - echo ' [--libdir=LIBDIR] [--includedir=INCLUDEDIR]' + echo ' [--libdir=LIBDIR] [--includedir=INCLUDEDIR] [--host=HOST]' exit 0;; -p*=* | --p*=*) prefix=`echo $1 | sed 's/[-a-z_]*=//'`; shift;; -e*=* | --e*=*) exec_prefix=`echo $1 | sed 's/[-a-z_]*=//'`; shift;; @@ -55,6 +55,8 @@ case "$1" in -l* | --l*) libdir="$2"; shift; shift;; -i* | --i*) includedir="$2"; shift; shift;; -s* | --s*) shared=1; shift;; + -host=* | --host=*) host=`echo $1 | sed 's/[-a-z_]*=//'`;shift;; + -host | --host) host="$2"; shift; shift;; *) echo "unknown option: $1"; echo "$0 --help for help"; exit 1;; esac done @@ -66,7 +68,8 @@ int hello() {return getchar();} EOF test -z "$CC" && echo Checking for gcc... -cc=${CC-gcc} +test -n "$host" && cross_gcc=$host-gcc +cc=${CC-${cross_gcc-gcc}} cflags=${CFLAGS-"-O3"} # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure case "$cc" in @@ -74,13 +77,13 @@ case "$cc" in esac BUILDPLATFORM=`(uname -s || echo unknown) 2>/dev/null`; -TARGETPLATFORM=${target-${BUILDPLATFORM}} +HOSTPLATFORM=${host-${BUILDPLATFORM}} if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then CC="$cc" SFLAGS=${CFLAGS-"-fPIC -O3"} CFLAGS="$cflags" - case ${TARGETPLATFORM} in + case ${HOSTPLATFORM} in Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; OS/2* ) EXE='.exe';; @@ -184,7 +187,7 @@ else LDSHARED=${LDSHARED-"cc -shared"};; esac fi -case ${TARGETPLATFORM} in +case ${HOSTPLATFORM} in *CYGWIN* | *Cygwin* | *cygwin* ) # On cygwin, we always build both shared and static libs LIBS="${SHAREDLIB} ${STATICLIB}" pcb-20110918/w32/patches/zlib/01-shared-lib-support.patch0000644000012400000240000002026411621554710017424 00000000000000diff --git a/Makefile.in b/Makefile.in index 2fd6e45..eb980dc 100755 --- a/Makefile.in +++ b/Makefile.in @@ -28,10 +28,14 @@ LDFLAGS=libz.a LDSHARED=$(CC) CPP=$(CC) -E -LIBS=libz.a +STATICLIB=libz.a SHAREDLIB=libz.so SHAREDLIBV=libz.so.1.2.3 SHAREDLIBM=libz.so.1 +IMPORTLIB= +SHAREDLIBPOST='(rm -f $(SHAREDLIB) $(SHAREDLIBM); ln -s $@ $(SHAREDLIB) ; ln -s $@ $(SHAREDLIBM) )' +SHAREDTARGET=$(SHAREDLIBV) +LIBS=$(STATICLIB) AR=ar rc RANLIB=ranlib @@ -42,6 +46,7 @@ EXE= prefix = /usr/local exec_prefix = ${prefix} libdir = ${exec_prefix}/lib +bindir = ${exec_prefix}/bin includedir = ${prefix}/include mandir = ${prefix}/share/man man3dir = ${mandir}/man3 @@ -67,7 +72,7 @@ test: all echo ' *** zlib test FAILED ***'; \ fi -libz.a: $(OBJS) $(OBJA) +$(STATICLIB): $(OBJS) $(OBJA) $(AR) $@ $(OBJS) $(OBJA) -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 @@ -77,11 +82,9 @@ match.o: match.S mv _match.o match.o rm -f _match.s -$(SHAREDLIBV): $(OBJS) +$(SHAREDTARGET): $(OBJS) $(LDSHARED) -o $@ $(OBJS) - rm -f $(SHAREDLIB) $(SHAREDLIBM) - ln -s $@ $(SHAREDLIB) - ln -s $@ $(SHAREDLIBM) + $(SHAREDLIBPOST) example$(EXE): example.o $(LIBS) $(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS) @@ -90,37 +93,58 @@ minigzip$(EXE): minigzip.o $(LIBS) $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) install: $(LIBS) - -@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi - -@if [ ! -d $(includedir) ]; then mkdir -p $(includedir); fi - -@if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi - -@if [ ! -d $(man3dir) ]; then mkdir -p $(man3dir); fi - cp zlib.h zconf.h $(includedir) - chmod 644 $(includedir)/zlib.h $(includedir)/zconf.h - cp $(LIBS) $(libdir) - cd $(libdir); chmod 755 $(LIBS) - -@(cd $(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 - cd $(libdir); if test -f $(SHAREDLIBV); then \ - rm -f $(SHAREDLIB) $(SHAREDLIBM); \ - ln -s $(SHAREDLIBV) $(SHAREDLIB); \ - ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ - (ldconfig || true) >/dev/null 2>&1; \ - fi - cp zlib.3 $(man3dir) - chmod 644 $(man3dir)/zlib.3 + -@if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir -p $(DESTDIR)$(exec_prefix); fi + -@if [ ! -d $(DESTDIR)$(includedir) ]; then mkdir -p $(DESTDIR)$(includedir); fi + -@if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi + -@if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi + -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi + cp zlib.h zconf.h $(DESTDIR)$(includedir) + chmod 644 $(DESTDIR)$(includedir)/zlib.h $(DESTDIR)$(includedir)/zconf.h + cp zlib.3 $(DESTDIR)$(man3dir) + chmod 644 $(DESTDIR)$(man3dir)/zlib.3 +# Install static lib (and import lib, if set) into libdir # The ranlib in install is needed on NeXTSTEP which checks file times + -cp $(STATICLIB) $(IMPORTLIB) $(DESTDIR)$(libdir) + -@(cd $(DESTDIR)$(libdir); \ + $(RANLIB) libz.a || true; \ + chmod 755 $(STATICLIB) $(IMPORTLIB)) >/dev/null 2>&1 +# Install shared lib -- if IMPORTLIB is set, then sharedlib goes into bindir # ldconfig is for Linux + if test -z "$(IMPORTLIB)" ; then \ + if test -n "$(SHAREDTARGET)" ; then \ + if test -f "$(SHAREDTARGET)" ; then \ + cp $(SHAREDTARGET) $(DESTDIR)$(libdir); \ + fi; \ + fi; \ + cd $(DESTDIR)$(libdir); \ + if test -n "$(SHAREDLIBV)" ; then \ + if test -f "$(SHAREDLIBV)" ; then \ + rm -f $(SHAREDLIB) $(SHAREDLIBM); \ + ln -s $(SHAREDLIBV) $(SHAREDLIB); \ + ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ + (ldconfig || true) >/dev/null 2>&1; \ + fi; \ + fi; \ + else \ + cp $(SHAREDTARGET) $(DESTDIR)$(bindir); \ + (cd $(DESTDIR)$(bindir); chmod 755 $(SHAREDTARGET)); \ + fi uninstall: - cd $(includedir); \ - cd $(libdir); rm -f libz.a; \ - if test -f $(SHAREDLIBV); then \ - rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ + cd $(DESTDIR)$(includedir); \ + cd $(DESTDIR)$(libdir); rm -f $(STATICLIB) $(IMPORTLIB); \ + if test -f "$(SHAREDLIBV)"; then \ + if test -f "$(SHAREDLIBV)"; then \ + rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ + fi \ fi - cd $(man3dir); rm -f zlib.3 + cd $(DESTDIR)$(man3dir); rm -f zlib.3 + cd $(DESTDIR)$(bindir); (rm -f $(SHAREDLIB) || true) > /dev/null 2>&1 mostlyclean: clean clean: rm -f *.o *~ example$(EXE) minigzip$(EXE) \ + $(STATICLIB) $(IMPORTLIB) $(SHAREDLIBV) $(SHAREDLIBV) $(SHAREDLIBM) \ libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o diff --git a/configure b/configure index d7ffdc3..b81ed63 100755 --- a/configure +++ b/configure @@ -18,8 +18,9 @@ # If you have problems, try without defining CC and CFLAGS before reporting # an error. -LIBS=libz.a -LDFLAGS="-L. ${LIBS}" +STATICLIB=libz.a +old_ldflags="$LDFLAGS" +LDFLAGS="-L. ${STATICLIB}" VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h` @@ -28,6 +29,7 @@ RANLIB=${RANLIB-"ranlib"} prefix=${prefix-/usr/local} exec_prefix=${exec_prefix-'${prefix}'} libdir=${libdir-'${exec_prefix}/lib'} +bindir=${bindir-'${exec_prefix}/bin'} includedir=${includedir-'${prefix}/include'} mandir=${mandir-'${prefix}/share/man'} shared_ext='.so' @@ -71,13 +73,32 @@ case "$cc" in *gcc*) gcc=1;; esac +BUILDPLATFORM=`(uname -s || echo unknown) 2>/dev/null`; +TARGETPLATFORM=${target-${BUILDPLATFORM}} + if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then CC="$cc" SFLAGS=${CFLAGS-"-fPIC -O3"} CFLAGS="$cflags" - case `(uname -s || echo unknown) 2>/dev/null` in + case ${TARGETPLATFORM} in Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; - CYGWIN* | Cygwin* | cygwin* | OS/2* ) + OS/2* ) + EXE='.exe';; + *CYGWIN* | *Cygwin* | *cygwin* ) + SFLAGS=${CFLAGS} + LDFLAGS="-L. -lz ${old_ldflags}" + shared_ext='.dll' + SHAREDLIB='cygz.dll' + IMPORTLIB='libz.dll.a' + LDSHARED=${LDSHARED-"${CC} -shared -Wl,-export-all -Wl,--enable-auto-image-base -Wl,--out-implib=${IMPORTLIB}"} + EXE='.exe';; + *MINGW* | *Mingw* | *mingw* ) + SFLAGS=${CFLAGS} + LDFLAGS="-L. -lz ${old_ldflags}" + shared_ext='.dll' + SHAREDLIB='libz.dll' + IMPORTLIB='libz.dll.a' + LDSHARED=${LDSHARED-"${CC} -shared -Wl,-export-all -Wl,--enable-auto-image-base -Wl,--out-implib=${IMPORTLIB}"} EXE='.exe';; QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4 # (alain.bonnefoy@icbt.com) @@ -163,6 +184,20 @@ else LDSHARED=${LDSHARED-"cc -shared"};; esac fi +case ${TARGETPLATFORM} in + *CYGWIN* | *Cygwin* | *cygwin* ) + # On cygwin, we always build both shared and static libs + LIBS="${SHAREDLIB} ${STATICLIB}" + SHAREDLIBPOST='/bin/true' + SHAREDTARGET=${SHAREDLIB} + ;; + *MINGW* | *Mingw* | *mingw* ) + # On Mingw-cygwin-special, we always build both shared and static libs + LIBS="${SHAREDLIB} ${STATICLIB}" + SHAREDLIBPOST='/bin/true' + SHAREDTARGET=${SHAREDLIB} + ;; + *) SHAREDLIB=${SHAREDLIB-"libz$shared_ext"} SHAREDLIBV=${SHAREDLIBV-"libz$shared_ext.$VER"} @@ -186,10 +221,14 @@ if test $shared -eq 1; then fi if test $shared -eq 0; then LDSHARED="$CC" - echo Building static library $LIBS version $VER with $CC. + LIBS="$STATICLIB" + LDFLAGS="-L. ${STATICLIB}" + echo Building static library $STATICLIB version $VER with $CC. else LDFLAGS="-L. ${SHAREDLIBV}" fi + ;; +esac cat > $test.c < @@ -444,15 +483,20 @@ sed < Makefile.in " /^CPP *=/s#=.*#=$CPP# /^LDSHARED *=/s#=.*#=$LDSHARED# /^LIBS *=/s#=.*#=$LIBS# +/^STATICLIB *=/s#=.*#=$STATICLIB# /^SHAREDLIB *=/s#=.*#=$SHAREDLIB# /^SHAREDLIBV *=/s#=.*#=$SHAREDLIBV# /^SHAREDLIBM *=/s#=.*#=$SHAREDLIBM# +/^IMPORTLIB *=/s#=.*#=$IMPORTLIB# +/^SHAREDLIBPOST *=/s#=.*#=$SHAREDLIBPOST# +/^SHAREDTARGET *=/s#=.*#=$SHAREDTARGET# /^AR *=/s#=.*#=$AR# /^RANLIB *=/s#=.*#=$RANLIB# /^EXE *=/s#=.*#=$EXE# /^prefix *=/s#=.*#=$prefix# /^exec_prefix *=/s#=.*#=$exec_prefix# /^libdir *=/s#=.*#=$libdir# +/^bindir *=/s#=.*#=$bindir# /^includedir *=/s#=.*#=$includedir# /^mandir *=/s#=.*#=$mandir# /^LDFLAGS *=/s#=.*#=$LDFLAGS# pcb-20110918/w32/minipack.conf0000644000012400000240000000164411621554710012515 00000000000000# Change the host for your toolchain. # Or comment to use native building. host=i586-mingw32msvc # Guess the build platform. build=`mpk-config.guess` # Some useful mingw 32-bit flags. CFLAGS='-O3 -s -mms-bitfields -march=i686' CXXFLAGS=$CFLAGS # Useful for multi-core CPUs default_make_opts=-j3 # Needed (at least on Ubuntu 9.10) so mingw-runtime include files # can override certain ones provided by mingw-gcc. CPPFLAGS=-B/usr/i586-mingw32msvc # Place your favorite GNU mirror here. gnu_mirror=http://ftp.unicamp.br/pub/gnu # Full path to the source cache. # Default: $topdir/sources # sourcedir= # Full path to the directory to place the results. # Default: $topdir/result # resultdir= # Full path to the build directory. # Default: $topdir/build # builddir= # Full path to the build recipes directory. # Default: $prefix/recipes # recipedir= # Full path to the patches directory. # Default: $prefix/patches # patchdir= pcb-20110918/intltool-extract.in0000644000012400000240000000000011635447470013276 00000000000000pcb-20110918/Makefile.am0000644000012400000240000000130211621554710011463 00000000000000## -*- makefile -*- ## $Id$ ## ## Top level automake file for PCB DIRS= w32 intl gts src data lib newlib example tools tutorial README_FILES po tests SUBDIRS= ${DIRS} @DOC@ DIST_SUBDIRS= ${DIRS} doc INTLTOOL_FILES = intltool-extract.in intltool-merge.in intltool-update.in EXTRA_DIST= config.rpath globalconst.h README.git README.w32 icon-theme-installer $(INTLTOOL_FILES) DISTCLEANFILES= configure.lineno intltool-extract intltool-merge intltool-update po/.intltool-merge-cache MAINTAINERCLEANFILES= $(INTLTOOL_FILES) ACLOCAL_AMFLAGS = -I m4 DISTCHECK_CONFIGURE_FLAGS := ${DISTCHECK_CONFIGURE_FLAGS} --disable-update-mime-database --disable-update-desktop-database GTK_UPDATE_ICON_THEME_BIN=true pcb-20110918/lib/0000755000012400000240000000000011635447772010277 500000000000000pcb-20110918/lib/jerry.m40000644000012400000240000001200211140202114011551 00000000000000divert(-1) # # COPYRIGHT # # PCB, interactive printed circuit board design # Copyright (C) 1994,1995,1996 Thomas Nau # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Contact addresses for paper mail and Email: # Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany # Thomas.Nau@rz.uni-ulm.de # # RCS: $Id$ # # Arcade machine parts needed by Scott "Jerry" Lawrence # jsl@absynth.com # this should be in the lsi file perhaps. define(`Description_z80_dil', ``Zilog Z80'') define(`Param1_z80_dil', 40) define(`Param2_z80_dil', 600) define(`PinList_z80_dil', ``A11', `A12', `A13', `A14', `A15', `theta', `D3', `D4', `D5', `D6', `+5v', `D2', `D7', `D0', `D1', `/INT', `/NMI', `/HALT', `/MREQ', `/IORQ', `/RD', `/WR', `/BUSAK', `/WAIT', `/BUSRQ', `/RESET', `/M1', `/RFSH', `GND', `A0', `A1', `A2', `A3', `A4', `A5', `A6', `A7', `A8', `A9', `A10'') # these should be in the memory file. # RAM define(`Description_4016_dil', ``Static RAM 2Kx8'') define(`Param1_4016_dil', 24) define(`Param2_4016_dil', 600) define(`PinList_4016_dil', ``A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`/W',`A9',`A8',`Vcc'') define(`Description_6116_dil', ``Static RAM 2Kx8'') define(`Param1_6116_dil', 24) define(`Param2_6116_dil', 600) define(`PinList_6116_dil', ``A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`/We',`A9',`A8',`Vcc'') define(`Description_2114_dil', ``Static RAM 1Kx4'') define(`Param1_2114_dil', 18) define(`Param2_2114_dil', 300) define(`PinList_2114_dil', ``A6', `A5', `A4', `A3', `A0', `A1', `A2', `/Ce', `Gnd', `/We', `D3', `D2', `D1', `D0', `A9', `A8', `A7', `Vcc'') # some Dallas Semiconductor parts: # http://www.dalsemi.com/products/memory/index.html # Battery Backed NVSRAM define(`Description_DS1220_dil', ``NVSRAM 2Kx8'') define(`Param1_DS1220_dil', 24) define(`Param2_DS1220_dil', 600) define(`PinList_DS1220_dil', ``A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`/We',`A9',`A8',`Vcc'') define(`Description_DS1225_dil', ``NVSRAM 8Kx8'') define(`Param1_DS1225_dil', 28) define(`Param2_DS1225_dil', 600) define(`PinList_DS1225_dil', ``n/c', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`A11',`A9',`A8',`n/c', `/We', `Vcc'') define(`Description_DS1230_dil', ``NVSRAM 32Kx8'') define(`Param1_DS1230_dil', 28) define(`Param2_DS1230_dil', 600) define(`PinList_DS1230_dil', ``A14', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Ce',`A10',`/Oe',`A11',`A9',`A8',`A13', `/We', `Vcc'') # EPROM define(`Description_2532_dil', ``EPROM 4Kx8'') define(`Param1_2532_dil', 24) define(`Param2_2532_dil', 600) define(`PinList_2532_dil', ``A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`A11',`A10',`/Oe',`Vpp',`A9',`A8',`Vcc'') define(`Description_2716_dil', ``EPROM 2Kx8'') define(`Param1_2716_dil', 24) define(`Param2_2716_dil', 600) define(`PinList_2716_dil', ``n/c',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/CeP',`A10',`/Oe',`Vpp',`A9',`A8',`Vcc'') define(`Description_2732_dil', ``EPROM 4Kx8'') define(`Param1_2732_dil', 24) define(`Param2_2732_dil', 600) define(`PinList_2732_dil', ``A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8',`Vcc'') define(`Description_2764_dil', ``EPROM 8Kx8'') define(`Param1_2764_dil', 28) define(`Param2_2764_dil', 600) define(`PinList_2764_dil', ``Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `n/c', `/PGM', `Vcc'') define(`Description_27128_dil', ``EPROM 16Kx8'') define(`Param1_27128_dil', 28) define(`Param2_27128_dil', 600) define(`PinList_27128_dil', ``Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `A13', `A14', `Vcc'') define(`Description_27256_dil', ``EPROM 32Kx8'') define(`Param1_27256_dil', 28) define(`Param2_27256_dil', 600) define(`PinList_27256_dil', ``Vpp', `A12', `A7',`A6',`A5',`A4',`A3',`A2',`A1',`A0',`D0',`D1',`D2',`Gnd',`D3',`D4',`D5',`D6',`D7',`/Cs',`A10',`/Oe',`A11',`A9',`A8', `A13', `A14', `Vcc'') divert(0)dnl pcb-20110918/lib/CreateLibraryContents.sh.in0000755000012400000240000000560711140202114015403 00000000000000#!/bin/sh # # COPYRIGHT # # PCB, interactive printed circuit board design # Copyright (C) 1994,1995,1996 Thomas Nau # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Contact addresses for paper mail and Email: # Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany # Thomas.Nau@rz.uni-ulm.de # # RCS: $Id$ # # create all objects as defined in passed list_files # # usage: CreateLibraryContents.sh common_macro_file file... M4=@GNUM4@ ## # Check for input flags ## while test -n "$1" ; do case "$1" in -I|--include) m4_flags="$m4_flags -I $2" srcdir=$2 shift 2 ;; -*) echo "error: unknown flag $1 to $0" exit 1 ;; *) break ;; esac done # a TAB plus one blank for some stupid old sed implementations # SPACE="[ ]" ## # Make sure we've been given a common file plus at least 1 list file # as arguments ## if [ $# -lt 2 ]; then echo "usage: $0 common_macro_file file..." >&2; exit 1 fi CommonFile=$1 shift ## # Make sure the common file exists ## if [ ! -r $CommonFile ]; then echo "$0: file '$CommonFile' isn't readable or doesn't exit" >&2; exit 1 fi ## # Process the list files ## while [ $# -ne 0 ]; do # strip the extension '.list' # ## # Turn something like foo.list in to # /path/to/foo.m4 ## if [ -f $srcdir/$1 ]; then ListFile="$srcdir/$1" else ListFile="$1" fi PlainFile=`dirname $ListFile`/`basename $ListFile .list` M4File=$PlainFile.m4 if [ ! -r $ListFile ]; then echo "$0: file '$ListFile' isn't readable or doesn't exit" >&2; exit 1 fi if [ ! -r $M4File ]; then echo "$0: file '$M4File' isn't readable or doesn't exit" >&2; exit 1 fi ## # for foo.list spit out "TYPE=~foo". This defines the library # in the PCB library window ## echo "TYPE=~`basename $PlainFile | sed -e 's/_/ /g'`" sed -e 's/'"$SPACE"'*#.*$//' \ -e 's/'"$SPACE"'*:'"$SPACE"'*/:/g' \ -e '/^'"$SPACE"'*$/d' $ListFile | { IFS=: export IFS while read mask package values; do set -- $values while [ $# -ne 0 ]; do echo "\`$mask:$package:$1:'Description_$mask\` [$package'ifdef(\`Param1_$mask', \` Param1_$mask')\`'ifdef(\`Param2_$mask', \` Param2_$mask')]" shift done done } | $M4 $m4_flags $CommonFile $M4File - | sed -e '/^'"$SPACE"'*$/d' shift done pcb-20110918/lib/texas_inst_amplifier.list0000755000012400000240000000310211140202114015266 00000000000000# # COPYRIGHT # # PCB, interactive printed circuit board design # Copyright (C) 1994,1995,1996 Thomas Nau # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Contact addresses for paper mail and Email: # Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany # Thomas.Nau@rz.uni-ulm.de # # RCS: $Id$ # # mask package values... # TL070_dil:N:TL070:TL070A TL071_dil:N:TL071:TL071A:TL071B TL072_dil:N:TL072:TL072A:TL072B TL074_dil:N:TL074:TL074A:TL074B TL075_dil:N:TL075 # # TL080_dil:N:TL080:TL080A TL081_dil:N:TL081:TL081A:TL081B TL082_dil:N:TL082:TL082A:TL082B TL083_dil:N:TL083:TL083A TL084_dil:N:TL084:TL084A:TL084B TL085_dil:N:TL085 # TLC271_dil:N:TLC271:TLC271A:TLC271B TLC272_dil:N:TLC272:TLC272A:TLC272B:TLC277 TLC274_dil:N:TLC274:TLC274A:TLC274B:TLC279 # uA709C_dil:N:uA709C uA741C_dil:N:uA741C uA747C_dil:N:uA747C uA748C_dil:N:uA748C # LM324_dil:N:LM124:LM224:LM224A:LM324:LM324A:LM2902 # pcb-20110918/lib/qfp-ui.in0000755000012400000240000002606611140202114011727 00000000000000#!@WISH@ -f # $Id$ # # User Interface that generates custom QFP and SOIC packages for pcb-1.6.3 # Invoked from a line like # esyscmd(qfp-ui $1 $2 $3) # within an m4 macro triggered by pcb-1.6.3 # depends on having the Right [TM] m4 macro PKG_QFP in qfp.inc # Copyright 1999 Larry Doolittle # # SOIC support added Jan 2000 Larry Doolittle # Use nX==0 for that mode. # # Parts library added Feb 2000 Larry Doolittle # That feature is still rough, but it is useful, and you get the idea # # Refinement of library file usage Mar 2000 Larry Doolittle # Peeks at the X resource Pcb.libraryPath, uses that for a search path # for qfp.dat. Appends .:$HOME to that path, and writes any updates # (via the "Save" button) to $HOME/qfp.dat only. # # Wish list: # have someone else test it enough to know what needs fixing # proper support for changing pin 1 location # more choices of outline (at least inboard vs. outboard) # more packages in default qfp.dat, double checked and tested global description boardname partnum set description [ lindex $argv 0 ] set boardname [ lindex $argv 1 ] set partnum [ lindex $argv 2 ] # scaling and centering for canvas; # I use max_pix=380 for big screens, and trim it down to 266 for # use on my 640x480 laptop. # I've never seen any QFP exceed 36 mm, so max_mm=38 should be safe. set max_mm 38 set max_pix 266 global s c set s [ expr $max_pix/$max_mm*.0254 ] set c [ expr 0.5*$max_pix ] # fixme ... maybe put in a search path? Get from environment? set libwritedir "$env(HOME)" global libpath set libpath ".:$libwritedir" global libwritefile set libwritefile "$libwritedir/qfp.dat" # default values of the actual parameters that describe the QFP global istart nX nY pitch pwidth plength lX lY set istart 1 set nX 32 set nY 32 set pitch 8000 set pwidth 10 set plength 50 set lX 1290 set lY 1290 # Define the native units for each dimension # dm is "decimicrons" :-) allows exact conversion from microns or mils foreach v {pwidth plength lX lY} { global ${v}_native set ${v}_native mil } global pitch_native set pitch_native dm set factor(inch) 254000 set factor(mm) 10000 set factor(mil) 254 set factor(dm) 1 proc m4define { name val } { puts "define(`$name', $val)" } proc spit_output { } { global description boardname partnum global pkgname istart nX nY pitch pwidth plength lX lY m4define PITCH $pitch m4define PAD_LENGTH $plength m4define PAD_WIDTH $pwidth m4define ISTART $istart m4define XPADS $nX m4define YPADS $nY m4define X_LENGTH $lX m4define Y_LENGTH $lY puts "PKG_GEN_QFP($description, $boardname, $partnum)" exit } proc state_encode { } { global description boardname partnum global pkgname istart nX nY pitch pwidth plength lX lY return "$pitch $plength $pwidth $istart $nX $nY $lX $lY $partnum $description" } proc state_decode { s } { global description boardname partnum global pkgname istart nX nY pitch pwidth plength lX lY regexp {([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([^ ]+) (.*)} $s dummy\ pitch plength pwidth istart nX nY lX lY partnum description } proc woohoo { x y } { global library catch { .p.txt tag delete mine } set loc [ .p.txt index "@$x,$y" ] regexp {([0-9]*)\.} $loc dummy l # puts "woo-hoo $x $y $loc $l" regexp {([^ ]+)} [ .p.txt get $l.0 "$l.0 lineend" ] dummy k if { [ catch { state_decode $library($k) } ] } return .p.txt tag add mine $l.0 "$l.0 lineend" .p.txt tag configure mine -background red push_state_to_screen draw_outline } proc libfiles_read { } { global libpath home if { [ catch { set fd [ open "| appres Pcb" ] } ] } return while { [ gets $fd line ] != -1 } { regexp {([a-zA-Z.]+):[ ] *([^ ]*)} $line dummy res_name res_value if { $res_name == "Pcb.libraryPath" } { set libpath "$res_value:$libpath" } } close $fd foreach f [ split $libpath ":" ] { libfile_read "$f/qfp.dat" } } proc libfile_read { filename } { global library if { [ catch { set fd [ open $filename ] } ] } return while { [ gets $fd line ] != -1 } { regexp {[0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ ([^ ]+) .*} $line dummy pn set library($pn) $line } close $fd } proc load_library { } { global library libline if { [ catch { toplevel .p } ] } return wm title .p "qfp-ui-library" frame .p.b button .p.b.dismiss -text "Dismiss" -command "destroy .p" pack .p.b.dismiss -side left pack .p.b -side bottom text .p.txt -width 40 -height 15 -font fixed \ -yscrollcommand ".p.sbar set" scrollbar .p.sbar -command ".p.txt yview" pack .p.txt -side left -fill both -expand 1 pack .p.sbar -side right -fill y catch { unset libline } libfiles_read set keys [ lsort [ array names library ] ] foreach d $keys { regexp {[0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ [0-9]+ ([^ ]+) (.*)} $library($d) dummy pn desc paint_lib_entry $pn $desc } .p.txt configure -state disabled bind .p.txt