makefile.include 4.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# 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

# 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\
20
		cross-probing.o\
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
		setpage.o\
		cmpclass.o\
		class_hierarchy_sheet.o\
		class_text-label.o\
		component_class.o\
		libclass.o\
		dialog_options.o\
		tool_lib.o\
		tool_sch.o\
		tool_viewlib.o\
		drawframe.o\
		schframe.o\
		viewlib_frame.o\
		drawpanel.o\
		wxprint.o\
		lib_export.o \
		busentry.o \
		bus-wire-junction.o \
		eelibs_read_libraryfiles.o \
		eelibs_draw_components.o \
		eeload.o\
		block.o\
		block_libedit.o\
		eeredraw.o\
		dialog_eeschema_config.o\
		eestring.o eelayer.o \
		priorque.o eeconfig.o \
		affiche.o \
		zoom.o \
		getpart.o\
		netlist.o\
		netlist_control.o\
		edit_label.o\
		edit_component_in_schematic.o\
		locate.o \
		save_schemas.o sheet.o \
		viewlibs.o \
		libedit.o \
		libframe.o \
		symbedit.o \
		pinedit.o \
		libfield.o \
		edit_component_in_lib.o \
		menubar.o \
		savelib.o symbtext.o \
		symbdraw.o \
		hierarch.o files-io.o \
		annotate.o plothpgl.o \
		plot.o libalias.o \
		plotps.o netform.o \
		delsheet.o \
		infospgm.o \
		delete.o dialog_build_BOM.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 \
		controle.o\
		hotkeys.o\
		svg_print.o

eeschema.o: eeschema.cpp program.h general.h $(DEPEND)

edit_component_in_lib.o: edit_component_in_lib.cpp\
	dialog_edit_component_in_lib.cpp dialog_edit_component_in_lib.h $(DEPEND)

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.cpp dialog_edit_label.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)

eeconfig.o: eeconfig.cpp eeconfig.h $(DEPEND)

annotate.o: annotate.cpp 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)
dickelbeck's avatar
dickelbeck committed
127
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
128 129

svg_print.o: ../share/svg_print.cpp ../share/svg_print.h $(DEPEND)
dickelbeck's avatar
dickelbeck committed
130
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
131 132

zoom.o: ../share/zoom.cpp $(DEPEND)
dickelbeck's avatar
dickelbeck committed
133
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
134 135

treeprj.o: ../share/treeprj.cpp $(DEPEND)
dickelbeck's avatar
dickelbeck committed
136
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
137 138

drawpanel.o: ../share/drawpanel.cpp  $(DEPEND)
dickelbeck's avatar
dickelbeck committed
139
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
140 141

mdiframe.o: ../share/mdiframe.cpp $(DEPEND)
dickelbeck's avatar
dickelbeck committed
142
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
143 144

buildmnu.o: ../share/buildmnu.cpp $(DEPEND)
dickelbeck's avatar
dickelbeck committed
145
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
146 147 148 149 150 151 152 153

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)
dickelbeck's avatar
dickelbeck committed
154
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
155 156 157 158

bus-wire-junction.o: bus-wire-junction.cpp $(DEPEND)

drawframe.o: ../share/drawframe.cpp
dickelbeck's avatar
dickelbeck committed
159
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187

eelibs_read_libraryfiles.o: eelibs_read_libraryfiles.cpp $(DEPEND)

eelibs_draw_components.o: eelibs_draw_components.cpp $(DEPEND)

eeload.o: eeload.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.h $(DEPEND)

libedit.o: libedit.cpp $(DEPEND)

infospgm.o: ../share/infospgm.cpp $(DEPEND)
dickelbeck's avatar
dickelbeck committed
188
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp
189