Browse Source
removed warn compil., updated CMakefiles for macosx and removed obsolete makefile.macosx
pull/1/head
removed warn compil., updated CMakefiles for macosx and removed obsolete makefile.macosx
pull/1/head
32 changed files with 119 additions and 390 deletions
-
83d-viewer/3d_canvas.cpp
-
83d-viewer/3d_frame.cpp
-
33d-viewer/3d_viewer.h
-
293d-viewer/makefile.macosx
-
144common/base_struct.cpp
-
30common/makefile.macosx
-
8cvpcb/CMakeLists.txt
-
41cvpcb/makefile.macosx
-
8eeschema/CMakeLists.txt
-
3eeschema/class_text-label.cpp
-
48eeschema/makefile.macosx
-
8gerbview/CMakeLists.txt
-
40gerbview/makefile.macosx
-
8kicad/CMakeLists.txt
-
42kicad/makefile.macosx
-
19makefile.macosx
-
BINosx-package/__MACOSX/._osx-package.pmdoc
-
1osx-package/osx-package.pmdoc/01cvpcb-contents.xml
-
1osx-package/osx-package.pmdoc/01cvpcb.xml
-
1osx-package/osx-package.pmdoc/02eeschema-contents.xml
-
1osx-package/osx-package.pmdoc/02eeschema.xml
-
1osx-package/osx-package.pmdoc/03pcbnew-contents.xml
-
1osx-package/osx-package.pmdoc/03pcbnew.xml
-
1osx-package/osx-package.pmdoc/04kicad-contents.xml
-
1osx-package/osx-package.pmdoc/04kicad.xml
-
1osx-package/osx-package.pmdoc/05gerbview-contents.xml
-
1osx-package/osx-package.pmdoc/05gerbview.xml
-
1osx-package/osx-package.pmdoc/06demos-contents.xml
-
1osx-package/osx-package.pmdoc/06demos.xml
-
1osx-package/osx-package.pmdoc/index.xml
-
9pcbnew/CMakeLists.txt
-
40pcbnew/makefile.macosx
@ -1,29 +0,0 @@ |
|||
## Makefile for 3d-viewer.a |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = 3d-viewer.a |
|||
|
|||
all: $(TARGET) |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += -DPCBNEW -I../pcbnew |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS3D) makefile.macosx makefile.include |
|||
rm -f $@ |
|||
ar -rv $@ $(OBJECTS3D) |
|||
ranlib $@ |
|||
|
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -f $(TARGET) |
|||
|
|||
|
|||
|
|||
@ -1,30 +0,0 @@ |
|||
## Makefile for common.a |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = common.a pcbcommon.a |
|||
|
|||
all: $(TARGET) |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
common.a: $(COMMON_OBJECTS) makefile.macosx makefile.include |
|||
rm -f $@ |
|||
ar -rv $@ $(COMMON_OBJECTS) |
|||
ranlib $@ |
|||
|
|||
pcbcommon.a: $(COMMON_PCB_OBJECTS) makefile.macosx makefile.include |
|||
rm -f $@ |
|||
ar -rv $@ $(COMMON_PCB_OBJECTS) |
|||
ranlib $@ |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -f $(TARGET) |
|||
@ -1,41 +0,0 @@ |
|||
## Makefile for kicad |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = cvpcb |
|||
|
|||
all: $(TARGET).app |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS) $(TARGET).r makefile.macosx makefile.include $(EXTRALIBS) ../libs.macosx $(LIBVIEWER3D) |
|||
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBVIEWER3D) $(LIBS3D) -o $(TARGET) |
|||
$(RESCOMP) -o $(TARGET) Carbon.r $(TARGET).r |
|||
$(SETFILE) -a C $(TARGET) |
|||
|
|||
|
|||
$(TARGET).app: $(TARGET) |
|||
rm -rf $(TARGET).app |
|||
mkdir -p $(TARGET).app |
|||
mkdir -p $(TARGET).app/Contents |
|||
mkdir -p $(TARGET).app/Contents/MacOS |
|||
mkdir -p $(TARGET).app/Contents/Resources |
|||
cp $(TARGET).icns $(TARGET).app/Contents/Resources |
|||
cp Info.plist $(TARGET).app/Contents |
|||
echo -n "APPL????" > $(TARGET).app/Contents/PkgInfo |
|||
cp $(TARGET) $(TARGET).app/Contents/MacOS/$(TARGET) |
|||
|
|||
install: $(TARGET).app |
|||
cp -Rf $(TARGET).app $(KICAD_BIN) |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -rf $(TARGET).app |
|||
rm -f $(TARGET) |
|||
@ -1,48 +0,0 @@ |
|||
## Makefile for eeschema |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = eeschema |
|||
|
|||
all: $(TARGET).app netlist_form_pads-pcb |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS) $(TARGET).r makefile.macosx makefile.include $(EXTRALIBS) ../libs.macosx |
|||
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) |
|||
$(RESCOMP) -o $(TARGET) Carbon.r $(TARGET).r |
|||
$(SETFILE) -a C $(TARGET) |
|||
|
|||
|
|||
$(TARGET).app: $(TARGET) |
|||
rm -rf $(TARGET).app |
|||
mkdir -p $(TARGET).app |
|||
mkdir -p $(TARGET).app/Contents |
|||
mkdir -p $(TARGET).app/Contents/MacOS |
|||
mkdir -p $(TARGET).app/Contents/Resources |
|||
cp $(TARGET).icns $(TARGET).app/Contents/Resources |
|||
cp file_sch.icns $(TARGET).app/Contents/Resources |
|||
cp Info.plist $(TARGET).app/Contents |
|||
echo -n "APPL????" > $(TARGET).app/Contents/PkgInfo |
|||
cp $(TARGET) $(TARGET).app/Contents/MacOS/$(TARGET) |
|||
|
|||
netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp |
|||
g++ -D__UNIX__ $(CXXFLAGS) -Wall plugins/netlist_form_pads-pcb.cpp -o netlist_form_pads-pcb |
|||
|
|||
|
|||
install: $(TARGET).app |
|||
cp -Rf $(TARGET).app $(KICAD_BIN) |
|||
cp -f netlist_form_pads-pcb $(KICAD_BIN) |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -rf $(TARGET).app |
|||
rm -f $(TARGET) |
|||
rm -f netlist_form_pads-pcb |
|||
@ -1,40 +0,0 @@ |
|||
## Makefile for gerbview |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = gerbview |
|||
|
|||
all: $(TARGET).app |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS) $(TARGET).r makefile.macosx makefile.include $(EXTRALIBS) ../libs.macosx |
|||
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) |
|||
$(RESCOMP) -o $(TARGET) Carbon.r $(TARGET).r |
|||
$(SETFILE) -a C $(TARGET) |
|||
|
|||
$(TARGET).app: $(TARGET) |
|||
rm -rf $(TARGET).app |
|||
mkdir -p $(TARGET).app |
|||
mkdir -p $(TARGET).app/Contents |
|||
mkdir -p $(TARGET).app/Contents/MacOS |
|||
mkdir -p $(TARGET).app/Contents/Resources |
|||
cp $(TARGET).icns $(TARGET).app/Contents/Resources |
|||
cp Info.plist $(TARGET).app/Contents |
|||
echo -n "APPL????" > $(TARGET).app/Contents/PkgInfo |
|||
cp $(TARGET) $(TARGET).app/Contents/MacOS/$(TARGET) |
|||
|
|||
install: $(TARGET).app |
|||
cp -Rf $(TARGET).app $(KICAD_BIN) |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -rf $(TARGET).app |
|||
rm -f $(TARGET) |
|||
@ -1,42 +0,0 @@ |
|||
## Makefile for kicad |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = kicad |
|||
|
|||
all: $(TARGET).app |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS) $(TARGET).r makefile.macosx makefile.include $(EXTRALIBS) ../libs.macosx |
|||
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) |
|||
$(RESCOMP) -o $(TARGET) Carbon.r $(TARGET).r |
|||
$(SETFILE) -a C $(TARGET) |
|||
|
|||
|
|||
$(TARGET).app: $(TARGET) |
|||
rm -rf $(TARGET).app |
|||
mkdir -p $(TARGET).app |
|||
mkdir -p $(TARGET).app/Contents |
|||
mkdir -p $(TARGET).app/Contents/MacOS |
|||
mkdir -p $(TARGET).app/Contents/Resources |
|||
cp $(TARGET).icns $(TARGET).app/Contents/Resources |
|||
cp file_pro.icns $(TARGET).app/Contents/Resources |
|||
cp Info.plist $(TARGET).app/Contents |
|||
echo -n "APPL????" > $(TARGET).app/Contents/PkgInfo |
|||
cp $(TARGET) $(TARGET).app/Contents/MacOS/$(TARGET) |
|||
|
|||
install: $(TARGET).app |
|||
cp -Rf $(TARGET).app $(KICAD_BIN) |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -rf $(TARGET).app |
|||
rm -f $(TARGET) |
|||
@ -1,19 +0,0 @@ |
|||
KICAD_SUBDIRS = common 3d-viewer polygon eeschema pcbnew cvpcb kicad gerbview |
|||
KICAD_SUBDIRS_BIN = eeschema pcbnew cvpcb kicad gerbview |
|||
# How to invoke make: |
|||
MAKE = make -f makefile.macosx |
|||
MAKE_INSTALL = make -f makefile.macosx install |
|||
MAKE_CLEAN = make -f makefile.macosx clean |
|||
|
|||
|
|||
all: |
|||
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done |
|||
|
|||
deps: |
|||
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE) -k deps); done |
|||
|
|||
install: |
|||
@for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done |
|||
|
|||
clean: |
|||
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE_CLEAN)); done |
|||
@ -1 +0,0 @@ |
|||
<pkg-contents spec="1.12"/> |
|||
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="01774BEE-6C94-4919-AE05-C5E0A75F0D2F"><config><identifier>net.sourceforge.kicad.cvpcb</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">cvpcb/cvpcb.app</installFrom><installTo mod="true" relocatable="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installFrom.path</mod><mod>installTo.isAbsoluteType</mod><mod>relocatable</mod><mod>installFrom.isRelativeType</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>installTo</mod><mod>identifier</mod></config><contents><component id="org.kicad-eda.cvpcb" path="/Users/marco/Development/kicad/kicad_d/cvpcb/cvpcb.app" version=""/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
|||
@ -1 +0,0 @@ |
|||
<pkg-contents spec="1.12"/> |
|||
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="1344870A-AE52-4226-BB60-0E9252D34825"><config><identifier>net.sourceforge.kicad.eeschema</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">eeschema/eeschema.app</installFrom><installTo mod="true" relocatable="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installFrom.path</mod><mod>installTo.isAbsoluteType</mod><mod>installFrom.isAbsoluteType</mod><mod>relocatable</mod><mod>installFrom.isRelativeType</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>installTo</mod><mod>identifier</mod></config><contents><component id="org.kicad-eda.eeschema" path="/Users/marco/Development/kicad/kicad_d/eeschema/eeschema.app" version=""/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
|||
@ -1 +0,0 @@ |
|||
<pkg-contents spec="1.12"/> |
|||
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="37277ADA-6220-4C27-8980-D9028F265267"><config><identifier>net.sourceforge.kicad.pcbnew</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">pcbnew/pcbnew.app</installFrom><installTo mod="true" relocatable="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>identifier</mod><mod>installTo.isAbsoluteType</mod><mod>includeRoot</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><contents><component id="org.kicad-eda.pcbnew" path="/Users/marco/Development/kicad/kicad_d/pcbnew/pcbnew.app" version=""/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
|||
@ -1 +0,0 @@ |
|||
<pkg-contents spec="1.12"/> |
|||
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="16332325-42A3-47AC-AF70-A6501E7A012D"><config><identifier>net.sourceforge.kicad.kicad</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">kicad/kicad.app</installFrom><installTo mod="true" relocatable="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>identifier</mod><mod>installTo.isAbsoluteType</mod><mod>includeRoot</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><contents><component id="org.kicad-eda.kicad" path="/Users/marco/Development/kicad/kicad_d/kicad/kicad.app" version=""/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
|||
@ -1 +0,0 @@ |
|||
<pkg-contents spec="1.12"/> |
|||
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="0D9066DC-1B97-47AB-910B-612A3D447EE8"><config><identifier>net.sourceforge.kicad.gerbview</identifier><version>1</version><description></description><post-install type="none"/><installFrom relative="true" mod="true" includeRoot="true">gerbview/gerbview.app</installFrom><installTo mod="true" relocatable="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installTo</mod><mod>installTo.isAbsoluteType</mod><mod>version</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>identifier</mod><mod>installFrom.path</mod></config><contents><component id="org.kicad-eda.gerbview" path="/Users/marco/Development/kicad/kicad_d/gerbview/gerbview.app" version=""/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
|||
1
osx-package/osx-package.pmdoc/06demos-contents.xml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1 +0,0 @@ |
|||
<pkgref spec="1.12" uuid="29C97DEE-FDAD-474F-BB53-64DD599F7ADB"><config><identifier>net.sourceforge.kicad.demos</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">demos</installFrom><installTo mod="true">/Applications/Kicad</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installTo</mod><mod>requireAuthorization</mod><mod>installTo.isAbsoluteType</mod><mod>installTo.isRelativeType</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>identifier</mod><mod>installFrom.path</mod></config><contents><file-list>06demos-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter><filter>/CMake</filter><filter>/cmake</filter><filter>/Makefile</filter></contents></pkgref> |
|||
@ -1 +0,0 @@ |
|||
<pkmkdoc spec="1.12"><properties><title>Kicad</title><build>/Users/marco/Development/kicad/kicad_d/Kicad.mpkg</build><organization>net.sourceforge.kicad</organization><userSees ui="both"/><min-target os="2"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="cvpcb" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.cvpcb"/></choice><choice title="eeschema" id="choice1" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.eeschema"/></choice><choice title="pcbnew" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.pcbnew"/></choice><choice title="kicad" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.kicad"/></choice><choice title="gerbview" id="choice4" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.gerbview"/></choice><choice title="demos" id="choice10" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.sourceforge.kicad.demos"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">AUTHORS.txt</resource></locale></resources><flags/><item type="file">01cvpcb.xml</item><item type="file">02eeschema.xml</item><item type="file">03pcbnew.xml</item><item type="file">04kicad.xml</item><item type="file">05gerbview.xml</item><item type="file">06demos.xml</item><mod>properties.anywhereDomain</mod><mod>properties.title</mod></pkmkdoc> |
|||
@ -1,40 +0,0 @@ |
|||
## Makefile for pcbnew |
|||
|
|||
include ../libs.macosx |
|||
|
|||
TARGET = pcbnew |
|||
|
|||
all: $(TARGET).app |
|||
|
|||
deps: |
|||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null |
|||
|
|||
include makefile.include |
|||
-include *.d |
|||
|
|||
CPPFLAGS += $(EXTRACPPFLAGS) |
|||
EDACPPFLAGS = $(CPPFLAGS) |
|||
|
|||
$(TARGET): $(OBJECTS) $(TARGET).r makefile.macosx makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ../libs.macosx |
|||
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS3D) -o $(TARGET) |
|||
$(RESCOMP) -o $(TARGET) Carbon.r $(TARGET).r |
|||
$(SETFILE) -a C $(TARGET) |
|||
|
|||
$(TARGET).app: $(TARGET) |
|||
rm -rf $(TARGET).app |
|||
mkdir -p $(TARGET).app |
|||
mkdir -p $(TARGET).app/Contents |
|||
mkdir -p $(TARGET).app/Contents/MacOS |
|||
mkdir -p $(TARGET).app/Contents/Resources |
|||
cp $(TARGET).icns $(TARGET).app/Contents/Resources |
|||
cp Info.plist $(TARGET).app/Contents |
|||
echo -n "APPL????" > $(TARGET).app/Contents/PkgInfo |
|||
cp $(TARGET) $(TARGET).app/Contents/MacOS/$(TARGET) |
|||
|
|||
install: $(TARGET).app |
|||
cp -Rf $(TARGET).app $(KICAD_BIN) |
|||
|
|||
clean: |
|||
rm -f *.o; rm -f *~ |
|||
rm -rf $(TARGET).app |
|||
rm -f $(TARGET) |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue