freebsd-ports/cad/kicad-devel/files/patch-makefile.gtk
Thierry Thomas 0a7f5f4541 Add Kicad, a software for the creation of electronic schematic
diagrams and printed circuit board artwork.

Kicad is a set of four softwares and a project manager:

    * Eeschema: Schematic entry.
    * Pcbnew: Board editor.
    * Gerbview: GERBER viewer (photoplotter documents).
    * Cvpcb: footprint selector for components used in the circuit design.
    * Kicad: project manager.
2005-12-08 23:30:13 +00:00

24 lines
877 B
Text

--- makefile.gtk.orig Thu Dec 1 20:47:21 2005
+++ makefile.gtk Thu Dec 1 20:56:41 2005
@@ -1,15 +1,16 @@
KICAD_SUBDIRS = common 3d-viewer eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
# How to invoke make:
-MAKE = make -k -f makefile.gtk
-MAKE_INSTALL = make -f makefile.gtk install
+MAKE_FLAGS = -k -f
+MAKEFILE = makefile.gtk
+INSTALL_TARGET = install
ERASE = rm -f *.o
all:
- @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done
+ @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE)); done
install:
- @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done
-
+ @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE) $(INSTALL_TARGET)); done
+
clean:
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(ERASE)); done