From 13a1c6be370e72dec912752eca4b6de24a466b2f Mon Sep 17 00:00:00 2001 From: charras Date: Thu, 7 May 2009 17:33:05 +0000 Subject: [PATCH] delete "old" makefiles. Use CMakefiles only --- bitmaps/makefile.gtk | 10 - bitmaps/makefile.include | 376 ----------------------------- bitmaps/makefile.mingw | 14 -- common/makefile.gtk | 35 --- common/makefile.include | 202 ---------------- common/makefile.mingw | 24 -- cvpcb/makefile.gtk | 30 --- cvpcb/makefile.include | 100 -------- cvpcb/makefile.mingw | 35 --- eeschema/makefile.gtk | 47 ---- eeschema/makefile.include | 204 ---------------- eeschema/makefile.mingw | 32 --- gerbview/makefile.gtk | 35 --- gerbview/makefile.include | 65 ----- gerbview/makefile.mingw | 31 --- kicad/makefile.gtk | 35 --- kicad/makefile.include | 30 --- kicad/makefile.mingw | 33 --- makefile.gtk | 38 --- makefile.mingw | 15 -- pcbnew/makefile.gtk | 36 --- pcbnew/makefile.include | 279 --------------------- pcbnew/makefile.mingw | 32 --- polygon/kbool/src/makefile.gtk | 16 -- polygon/kbool/src/makefile.include | 14 -- polygon/kbool/src/makefile.macosx | 16 -- polygon/kbool/src/makefile.mingw | 16 -- polygon/makefile.gtk | 37 --- polygon/makefile.include | 15 -- polygon/makefile.macosx | 26 -- polygon/makefile.mingw | 18 -- 31 files changed, 1896 deletions(-) delete mode 100644 bitmaps/makefile.gtk delete mode 100644 bitmaps/makefile.include delete mode 100644 bitmaps/makefile.mingw delete mode 100644 common/makefile.gtk delete mode 100644 common/makefile.include delete mode 100644 common/makefile.mingw delete mode 100644 cvpcb/makefile.gtk delete mode 100644 cvpcb/makefile.include delete mode 100644 cvpcb/makefile.mingw delete mode 100644 eeschema/makefile.gtk delete mode 100644 eeschema/makefile.include delete mode 100644 eeschema/makefile.mingw delete mode 100644 gerbview/makefile.gtk delete mode 100644 gerbview/makefile.include delete mode 100644 gerbview/makefile.mingw delete mode 100644 kicad/makefile.gtk delete mode 100644 kicad/makefile.include delete mode 100644 kicad/makefile.mingw delete mode 100644 makefile.gtk delete mode 100644 makefile.mingw delete mode 100644 pcbnew/makefile.gtk delete mode 100644 pcbnew/makefile.include delete mode 100644 pcbnew/makefile.mingw delete mode 100644 polygon/kbool/src/makefile.gtk delete mode 100644 polygon/kbool/src/makefile.include delete mode 100644 polygon/kbool/src/makefile.macosx delete mode 100644 polygon/kbool/src/makefile.mingw delete mode 100644 polygon/makefile.gtk delete mode 100644 polygon/makefile.include delete mode 100644 polygon/makefile.macosx delete mode 100644 polygon/makefile.mingw diff --git a/bitmaps/makefile.gtk b/bitmaps/makefile.gtk deleted file mode 100644 index 5d903039c0..0000000000 --- a/bitmaps/makefile.gtk +++ /dev/null @@ -1,10 +0,0 @@ -include makefile.include - -%.cpp %.o: %$(*).xpm - cp $*.xpm $*.cpp - gcc -DXPMMAIN -c -Wall -O2 -o $@ $*.cpp - rm $*.cpp - -libbitmaps.a: $(OBJECTS) - ar ruv $@ $(OBJECTS) - ranlib $@ diff --git a/bitmaps/makefile.include b/bitmaps/makefile.include deleted file mode 100644 index ed5a3d54d0..0000000000 --- a/bitmaps/makefile.include +++ /dev/null @@ -1,376 +0,0 @@ -# Generate a static library target named "libbitmaps.a" - - -OBJECTS = \ - 3d.o\ - Add_Arc.o\ - Add_Bus2Bus.o\ - add_bus.o\ - Add_Circle.o\ - Add_Component.o\ - Add_Corner.o\ - add_cotation.o\ - Add_Dashed_Line.o\ - Add_Entry.o\ - Add_GLabel.o\ - add_hierarchical_label.o\ - add_hierar_pin.o\ - add_hierar_subsheet.o\ - Add_Junction.o\ - Add_Line2Bus.o\ - Add_Line_Label.o\ - Add_Line.o\ - Add_Mires.o\ - Add_Polygon.o\ - Add_Power.o\ - Add_Rectangle.o\ - Add_Text.o\ - Add_Tracks.o\ - Add_Zone_Cutout.o\ - Add_Zone.o\ - anchor.o\ - annotate_down_right.o\ - annotate_right_down.o\ - annotate.o\ - Apply.o\ - auto_associe.o\ - Auto_track_width.o\ - backanno.o\ - book.o\ - Break_Line.o\ - Browse_Files.o\ - component_select_unit.o\ - component_select_alternate_shape.o\ - cancel_tool.o\ - Cancel.o\ - config.o\ - CopyBlock.o\ - copy.o\ - Cursor_Shape.o\ - cursor.o\ - cut.o\ - dashline.o\ - Datasheet.o\ - del_body.o\ - Delete_Arc.o\ - Delete_Circle.o\ - Delete_Cotation.o\ - Delete_Field.o\ - Delete_Line.o\ - Delete_Module.o\ - Delete_Net.o\ - Delete_Node.o\ - Delete_Pad.o\ - Delete_Polygon.o\ - Delete_Rectangle.o\ - Delete_Segment.o\ - Delete_Text.o\ - Delete_Track.o\ - delete.o\ - del_track.o\ - directory.o\ - Display_Options.o\ - down.o\ - Drag_Module.o\ - Drag_Outline_Segment.o\ - Drag_Pad.o\ - Drag_Segment_WithSlope.o\ - Drag_Track_Segment.o\ - drc_off.o\ - drc.o\ - Edges_Sketch.o\ - Edit_Module.o\ - Editor.o\ - Edit_Text.o\ - Edit.o\ - eeschema.o\ - ercerr.o\ - ercgreen.o\ - ercwarn.o\ - erc.o\ - Exit.o\ - Export_Module.o\ - Export_Options_Pad.o\ - export.o\ - File_FootPrint.o\ - fill_zone.o\ - find_xpm.o\ - Flag.o\ - Fonts.o\ - Footprint_Text.o\ - general_deletions.o\ - general_ratsnet.o\ - Global_Options_Pad.o\ - green.o\ - grid_select.o\ - grid.o\ - hammer.o\ - help.o\ - icon_3d.o\ - icon_cvpcb_small.o\ - icon_cvpcb.o\ - icon_eeschema.o\ - icon_gerbview_small.o\ - icon_gerbview.o\ - icon_kicad.o\ - icon_modedit.o\ - icon_pcbnew.o\ - icon_python_small.o\ - icon_python.o\ - icon_txt.o\ - import_hierarchical_label.o\ - Import_Module.o\ - import.o\ - Info.o\ - Insert_Module_Board.o\ - Invert_Module.o\ - jigsaw.o\ - kicad_icon_small.o\ - label.o\ - left.o\ - libedprt.o\ - library_update.o\ - library.o\ - libsavem.o\ - libview.o\ - Load_Module_Board.o\ - Load_Module_Lib.o\ - local_ratsnet.o\ - Locked.o\ - mirepcb.o\ - Mirror_H.o\ - Mirror_V.o\ - modedit.o\ - Mode_Module.o\ - Mode_Track.o\ - modratsnest.o\ - Module_Check.o\ - Modul_Edit.o\ - module_options.o\ - Module_Ratsnet.o\ - module.o\ - Morgan1.o\ - Morgan2.o\ - Move_Arc.o\ - Move_Circle.o\ - Move_Field.o\ - Move_Line.o\ - Move_Module.o\ - Move_Pad.o\ - Move_Pin.o\ - Move_Polygon.o\ - Move_Rectangle.o\ - Move_Text.o\ - Move_Track_Segment.o\ - Move_Track.o\ - Move.o\ - mw_Add_Gap.o\ - mw_Add_Line.o\ - mw_Add_Shape.o\ - mw_Add_stub_arc.o\ - mw_Add_Stub.o\ - mw_toolbar.o\ - Net_HighLight.o\ - net_hightlight.o\ - netlist.o\ - Net_Locked.o\ - Net_UnLocked.o\ - new_cvpcb.o\ - New_FootPrint.o\ - New_Library.o\ - New_Module.o\ - new_pcb.o\ - New_Project.o\ - new_python.o\ - new_sch.o\ - new_txt.o\ - new.o\ - noconn.o\ - Open_Library.o\ - Open_Project.o\ - open.o\ - options_all_tracks_and_vias.o\ - Options_All_Tracks.o\ - Options_All_Vias.o\ - Options_Arc.o\ - Options_Circle.o\ - Options_Module.o\ - Options_New_Pad.o\ - Options_Pad.o\ - Options_Rectangle.o\ - Options_Segment.o\ - Options_Text.o\ - Options_Tracks.o\ - Options_Track.o\ - Options_Vias.o\ - opt_show_polygon.o\ - Orient.o\ - Pad_Sketch.o\ - pad.o\ - palette.o\ - paste.o\ - pcbnew.o\ - PcbOffset.o\ - pin.o\ - plot_HPG.o\ - plot_PS.o\ - plot_xpm.o\ - polar.o\ - Post_Compo.o\ - Post_Drill.o\ - Post_Module.o\ - preference.o\ - print.o\ - ratsnest.o\ - Read_SetUp.o\ - redo.o\ - red.o\ - reload2.o\ - reload.o\ - right.o\ - Rotate_Field.o\ - Rotate_Module-.o\ - Rotate_Module+.o\ - Rotate-.o\ - Rotate+.o\ - save_as.o\ - Save_CmpStuff.o\ - Save_Library.o\ - Save_NetList.o\ - Save_Project.o\ - Save_SetUp.o\ - save.o\ - schematic.o\ - select_grid.o\ - Select_Layer_Pair.o\ - Select_W_Layer.o\ - sheetset.o\ - showdcode.o\ - showmodedge.o\ - showtrack.o\ - Show_Zone.o\ - Show_Zone_Disable.o\ - Show_Zone_Outline_Only.o\ - Swap_Layer.o\ - shape_3d.o\ - Text_Sketch.o\ - tool_ratsnet.o\ - tools.o\ - Track_Locked.o\ - Track_Sketch.o\ - Track_UnLocked.o\ - transistor.o\ - treensel.o\ - treesel.o\ - undelete.o\ - undo.o\ - unit_inch.o\ - unit_mm.o\ - unknown.o\ - Unlocked.o\ - unzip.o\ - Update_Module_Board.o\ - up.o\ - Web_support.o\ - Width_Net.o\ - Width_Segment.o\ - Width_Track_Via.o\ - Width_Track.o\ - Width_Vias.o\ - zip_tool.o\ - zip.o\ - Zoom_1.o\ - Zoom_Center.o\ - zoom_in.o\ - zoom_auto.o\ - zoom_out.o\ - zoom_redraw.o\ - Zoom_Page.o\ - Zoom_Selected.o\ - Zoom_Select.o\ - zoom.o\ - axis3d_back.o\ - axis3d_bottom.o\ - axis3d_front.o\ - axis3d_left.o\ - axis3d_right.o\ - axis3d_top.o\ - axis3d.o\ - import3d.o\ - rotate-x.o\ - rotate+x.o\ - rotate-y.o\ - rotate+y.o\ - rotate-z.o\ - rotate+z.o\ - zoomoins3d.o\ - zoompage3d.o\ - zoomplus3d.o\ - zoomrefr3d.o\ - Lang_Catalan.o\ - Lang_chinese.o\ - Lang_Default.o\ - Lang_Cs.o\ - Lang_De.o\ - Lang_En.o\ - Lang_Es.o\ - Lang_Fr.o\ - Lang_Hu.o\ - Lang_It.o\ - Lang_Ko.o\ - Lang_Nl.o\ - Lang_Pl.o\ - Lang_Pt.o\ - Lang_Ru.o\ - Lang_Sl.o\ - Language.o\ - delete_association.o\ - module_filtered_list.o\ - module_full_list.o\ - Break_Bus.o\ - cvpcb.o\ - Delete_Bus.o\ - Delete_Connection.o\ - Delete_GLabel.o\ - Delete_Pinsheet.o\ - Delete_Pin.o\ - Delete_Sheet.o\ - Edit_Comp_Footprint.o\ - Edit_Component.o\ - Edit_Comp_Ref.o\ - Edit_Comp_Value.o\ - Edit_Part.o\ - Edit_Sheet.o\ - Enter_Sheet.o\ - GLabel2Label.o\ - GLabel2Text.o\ - GL_Change.o\ - Hidden_Pin.o\ - Hierarchy_cursor.o\ - Hierarchy_Nav.o\ - Label2GLabel.o\ - Label2Text.o\ - Leave_Sheet.o\ - libedit_icon.o\ - libedit.o\ - Lib_next.o\ - Lib_previous.o\ - library_browse.o\ - Lines90.o\ - Move_GLabel.o\ - Move_Pinsheet.o\ - Move_Sheet.o\ - new_component.o\ - Normal.o\ - Options_Pinsheet.o\ - Options_Pin.o\ - part_properties.o\ - pin2pin.o\ - Pin_Name_to.o\ - Pin_Number_to.o\ - Pin_Size_to.o\ - Pin_to.o\ - Resize_Sheet.o\ - Rotate_GLabel.o\ - Rotate_Pin.o\ - viewlibs_icon.o diff --git a/bitmaps/makefile.mingw b/bitmaps/makefile.mingw deleted file mode 100644 index 052a39ee38..0000000000 --- a/bitmaps/makefile.mingw +++ /dev/null @@ -1,14 +0,0 @@ -include makefile.include - -%.cpp %.o: %$(*).xpm - cp $*.xpm $*.cpp - gcc -DXPMMAIN -c -Wall -O2 -o $@ $*.cpp - rm $*.cpp - -libbitmaps.a: $(OBJECTS) - ar ruv $@ $(OBJECTS) - ranlib $@ - -clean: -# rm -f *.o -# rm -f *.a diff --git a/common/makefile.gtk b/common/makefile.gtk deleted file mode 100644 index b9821c109f..0000000000 --- a/common/makefile.gtk +++ /dev/null @@ -1,35 +0,0 @@ -## Makefile for common.a -CC = gcc - - -include ../libs.linux - -all: common.a pcbcommon.a - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -# specfic Compiler flags and options -CPPFLAGS += $(EXTRACPPFLAGS) -I./ -I../include -EDACPPFLAGS = $(CPPFLAGS) - -common.a: $(COMMON_OBJECTS) makefile.gtk makefile.include - rm -f $@ - ar -rv $@ $(COMMON_OBJECTS) - ranlib $@ - -pcbcommon.a: $(PCB_COMMON_OBJECTS) makefile.gtk makefile.include - rm -f $@ - ar -rv $@ $(PCB_COMMON_OBJECTS) - ranlib $@ - -install:common.a pcb_common.a - -clean: - rm -f *.o *~ core *.bak *.obj *.d - rm -f common.a - - diff --git a/common/makefile.include b/common/makefile.include deleted file mode 100644 index fb57dbccf6..0000000000 --- a/common/makefile.include +++ /dev/null @@ -1,202 +0,0 @@ -EXTRACPPFLAGS += -I$(SYSINCLUDE) -I./ -Ibitmaps -I../include -I../polygon - -PCBINCL = -I../pcbnew -I../polygon -I../3d-viewer - -COMMON_OBJECTS= \ - about_kicad.o\ - base_screen.o\ - base_struct.o\ - basicframe.o\ - block_commande.o\ - class_drawpickedstruct.o\ - common.o\ - common_plot_functions.o\ - common_plotHPGL_functions.o\ - common_plotPS_functions.o\ - common_plotGERBER_functions.o\ - confirm.o\ - copy_to_clipboard.o\ - dcsvg.o\ - displlst.o\ - dlist.o\ - drawframe.o\ - drawpanel.o\ - drawtxt.o\ - edaappl.o\ - eda_dde.o\ - eda_doc.o\ - gestfich.o\ - get_component_dialog.o\ - gr_basic.o\ - hotkeys_basic.o\ - msgpanel.o\ - projet_config.o\ - selcolor.o\ - string.o\ - toolbars.o\ - trigo.o\ - worksheet.o\ - wxwineda.o\ - zoom.o - - -PCB_COMMON_OBJECTS =\ - pcbcommon.o\ - basepcbframe.o\ - class_board.o\ - class_board_connected_item.o\ - class_board_item.o\ - class_cotation.o\ - class_drawsegment.o\ - class_drc_item.o\ - class_edge_mod.o\ - class_equipot.o\ - class_marker.o\ - class_mire.o\ - class_module.o\ - class_pad.o\ - class_pad_draw_functions.o\ - class_pcb_text.o\ - class_text_mod.o\ - class_track.o\ - class_zone.o\ - class_zone_setting.o\ - classpcb.o\ - collectors.o\ - sel_layer.o\ - tracemod.o\ - dialog_print_using_printer_base.o - - -ifdef KICAD_PYTHON -COMMON_OBJECTS += pyhandler.o -pyhandler.o: pyhandler.cpp ../include/pyhandler.h -endif - - -pcbcommon.o: pcbcommon.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ $*.cpp - -basepcbframe.o: ../pcbnew/basepcbframe.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_board.o: ../pcbnew/class_board.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_board_item.o: ../pcbnew/class_board_item.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_drawsegment.o: ../pcbnew/class_drawsegment.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_edge_mod.o: ../pcbnew/class_edge_mod.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_equipot.o: ../pcbnew/class_equipot.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_module.o: ../pcbnew/class_module.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_text_mod.o: ../pcbnew/class_text_mod.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_board_connected_item.o: ../pcbnew/class_board_connected_item.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_cotation.o: ../pcbnew/class_cotation.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_drc_item.o: ../pcbnew/class_drc_item.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_marker.o: ../pcbnew/class_marker.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_mire.o: ../pcbnew/class_mire.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_pad.o: ../pcbnew/class_pad.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_pad_draw_functions.o: ../pcbnew/class_pad_draw_functions.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_pcb_text.o: ../pcbnew/class_pcb_text.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_track.o: ../pcbnew/class_track.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -tracemod.o: ../pcbnew/tracemod.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_zone.o: ../pcbnew/class_zone.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_zone_setting.o: ../pcbnew/class_zone_setting.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -classpcb.o: ../pcbnew/classpcb.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -collectors.o: ../pcbnew/collectors.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -sel_layer.o: ../pcbnew/sel_layer.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -dialog_print_using_printer_base.o: ../pcbnew/dialog_print_using_printer_base.cpp - $(CXX) $(PCBINCL) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -gr_basic.o: gr_basic.cpp ../include/gr_basic.h $(DEPEND) - -confirm.o: confirm.cpp - -hotkeys_basic.o: hotkeys_basic.cpp ../include/hotkeys_basic.h - -worksheet.o: worksheet.cpp ../include/worksheet.h - -selcolor.o: selcolor.cpp ../include/colors.h - -get_component_dialog.o: get_component_dialog.cpp - -common_plotPS_functions.o: common_plotPS_functions.cpp ../include/plot_common.h - -common_plotHPGL_functions.o: common_plotPS_functions.cpp ../include/plot_common.h - -drawtxt.o: drawtxt.cpp ../include/grfonte.h - -gr_basic.o: gr_basic.cpp ../include/gr_basic.h ../include/plot_common.h - -dcsvg.o: dcsvg.cpp ../include/dcsvg.h - -projet_config.o: projet_config.cpp - -base_struct.o: base_struct.cpp - -eda_doc.o: eda_doc.cpp - -common.o: common.cpp - -gestfich.o: gestfich.cpp - -toolbars.o: toolbars.cpp - -msgpanel.o: msgpanel.cpp - -block_commande.o: block_commande.cpp - -string.o: string.cpp - -trigo.o: trigo.cpp ../include/trigo.h - -bitmaps.o: bitmaps.cpp ../include/bitmaps.h - -edaappl.o: edaappl.cpp ../include/worksheet.h\ - ../include/common.h ../include/gr_basic.h\ - ../include/build_version.h - -eda_dde.o: eda_dde.cpp ../include/eda_dde.h - -displlst.o: displlst.cpp diff --git a/common/makefile.mingw b/common/makefile.mingw deleted file mode 100644 index 4cb5ad0a38..0000000000 --- a/common/makefile.mingw +++ /dev/null @@ -1,24 +0,0 @@ -WXDIR = $(WXWIN) - -all: common.a - -include ../libs.win - -include makefile.include - -all: common.a pcbcommon.a - -common.a: $(COMMON_OBJECTS) ../libs.win makefile.include - ar ruv $@ $(COMMON_OBJECTS) - ranlib $@ - - -pcbcommon.a: $(PCB_COMMON_OBJECTS) ../libs.win makefile.include - ar ruv $@ $(PCB_COMMON_OBJECTS) - ranlib $@ - - -clean: - rm -f *.bak - rm -f *.o - rm -f common.a diff --git a/cvpcb/makefile.gtk b/cvpcb/makefile.gtk deleted file mode 100644 index 41c254c67f..0000000000 --- a/cvpcb/makefile.gtk +++ /dev/null @@ -1,30 +0,0 @@ -# File: makefile -FINAL = 1 - -include ../libs.linux - -TARGET = cvpcb - -all: $(TARGET) - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $(LIBVIEWER3D) - $(LD) $(OBJECTS) $(LDFLAGS) $(LIBVIEWER3D) $(LIBS_WITH_GL) -o $(TARGET) - - -install: $(TARGET) - mkdir -p $(KICAD_BIN) - cp -f $(TARGET) $(KICAD_BIN) - -clean: - rm -f *.o *.d - rm -f $(TARGET) - diff --git a/cvpcb/makefile.include b/cvpcb/makefile.include deleted file mode 100644 index bcf8e6344a..0000000000 --- a/cvpcb/makefile.include +++ /dev/null @@ -1,100 +0,0 @@ -# makefile pour cvpcb (mingw) -OBJSUFF = o - -EXTRACPPFLAGS += -DCVPCB -I../include -Ibitmaps\ - -I../pcbnew -I../cvpcb -I../share -I../3d-viewer -I ../polygon - -EXTRALIBS = ../common/common.a ../common/pcbcommon.a ../bitmaps/libbitmaps.a\ - ../polygon/lib_polygon.a\ - ../polygon/kbool/src/libkbool.a - - -LIBVIEWER3D = ../3d-viewer/3d-viewer.a - -OBJECTS = $(TARGET).o \ - class_cvpcb.o\ - class_board_item.o\ - cvframe.o\ - dialog_cvpcb_config.o\ - dialog_cvpcb_config_fbp.o\ - listboxes.o\ - displayframe.o\ - init.o\ - readschematicnetlist.o\ - loadcmp.o\ - savecmp.o \ - tool_cvpcb.o \ - writenetlistpcbnew.o\ - genequiv.o \ - ioascii.o \ - menucfg.o \ - cfg.o\ - listlib.o \ - autosel.o \ - setvisu.o\ - dialog_display_options.o\ - tracemod.o \ - class_drawsegment.o \ - class_module.o \ - class_text_mod.o \ - class_edge_mod.o \ - class_equipot.o \ - class_track.o - -cvpcb.o: cvpcb.cpp cvpcb.h - -displayframe.o: displayframe.cpp - -listboxes.o: listboxes.cpp - -init.o: init.cpp - -class_board_item.o: ../pcbnew/class_board_item.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_drawsegment.o: ../pcbnew/class_drawsegment.cpp ../pcbnew/class_drawsegment.h - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_track.o: ../pcbnew/class_track.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_module.o: ../pcbnew/class_module.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_text_mod.o: ../pcbnew/class_text_mod.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_edge_mod.o: ../pcbnew/class_edge_mod.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_equipot.o: ../pcbnew/class_equipot.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -readschematicnetlist.o: readschematicnetlist.cpp - -loadcmp.o: loadcmp.cpp - -savecmp.o: savecmp.cpp - -writenetlistpcbnew.o: writenetlistpcbnew.cpp - -genequiv.o: genequiv.cpp - -ioascii.o: ../pcbnew/ioascii.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -listlib.o: listlib.cpp - -cfg.o: cfg.cpp - -menucfg.o: menucfg.cpp dialog_cvpcb_config.cpp dialog_cvpcb_config.h - -autosel.o: autosel.cpp - -setvisu.o: setvisu.cpp - -tracemod.o: ../pcbnew/tracemod.cpp ../include/gr_basic.h - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -dialog_display_options.o: dialog_display_options.cpp dialog_display_options.h - diff --git a/cvpcb/makefile.mingw b/cvpcb/makefile.mingw deleted file mode 100644 index 59bf76c0bf..0000000000 --- a/cvpcb/makefile.mingw +++ /dev/null @@ -1,35 +0,0 @@ -# makefile pour cvpcb (mingw) -OBJSUFF = o - -TARGET=cvpcb - -WXDIR = $(WXWIN) - -all: $(TARGET).exe - -include makefile.include -include ../libs.win - - -$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o\ - $(EDALIBS) $(LIBVIEWER3D) makefile.mingw - $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe\ - $(OBJECTS) $(LIBVIEWER3D) $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB) - - -install:$(KICAD_BIN)/$(TARGET).exe - cp $(TARGET).exe $(KICAD_BIN) - -$(KICAD_BIN)/$(TARGET).exe:$(TARGET).exe - -$(TARGET)_resources.o: $(TARGET).rc - $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) - - -clean: - rm -f *.o - rm -f *.rsc - rm -f *.res - rm -f *.exe - rm -f *.bak - diff --git a/eeschema/makefile.gtk b/eeschema/makefile.gtk deleted file mode 100644 index 5b46f6237b..0000000000 --- a/eeschema/makefile.gtk +++ /dev/null @@ -1,47 +0,0 @@ -## Makefile for eeschema - - -include ../libs.linux - - -# Additional compiler flags -CPPFLAGS += - -TARGET = eeschema - - - -all: $(TARGET) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - -$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux - $(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) - -netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk - $(CXX) $(CXXFLAGS) -D__UNIX__ -Wall plugins/netlist_form_pads-pcb.cpp $(LIBSTDC) -o netlist_form_pads-pcb - - -install: $(TARGET) - mkdir -p $(KICAD_BIN) - cp $(TARGET) $(KICAD_BIN) - - -clean: - rm -f *.o *.d *~ core *.bak - rm -f $(TARGET) - - - - - - - - diff --git a/eeschema/makefile.include b/eeschema/makefile.include deleted file mode 100644 index e2c562ffe5..0000000000 --- a/eeschema/makefile.include +++ /dev/null @@ -1,204 +0,0 @@ -# File: makefile.include - -FINAL = 1 - -EESCHEMA_FLAGS= -DEESCHEMA -EXTRACPPFLAGS += $(KICAD_FLAGS) $(EESCHEMA_FLAGS) -fno-strict-aliasing -I./ -Ibitmaps -I../include -I../eeschema -EXTRALIBS = ../common/common.a ../bitmaps/libbitmaps.a - -# DEPEND = program.h general.h - -OBJECTS = eeschema.o\ - schedit.o\ - load_one_schematic_file.o\ - libedit_undo_redo.o\ - schematic_undo_redo.o\ - dialog_create_component.o\ - libedit_onrightclick.o\ - libedit_onleftclick.o\ - dangling_ends.o\ - cross-probing.o\ - setpage.o\ - class_libentry.o\ - class_libentry_fields.o\ - class_schematic_items.o\ - class_sch_cmp_field.o\ - classes_body_items.o\ - class_drawsheet.o\ - class_drawsheetpath.o\ - class_pin.o\ - class_hierarchical_PIN_sheet.o\ - class_text-label.o\ - component_class.o\ - class_library.o\ - dialog_options.o\ - dialog_edit_libentry_fields_in_lib.o\ - dialog_edit_libentry_fields_in_lib_base.o\ - dialog_SVG_print.o\ - dialog_SVG_print_base.o\ - tool_lib.o\ - tool_sch.o\ - tool_viewlib.o\ - schframe.o\ - sch_item_struct.o\ - viewlib_frame.o\ - dialog_print_using_printer_base.o\ - dialog_print_using_printer.o\ - lib_export.o \ - busentry.o \ - bus-wire-junction.o \ - eelibs_read_libraryfiles.o \ - eelibs_draw_components.o \ - block.o\ - block_libedit.o\ - eeredraw.o\ - dialog_eeschema_config.o\ - dialog_eeschema_config_fbp.o\ - eelayer.o \ - priorque.o eeconfig.o \ - getpart.o\ - netlist.o\ - netlist_control.o\ - edit_label.o\ - dialog_edit_label.o\ - dialog_edit_label_base.o\ - edit_component_in_schematic.o\ - dialog_edit_component_in_schematic_fbp.o \ - dialog_edit_component_in_schematic.o \ - dialog_bodygraphictext_properties_base.o\ - locate.o \ - save_schemas.o sheet.o \ - read_from_file_schematic_items_descriptions.o\ - viewlibs.o \ - libedit.o \ - libframe.o \ - symbedit.o \ - pinedit.o \ - libfield.o \ - edit_component_in_lib.o \ - menubar.o \ - savelib.o\ - edit_graphic_bodyitem_text.o \ - symbdraw.o \ - hierarch.o files-io.o \ - annotate.o\ - annotate_dialog.o\ - plothpgl.o \ - plot.o libalias.o \ - plotps.o netform.o \ - delsheet.o \ - delete.o\ - build_BOM.o \ - dialog_build_BOM.o \ - dialog_build_BOM_base.o \ - erc.o\ - dialog_erc.o\ - selpart.o \ - libarch.o \ - cleanup.o\ - sheetlab.o \ - class_screen.o \ - database.o\ - onrightclick.o \ - onleftclick.o \ - find.o \ - backanno.o \ - controle.o\ - hotkeys.o - - -eeschema.o: eeschema.cpp program.h general.h $(DEPEND) - -read_from_file_schematic_items_descriptions.o: read_from_file_schematic_items_descriptions.cpp - - -edit_component_in_schematic.o: edit_component_in_schematic.cpp\ - dialog_edit_component_in_schematic.cpp dialog_edit_component_in_schematic.h $(DEPEND) - -edit_label.o: edit_label.cpp dialog_edit_label.h dialog_edit_label_base.h $(DEPEND) - -dialog_edit_label.o: dialog_edit_label.cpp dialog_edit_label.h dialog_edit_label_base.h $(DEPEND) - -dialog_create_component.o: dialog_create_component.cpp dialog_create_component.h $(DEPEND) - -busentry.o: busentry.cpp $(DEPEND) - -symbdraw.o: symbdraw.cpp dialog_cmp_graphic_properties.cpp\ - dialog_cmp_graphic_properties.h $(DEPEND) - -component_class.o: component_class.cpp component_class.h - -menubar.o: menubar.cpp $(DEPEND) - -find.o:find.cpp dialog_find.cpp dialog_find.h $(DEPEND) - -backanno.o:backanno.cpp $(DEPEND) - -eeconfig.o: eeconfig.cpp eeconfig.h $(DEPEND) - -annotate.o: annotate.cpp annotate_dialog.h $(DEPEND) netlist.h - -annotate_dialog.o: annotate_dialog.cpp annotate_dialog.h $(DEPEND) netlist.h - -netlist.o: netlist.cpp $(DEPEND) netlist.h - -netlist_control.o: netlist_control.cpp $(DEPEND) netlist.h - -netform.o: netform.cpp $(DEPEND) netlist.h - -erc.o: erc.cpp dialog_erc.h $(DEPEND) netlist.h - -dialog_erc.o: dialog_erc.cpp dialog_erc.h $(DEPEND) - -setpage.o: ../share/setpage.cpp $(DEPEND) - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -svg_print.o: ../share/svg_print.cpp ../share/svg_print.h $(DEPEND) - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -buildmnu.o: ../share/buildmnu.cpp $(DEPEND) - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -pinedit.o: pinedit.cpp pinedit-dialog.cpp pinedit-dialog.h $(DEPEND) - -tool_lib.o: tool_lib.cpp $(DEPEND) - -controle.o: controle.cpp $(DEPEND) ../include/eda_dde.h - -wxprint.o: ../share/wxprint.cpp ../share/dialog_print.cpp ../share/dialog_print.h $(DEPEND) - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -bus-wire-junction.o: bus-wire-junction.cpp $(DEPEND) - -drawframe.o: ../share/drawframe.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -eelibs_read_libraryfiles.o: eelibs_read_libraryfiles.cpp $(DEPEND) - -eelibs_draw_components.o: eelibs_draw_components.cpp $(DEPEND) - -block.o: block.cpp $(DEPEND) - -block_libedit.o: block_libedit.cpp $(DEPEND) - -onrightclick.o: onrightclick.cpp $(DEPEND) - -libedit_undo_redo.o: libedit_undo_redo.cpp $(DEPEND) - -libedit_onrightclick.o: libedit_onrightclick.cpp $(DEPEND) - -libedit_onleftclick.o: libedit_onleftclick.cpp $(DEPEND) - -onleftclick.o: onleftclick.cpp $(DEPEND) - -eeredraw.o: eeredraw.cpp $(DEPEND) - -dialog_eeschema_config.o: dialog_eeschema_config.cpp dialog_eeschema_config_fbp.h $(DEPEND) - -dialog_eeschema_config_fbp.o: dialog_eeschema_config_fbp.cpp dialog_eeschema_config_fbp.h $(DEPEND) - -libedit.o: libedit.cpp $(DEPEND) - -sch_item_struct.o: ../common/sch_item_struct.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../common/$*.cpp - diff --git a/eeschema/makefile.mingw b/eeschema/makefile.mingw deleted file mode 100644 index 3de6b0e3c0..0000000000 --- a/eeschema/makefile.mingw +++ /dev/null @@ -1,32 +0,0 @@ -# File: makefile for eeschema, mingw - - -TARGET=eeschema - -WXDIR = $(WXWIN) -include ../libs.win - - -all: $(TARGET).exe - -include makefile.include - - -$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o $(EDALIBS) - $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe $(OBJECTS)\ - $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB) - -install: $(TARGET).exe - cp -v $(TARGET).exe $(KICAD_BIN) - - -$(TARGET)_resources.o: $(TARGET).rc - $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) - -clean : - -$(RM) *.o - -$(RM) *.rsc - -$(RM) *.res - -$(RM) *.exe - -$(RM) *.bak - diff --git a/gerbview/makefile.gtk b/gerbview/makefile.gtk deleted file mode 100644 index 26e35cd52b..0000000000 --- a/gerbview/makefile.gtk +++ /dev/null @@ -1,35 +0,0 @@ -## Makefile for GERBVIEW et wxGTK - - -include ../libs.linux - -# Additional compiler flags. -CPPFLAGS += - - -TARGET = gerbview - -all: $(TARGET) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - - -$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux - $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) - -install: $(TARGET) - mkdir -p $(KICAD_BIN) - cp -f $(TARGET) $(KICAD_BIN) - - -clean: - rm -f *.o *.exe *.res *.map *.d - rm -f $(TARGET) - diff --git a/gerbview/makefile.include b/gerbview/makefile.include deleted file mode 100644 index e5d7d7ef6b..0000000000 --- a/gerbview/makefile.include +++ /dev/null @@ -1,65 +0,0 @@ -#makefile to fast compilation of GerbView. - -EXTRALIBS = ../common/common.a ../common/pcbcommon.a ../bitmaps/libbitmaps.a\ - ../polygon/lib_polygon.a ../polygon/kbool/src/libkbool.a - -EXTRACPPFLAGS= -DGERBVIEW -DPCBNEW -fno-strict-aliasing\ - -I./ -I../gerbview -I../include\ - -I../share -I../pcbnew -I../3d-viewer\ - -I../polygon - - -OBJECTS= \ - $(TARGET).o\ - select_layers_to_pcb.o\ - lay2plot.o\ - dialog_print_using_printer.o \ - edit.o \ - setpage.o \ - tool_gerber.o \ - gerberframe.o\ - onrightclick.o\ - class_board_item.o\ - class_drawsegment.o\ - class_track.o \ - set_color.o \ - gerbview_config.o \ - tracepcb.o \ - trpiste.o \ - reglage.o \ - options.o \ - initpcb.o\ - locate.o\ - hotkeys.o\ - deltrack.o\ - pcbplot.o\ - readgerb.o\ - rs274d.o\ - rs274x.o\ - dcode.o\ - undelete.o\ - files.o\ - block.o\ - controle.o\ - export_to_pcbnew.o - -setpage.o: ../share/setpage.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -drawframe.o: ../share/drawframe.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -class_board_item.o: ../pcbnew/class_board_item.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_drawsegment.o: ../pcbnew/class_drawsegment.cpp ../pcbnew/class_drawsegment.h $(DEPEND) - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -dialog_print_using_printer.o: ../pcbnew/dialog_print_using_printer.cpp ../pcbnew/dialog_print_using_printer_base.h - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -class_track.o: ../pcbnew/class_track.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp - -undelete.o: ../pcbnew/undelete.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp diff --git a/gerbview/makefile.mingw b/gerbview/makefile.mingw deleted file mode 100644 index 5ec1c822b8..0000000000 --- a/gerbview/makefile.mingw +++ /dev/null @@ -1,31 +0,0 @@ -# Makefile for gerbview, Windows - -WXDIR = $(WXWIN) -include ../libs.win - -TARGET=gerbview - -all: $(TARGET).exe - -include makefile.include - -$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o $(EDALIB) - $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe $(OBJECTS)\ - $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB) - -install: $(TARGET).exe - cp $(TARGET).exe $(KICAD_BIN) - - -$(TARGET)_resources.o: $(TARGET).rc - $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) - - -clean : - rm -f *.o - rm -f core - rm -f *.rsc - rm -f *.res - rm -f *.bak - rm -f *.exe - diff --git a/kicad/makefile.gtk b/kicad/makefile.gtk deleted file mode 100644 index 7a265efdd5..0000000000 --- a/kicad/makefile.gtk +++ /dev/null @@ -1,35 +0,0 @@ -# File: makefile for kicad, wxGTK - - -include ../libs.linux - -# Additional compiler flags -CPPFLAGS += - -FINAL = 1 - -TARGET = kicad - -all: $(TARGET) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - - -$(TARGET): $(OBJECTS) makefile.gtk $(EXTRALIBS) ../libs.linux - $(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) - -install: $(TARGET) - mkdir -p $(KICAD_BIN) - cp -f $(TARGET) $(KICAD_BIN) - -clean: - rm -f *.o *.d *~ *.bak core - rm -f $(TARGET) - diff --git a/kicad/makefile.include b/kicad/makefile.include deleted file mode 100644 index f6a2637173..0000000000 --- a/kicad/makefile.include +++ /dev/null @@ -1,30 +0,0 @@ -EXTRALIBS = ../common/common.a ../bitmaps/libbitmaps.a -EXTRACPPFLAGS += -DKICAD -fno-strict-aliasing -I./ -Ibitmaps -I../include -I../kicad -I../share - -DEPEND = - -OBJECTS = kicad.o\ - treeprj_frame.o\ - treeprj_datas.o\ - buildmnu.o\ - mainframe.o\ - prjconfig.o\ - preferences.o\ - commandframe.o\ - files-io.o - - -$(TARGET).o: $(TARGET).cpp $(DEPEND) $(TARGET).h - -treeprj_frame.o: treeprj_frame.cpp $(DEPEND) kicad.h - -treeprj_datas.o: treeprj_datas.cpp $(DEPEND) kicad.h - -prjconfig.o: prjconfig.cpp $(DEPEND) prjconfig.h - -files-io.o: files-io.cpp $(DEPEND) kicad.h - -mainframe.o: mainframe.cpp $(DEPEND) kicad.h - -buildmnu.o: buildmnu.cpp $(DEPEND) kicad.h - diff --git a/kicad/makefile.mingw b/kicad/makefile.mingw deleted file mode 100644 index 5402454e5f..0000000000 --- a/kicad/makefile.mingw +++ /dev/null @@ -1,33 +0,0 @@ -WXDIR = $(WXWIN) -EXTRALIBS = ../common/common.a -EXTRACPPFLAGS= -DKICAD -I./ -I../include -I../kicad -I../common -TARGET=kicad - -include ../libs.win - -all: $(TARGET).exe - -include makefile.include - - -$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o $(EDALIBS) - $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe $(OBJECTS)\ - $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB) - -install:$(TARGET).exe - cp -f $(TARGET).exe $(KICAD_BIN) - - -$(TARGET)_resources.o: $(TARGET).rc - $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) - - -$(TARGET).o: $(TARGET).cpp $(DEPEND) $(TARGET).h - -clean : - -$(RM) *.o - -$(RM) *.exe - -$(RM) *.rsc - -$(RM) *.res - -$(RM) *.bak - diff --git a/makefile.gtk b/makefile.gtk deleted file mode 100644 index b58609e1ef..0000000000 --- a/makefile.gtk +++ /dev/null @@ -1,38 +0,0 @@ - -MAKEGTK = $(MAKE) -f makefile.gtk -KICAD_SUBDIRS = common bitmaps 3d-viewer polygon polygon/kbool/src pcbnew eeschema eeschema/plugins cvpcb kicad gerbview -KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview -KICAD_SUBDIRS_RES = internat modules template library -KICAD_SUBDIRS_HELP = help - -all: - @for dir in $(KICAD_SUBDIRS); do \ - $(MAKEGTK) -C $$dir; \ - done - -deps: - @for dir in $(KICAD_SUBDIRS); do \ - $(MAKEGTK) -k -C $$dir deps; \ - done - -install-bin: - @for dir in $(KICAD_SUBDIRS_BIN); do \ - $(MAKEGTK) -C $$dir install; \ - done - -install-res: - @for dir in $(KICAD_SUBDIRS_RES); do \ - $(MAKE) -C $$dir install; \ - done - -install-help: - @for dir in $(KICAD_SUBDIRS_HELP); do \ - $(MAKE) -C $$dir install; \ - done - -install: install-bin install-res install-help - -clean: - @for dir in $(KICAD_SUBDIRS); do \ - $(MAKEGTK) -C $$dir clean; \ - done diff --git a/makefile.mingw b/makefile.mingw deleted file mode 100644 index 61db54f4bd..0000000000 --- a/makefile.mingw +++ /dev/null @@ -1,15 +0,0 @@ -KICAD_SUBDIRS = common bitmaps 3d-viewer polygon polygon/kbool/src eeschema eeschema/plugins pcbnew kicad cvpcb gerbview -KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview -# How to invoke make: -MAKE = make -k -f makefile.mingw -MAKE_INSTALL = make -f makefile.mingw install -MAKE_CLEAN = make -f makefile.mingw clean - -all: - @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); 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 diff --git a/pcbnew/makefile.gtk b/pcbnew/makefile.gtk deleted file mode 100644 index 4cf45172da..0000000000 --- a/pcbnew/makefile.gtk +++ /dev/null @@ -1,36 +0,0 @@ -## Makefile for PCBNEW et wxGTK - - -include ../libs.linux - -TARGET = pcbnew - -all: $(TARGET) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -# Additional compiler flags -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - - -$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ../libs.linux - $(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS_WITH_GL)\ - -o $(TARGET) - - -install: $(TARGET) - mkdir -p $(KICAD_BIN) - cp $(TARGET) $(KICAD_BIN) - - -clean: - rm -f *.o *.map *.d - rm -f $(TARGET) - - - diff --git a/pcbnew/makefile.include b/pcbnew/makefile.include deleted file mode 100644 index 6702d4b16b..0000000000 --- a/pcbnew/makefile.include +++ /dev/null @@ -1,279 +0,0 @@ - -EXTRALIBS = ../common/common.a ../common/pcbcommon.a ../bitmaps/libbitmaps.a\ - ../polygon/lib_polygon.a\ - ../polygon/kbool/src/libkbool.a - -EXTRACPPFLAGS += -DPCBNEW -I../pcbnew -Ibitmaps -I../include\ - -I../3d-viewer -I../polygon -I/opt/local/include - - -LIBVIEWER3D = ../3d-viewer/3d-viewer.a - -ZONE_FILES = zones_by_polygon.o zones_test_and_combine_areas.o\ - zone_filling_algorithm.o\ - dialog_copper_zones_base.o\ - dialog_copper_zones.o\ - dialog_non_copper_zones_properties_base.o\ - zones_non_copper_type_functions.o\ - zones_convert_brd_items_to_polygons.o\ - zones_polygons_insulated_copper_islands.o\ - zones_polygons_test_connections.o - -SPECCTRA_TOOLS = specctra.o specctra_export.o dsn.o specctra_import.o - -OBJECTS= $(TARGET).o\ - $(ZONE_FILES)\ - $(SPECCTRA_TOOLS)\ - build_BOM_from_board.o\ - print_board_functions.o\ - dialog_freeroute_exchange.o\ - modedit_undo_redo.o\ - block_module_editor.o\ - dialog_graphic_item_properties.o\ - dialog_graphic_item_properties_base.o\ - dialog_pad_properties.o\ - dialog_pad_properties_base.o\ - dialog_pcb_text_properties.o\ - dialog_SVG_print.o\ - dialog_SVG_print_base.o\ - dialog_print_using_printer.o\ - onrightclick.o\ - onleftclick.o\ - modedit_onclick.o\ - cross-probing.o\ - via_edit.o\ - menubarpcb.o \ - menubarmodedit.o \ - tool_onrightclick.o\ - edit.o \ - setpage.o \ - tool_pcb.o \ - pcbframe.o \ - class_cotation.o\ - track.o \ - set_color.o \ - set_grid.o \ - pcbcfg.o \ - netlist.o \ - dialog_netlist.o \ - dialog_netlist_fbp.o \ - affiche.o \ - swap_layers.o \ - tracepcb.o \ - trpiste.o \ - surbrill.o \ - edit_pcb_text.o \ - locate.o \ - modules.o \ - loadcmp.o \ - dialog_pcbnew_config_libs_and_paths.o\ - dialog_pcbnew_config_libs_and_paths_fbp.o\ - dialog_general_options.o \ - dialog_general_options_BoardEditor_base.o\ - dialog_display_options_base.o\ - dialog_orient_footprints.o\ - dialog_track_options.o\ - dialog_track_options_base.o\ - muwave_command.o \ - initpcb.o\ - editrack.o \ - editrack-part2.o \ - deltrack.o edit_track_width.o \ - editmod.o\ - move-drag_pads.o\ - globaleditpad.o \ - editedge.o\ - edtxtmod.o \ - dialog_edit_module_text.o\ - dialog_edit_module_text_base.o\ - ratsnest.o drc.o \ - block.o\ - clean.o \ - pcbplot.o\ - plothpgl.o\ - plot_rtn.o\ - plotgerb.o\ - librairi.o edgemod.o\ - connect.o muonde.o attribut.o\ - gendrill.o\ - gen_holes_and_tools_lists_for_drill.o\ - gen_drill_report_files.o\ - cotation.o\ - automove.o\ - tr_modif.o \ - autorout.o solve.o\ - work.o queue.o \ - board.o dist.o graphpcb.o \ - undelete.o \ - move_or_drag_track.o\ - ioascii.o \ - mirepcb.o xchgmod.o\ - plotps.o\ - dragsegm.o\ - autoplac.o\ - files.o\ - router.o\ - controle.o\ - tool_modedit.o\ - moduleframe.o\ - find.o\ - modeditoptions.o\ - gen_modules_placefile.o\ - modedit.o\ - export_gencad.o\ - hotkeys.o \ - gpcb_exchange.o - - -setpage.o: ../share/setpage.cpp - $(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp - -menubarpcb.o: menubarpcb.cpp - -dialog_general_options.o: dialog_general_options.cpp\ - dialog_graphic_items_options.cpp dialog_general_options_BoardEditor_base.h dialog_general_options.h - -dialog_generaloptions_BoardEditor_base.o: dialog_general_options_BoardEditor_base.cpp dialog_generaloptions_BoardEditor_base.h - -menubarmodedit.o: menubarmodedit.cpp - -controle.o: controle.cpp - -cursors.o: cursors.cpp - -tool_onrightclick.o: tool_onrightclick.cpp - -files.o: files.cpp - -export_gencad.o: export_gencad.cpp - -print_board_functions.o: print_board_functions.cpp - -pcbnew.o: pcbnew.cpp pcbnew.h pcbplot.h drag.h \ - autorout.h ../include/eda_dde.h - -pcbcfg.o: pcbcfg.cpp pcbcfg.h pcbplot.h - -netlist.o: netlist.cpp dialog_netlist.h - -gen_modules_placefile.o: gen_modules_placefile.cpp - -xchgmod.o: xchgmod.cpp - -swap_layers.o: swap_layers.cpp - -tracepcb.o: tracepcb.cpp - -trpiste.o: trpiste.cpp - -surbrill.o: surbrill.cpp - -edit_pcb_text.o: edit_pcb_text.cpp - -locate.o: locate.cpp - -modules.o: modules.cpp drag.h - -autoplac.o: autoplac.cpp autorout.h - -automove.o: automove.cpp autorout.h - -loadcmp.o: loadcmp.cpp - -affiche.o: affiche.cpp - -tr_modif.o: tr_modif.cpp - -dialog_pcbnew_config_libs_and_paths.o: dialog_pcbnew_config_libs_and_paths.cpp dialog_pcbnew_config_libs_and_paths_fbp.h - -initpcb.o: initpcb.cpp dialog_initpcb.cpp dialog_initpcb.h - -editrack.o: editrack.cpp - -attribut.o: attribut.cpp - -deltrack.o: deltrack.cpp - -track.o: track.cpp - -edit_track_width.o: edit_track_width.cpp - -editmod.o: editmod.cpp dialog_edit_module.cpp dialog_edit_module.h - -move-drag_pads.o: move-drag_pads.cpp drag.h - -editedge.o: editedge.cpp - -cotation.o: cotation.cpp - -edtxtmod.o: edtxtmod.cpp - -dialog_edit_module_text.o: dialog_edit_module_text.cpp dialog_edit_module_text_base.h - -dialog_edit_module_text_base.o: dialog_edit_module_text_base.cpp dialog_edit_module_text_base.h - -ratsnest.o: ratsnest.cpp - -connect.o: connect.cpp - -drc.o: drc.cpp dialog_drc.cpp dialog_drc.h autorout.h - -block.o: block.cpp - -clean.o: clean.cpp cleaningoptions_dialog.cpp cleaningoptions_dialog.h - -pcbplot.o: pcbplot.cpp pcbplot.h - -plothpgl.o: plothpgl.cpp - -plotgerb.o: plotgerb.cpp pcbplot.h - -plotps.o: plotps.cpp pcbplot.h - -readgerb.o: readgerb.cpp pcbplot.h - -plot_rtn.o: plot_rtn.cpp pcbplot.h - -gendrill.o: gendrill.cpp dialog_gendrill.cpp dialog_gendrill.h pcbplot.h - -librairi.o: librairi.cpp - -edgemod.o: edgemod.cpp - -muonde.o: muonde.cpp drag.h - -autorout.o: autorout.cpp cell.h autorout.h - -solve.o: solve.cpp cell.h autorout.h - -work.o: work.cpp cell.h autorout.h - -queue.o: queue.cpp cell.h autorout.h - -board.o: board.cpp cell.h autorout.h - -dist.o: dist.cpp cell.h autorout.h - -graphpcb.o: graphpcb.cpp cell.h autorout.h - -zones.o: zones.cpp cell.h - - - -zones_by_polygon.o: zones_by_polygon.cpp - - -undelete.o: undelete.cpp - -move_or_drag_track.o: move_or_drag_track.cpp - -ioascii.o: ioascii.cpp - -coordbox.o: coordbox.cpp - -mirepcb.o: mirepcb.cpp - -dragsegm.o: dragsegm.cpp drag.h - -router.o: router.cpp - diff --git a/pcbnew/makefile.mingw b/pcbnew/makefile.mingw deleted file mode 100644 index 4a59c42e39..0000000000 --- a/pcbnew/makefile.mingw +++ /dev/null @@ -1,32 +0,0 @@ -#makefile for pcbnew, Windows - -WXDIR = $(WXWIN) - -TARGET=pcbnew - -include ../libs.win - -all: $(TARGET).exe - -include makefile.include - -$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o\ - $(EDALIBS) $(LIBVIEWER3D) makefile.mingw - $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe\ - $(OBJECTS) $(LIBVIEWER3D) $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB) - -install: $(TARGET).exe - cp $(TARGET).exe $(KICAD_BIN) - - -$(TARGET)_resources.o: $(TARGET).rc icon_pcbnew.ico icon_modedit.ico icon_w3d.ico - $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS) - - -clean : - -$(RM) *.o - -$(RM) *.exe - -$(RM) *.rsc - -$(RM) *.res - -$(RM) *.bak - diff --git a/polygon/kbool/src/makefile.gtk b/polygon/kbool/src/makefile.gtk deleted file mode 100644 index 5134c33a2d..0000000000 --- a/polygon/kbool/src/makefile.gtk +++ /dev/null @@ -1,16 +0,0 @@ -WXDIR = $(WXWIN) - -TARGET = libkbool.a - -all: $(TARGET) - -include makefile.include - -$(TARGET): $(OBJECTS) makefile.include - ar ruv $@ $(OBJECTS) - ranlib $@ - -clean: - rm -f *.bak - rm -f *.o - rm -f $(TARGET) diff --git a/polygon/kbool/src/makefile.include b/polygon/kbool/src/makefile.include deleted file mode 100644 index ff89ee729a..0000000000 --- a/polygon/kbool/src/makefile.include +++ /dev/null @@ -1,14 +0,0 @@ -# makefile.include for kbool -.cpp.o: - g++ -c -Wall -O2 -I../include -o $@ $*.cpp - -OBJECTS =\ - booleng.o\ - graph.o\ - graphlst.o\ - line.o\ - link.o\ - lpoint.o\ - node.o\ - record.o\ - scanbeam.o diff --git a/polygon/kbool/src/makefile.macosx b/polygon/kbool/src/makefile.macosx deleted file mode 100644 index 5134c33a2d..0000000000 --- a/polygon/kbool/src/makefile.macosx +++ /dev/null @@ -1,16 +0,0 @@ -WXDIR = $(WXWIN) - -TARGET = libkbool.a - -all: $(TARGET) - -include makefile.include - -$(TARGET): $(OBJECTS) makefile.include - ar ruv $@ $(OBJECTS) - ranlib $@ - -clean: - rm -f *.bak - rm -f *.o - rm -f $(TARGET) diff --git a/polygon/kbool/src/makefile.mingw b/polygon/kbool/src/makefile.mingw deleted file mode 100644 index 5134c33a2d..0000000000 --- a/polygon/kbool/src/makefile.mingw +++ /dev/null @@ -1,16 +0,0 @@ -WXDIR = $(WXWIN) - -TARGET = libkbool.a - -all: $(TARGET) - -include makefile.include - -$(TARGET): $(OBJECTS) makefile.include - ar ruv $@ $(OBJECTS) - ranlib $@ - -clean: - rm -f *.bak - rm -f *.o - rm -f $(TARGET) diff --git a/polygon/makefile.gtk b/polygon/makefile.gtk deleted file mode 100644 index 067ecd9fbc..0000000000 --- a/polygon/makefile.gtk +++ /dev/null @@ -1,37 +0,0 @@ -## Makefile for common.a -CC = gcc - - -include ../libs.linux - -# Compiler flags. -CPPFLAGS += -I./ -I../include - -EDACPPFLAGS = $(CPPFLAGS) - -TARGET = lib_polygon.a - -all: $(TARGET) - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing -EDACPPFLAGS = $(CPPFLAGS) - - -$(TARGET): $(OBJECTS) makefile.gtk makefile.include - rm -f $@ - ar -rv $@ $(OBJECTS) - ranlib $@ - -install:$(TARGET) - -clean: - rm -f *.o *~ core *.bak *.obj *.d - rm -f $(TARGET) - - diff --git a/polygon/makefile.include b/polygon/makefile.include deleted file mode 100644 index 6c0cec9713..0000000000 --- a/polygon/makefile.include +++ /dev/null @@ -1,15 +0,0 @@ -EXTRACPPFLAGS += -I$(SYSINCLUDE) -I./ -Ibitmaps -I../include - -COMMON = - - - -OBJECTS= \ - PolyLine.o\ - math_for_graphics.o\ - polygon_test_point_inside.o - - -PolyLine.o: PolyLine.cpp PolyLine.h - -math_for_graphics.o: math_for_graphics.cpp math_for_graphics.h diff --git a/polygon/makefile.macosx b/polygon/makefile.macosx deleted file mode 100644 index 3742bb1e1f..0000000000 --- a/polygon/makefile.macosx +++ /dev/null @@ -1,26 +0,0 @@ -## Makefile for common.a - -include ../libs.macosx - -TARGET = lib_polygon.a - -all: $(TARGET) - - -deps: - $(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null - -include makefile.include --include *.d - -CPPFLAGS += $(EXTRACPPFLAGS) -EDACPPFLAGS = $(CPPFLAGS) - -$(TARGET): $(OBJECTS) makefile.macosx makefile.include - rm -f $@ - ar -rv $@ $(OBJECTS) - ranlib $@ - -clean: - rm -f *.o; rm -f *~ - rm -f $(TARGET) diff --git a/polygon/makefile.mingw b/polygon/makefile.mingw deleted file mode 100644 index ef41f8e1ab..0000000000 --- a/polygon/makefile.mingw +++ /dev/null @@ -1,18 +0,0 @@ -WXDIR = $(WXWIN) - -TARGET = lib_polygon.a - -all: $(TARGET) - -include ../libs.win - -include makefile.include - -$(TARGET): $(OBJECTS) ../libs.win makefile.include - ar ruv $@ $(OBJECTS) - ranlib $@ - -clean: - rm -f *.bak - rm -f *.o - rm -f $(TARGET)