--- /dev/null
+# intentionally want to rebuild drc and bom on every invocation
+all: drc partslist
+
+drc: greenhouse.sch
+ -gnetlist -g drc2 greenhouse.sch -o greenhouse.drc
+
+partslist: greenhouse.sch
+ gnetlist -g bom -o greenhouse.unsorted greenhouse.sch
+ head -n1 greenhouse.unsorted > partslist
+ tail -n+2 greenhouse.unsorted | sort >> partslist
+ rm -f greenhouse.unsorted
+
+pcb: greenhouse.sch project
+ gsch2pcb project
+
+# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this
+# might be a really good idea for publishing designs to the web that others
+# might review? Like this example from DJ:
+#
+#web :
+# for i in channel.sch ethernet.sch power.sch mcu.sch; do \
+# cp $$i tmp.sch ; \
+# gschlas -e tmp.sch ; \
+# mv tmp.sch ${WEB}/$$i; \
+# done
+
+# this shoves local work out to the git.gag.com repository
+push:
+ git push --mirror
+
+zip: greenhouse.back.gbr greenhouse.backmask.gbr greenhouse.fab.gbr greenhouse.front.gbr greenhouse.frontmask.gbr greenhouse.frontpaste.gbr greenhouse.frontsilk.gbr greenhouse.group2.gbr greenhouse.group3.gbr greenhouse.plated-drill.cnc
+ zip greenhouse.zip *.gbr *.cnc
+
+clean:
+ rm -f *.bom *.drc *.log *~ greenhouse.ps *.gbr *.cnc *bak* *- *.zip
+ rm -f *.net *.xy *.cmd *.png partslist
+ rm -f *.partslist *.new.pcb *.unsorted
+
--- /dev/null
+value
+vendor
+vendor_part_number
+footprint
+loadstatus
+device
--- /dev/null
+gschemrc
\ No newline at end of file
--- /dev/null
+gschemrc
\ No newline at end of file
--- /dev/null
+v 20100214 2
+C 40000 40000 0 0 0 EMBEDDEDtitle-D-bdale.sym
+[
+T 56500 41800 5 10 0 0 0 0 1
+graphical=1
+T 66500 40400 15 8 1 0 0 0 1
+FILE:
+T 71500 40400 15 8 1 0 0 0 1
+REVISION:
+T 69400 40400 15 8 1 0 0 0 1
+PAGE
+T 70200 40400 15 8 1 0 0 0 1
+OF
+B 66400 40000 7600 2700 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+L 66400 40600 74000 40600 15 0 0 0 -1 -1
+T 66500 40100 15 10 1 0 0 0 1
+Project URL:
+T 66900 40800 9 10 1 0 0 0 2
+ Copyright 2010 by Bdale Garbee <bdale@gag.com>
+Licensed under the TAPR Open Hardware License, http://www.tapr.org/OHL
+L 66400 41400 74000 41400 15 0 0 0 -1 -1
+B 40000 40000 34000 22000 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+]
+T 67900 41800 9 30 1 0 0 0 1
+Greenhouse Shield
+T 72400 40400 9 10 1 0 0 0 1
+0.1
+T 70000 40400 9 10 1 0 0 0 1
+1
+T 70600 40400 9 10 1 0 0 0 1
+1
+T 67700 40400 9 10 1 0 0 0 1
+greenhouse.sch
--- /dev/null
+;; list libraries here. order matters as this sets the search order
+(component-library "../bdale/sym")
--- /dev/null
+# List all the schematics to be netlisted and laid out on the pc board
+schematics greenhouse.sch
+
+# for an output-name of foo, gsch2pcb generates files foo.net, foo.pcb,
+# and foo.new.pcb. if there is no output name specified, the file names
+# are derived from the first listed schematic...
+output-name greenhouse
+
+elements-dir ../bdale/pkg
+elements-dir /usr/share/pcb
+
+# stick to newlib elements, don't use the older/odder m4 stuff
+skip-m4