makefile.include 6.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
EXTRALIBS = ../common/common.a
EXTRACPPFLAGS += -DPCBNEW  -fno-strict-aliasing -I./ -Ibitmaps -I../include -I../share -I../pcbnew -I../3d-viewer

#COMMON = pcbnew.h struct.h class_pad.h class_module.h class_text_mod.h \
#		class_edge_mod.h class_equipot.h

LIBVIEWER3D = ../3d-viewer/3d-viewer.a

OBJECTS=	$(TARGET).o classpcb.o\
		lay2plot.o\
		modedit_undo_redo.o\
		block_module_editor.o\
		onrightclick.o\
14
		onleftclick.o\
15
		modedit_onclick.o\
16
		cross-probing.o\
17 18
		via_edit.o\
		wxprint.o \
19
		class_marker.o\
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
		menubarpcb.o \
		menubarmodedit.o \
		tool_onrightclick.o\
		edit.o \
		setpage.o \
		tool_pcb.o \
		pcbframe.o \
		class_track.o \
		class_mire.o\
		class_cotation.o\
		class_pad.o \
		class_equipot.o \
		class_module.o \
		class_edge_mod.o \
		class_text_mod.o\
		class_pcb_text.o\
36
		class_board_item.o\
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
		class_board.o\
		drawframe.o\
		drawpanel.o\
		track.o \
		set_color.o \
		set_grid.o \
		pcbcfg.o \
		netlist.o \
		affiche.o \
		swap_layers.o \
		tracepcb.o \
		tracemod.o \
		trpiste.o \
		surbrill.o \
		pcbtexte.o \
		locate.o \
		modules.o \
		loadcmp.o \
		zoom.o\
		dialog_setup_libs.o \
		dialog_general_options.o \
		muwave_command.o \
		initpcb.o\
		editrack.o \
		editrack-part2.o \
		deltrack.o edit_track_width.o \
		editmod.o\
		editpads.o \
		move-drag_pads.o\
		globaleditpad.o \
		editedge.o\
		edtxtmod.o \
		dialog_edit_mod_text.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\
		sel_layer.o \
		cotation.o\
		automove.o\
		tr_modif.o \
		autorout.o solve.o\
		work.o queue.o \
		board.o dist.o graphpcb.o \
		zones.o undelete.o \
		copy_track.o\
		move_or_drag_track.o\
90
		ioascii.o \
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
		mirepcb.o xchgmod.o\
		plotps.o\
		dragsegm.o\
		autoplac.o\
		files.o\
		infospgm.o\
		router.o\
		controle.o\
		tool_modedit.o\
		moduleframe.o\
		find.o\
		basepcbframe.o\
		modeditoptions.o\
		gen_modules_placefile.o\
		modedit.o\
		export_gencad.o\
107 108
		hotkeys.o \
        collectors.o
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 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 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239

setpage.o: ../share/setpage.cpp
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

drawpanel.o: ../share/drawpanel.cpp
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

drawframe.o: ../share/drawframe.cpp
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

menubarpcb.o: menubarpcb.cpp $(COMMON)

dialog_general_options.o: dialog_general_options.cpp dialog_track_options.cpp dialog_display_options.cpp\
		dialog_graphic_items_options.cpp $(COMMON)

menubarmodedit.o: menubarmodedit.cpp $(COMMON)

controle.o: controle.cpp $(COMMON)

cursors.o: cursors.cpp $(COMMON)

tool_onrightclick.o: tool_onrightclick.cpp $(COMMON)

files.o: files.cpp $(COMMON)

export_gencad.o: export_gencad.cpp $(COMMON)

wxprint.o: ../share/wxprint.cpp ../share/dialog_print.cpp ../share/dialog_print.h $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

lay2plot.o: lay2plot.cpp $(COMMON)

classpcb.o: classpcb.cpp $(COMMON)

class_track.o: class_track.cpp class_track.h $(COMMON)

class_mire.o: class_mire.cpp class_mire.h $(COMMON)

class_cotation.o: class_cotation.cpp class_cotation.h $(COMMON)

class_pad.o: class_pad.cpp $(COMMON)

class_equipot.o: class_equipot.cpp $(COMMON)

class_module.o: class_module.cpp $(COMMON)

class_edge_mod.o: class_edge_mod.cpp $(COMMON)

class_text_mod.o: class_text_mod.cpp $(COMMON)

class_pcb_text.o: class_pcb_text.cpp class_pcb_text.h $(COMMON)

pcbnew.o: pcbnew.cpp pcbnew.h pcbplot.h drag.h $(COMMON) \
				autorout.h ../include/eda_dde.h

pcbcfg.o: pcbcfg.cpp $(COMMON) pcbcfg.h pcbplot.h

netlist.o: netlist.cpp dialog_netlist.cpp dialog_netlist.h $(COMMON)

gen_modules_placefile.o: gen_modules_placefile.cpp $(COMMON)

xchgmod.o: xchgmod.cpp $(COMMON)

swap_layers.o: swap_layers.cpp $(COMMON)

tracepcb.o: tracepcb.cpp $(COMMON)

tracemod.o: tracemod.cpp ../include/grfonte.h $(COMMON)

trpiste.o: trpiste.cpp $(COMMON)

surbrill.o: surbrill.cpp $(COMMON)

pcbtexte.o: pcbtexte.cpp $(COMMON)

locate.o: locate.cpp $(COMMON)

modules.o: modules.cpp drag.h $(COMMON)

autoplac.o: autoplac.cpp autorout.h $(COMMON)

automove.o: automove.cpp autorout.h $(COMMON)

loadcmp.o: loadcmp.cpp $(COMMON)

zoom.o: ../share/zoom.cpp $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

infospgm.o: ../share/infospgm.cpp $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

affiche.o: affiche.cpp $(COMMON)

tr_modif.o: tr_modif.cpp $(COMMON)

dialog_setup_libs.o: dialog_setup_libs.cpp $(COMMON)

initpcb.o: initpcb.cpp dialog_initpcb.cpp dialog_initpcb.h $(COMMON)

editrack.o: editrack.cpp $(COMMON)

attribut.o: attribut.cpp $(COMMON)

deltrack.o: deltrack.cpp $(COMMON)

track.o: track.cpp $(COMMON)

edit_track_width.o: edit_track_width.cpp $(COMMON)

editmod.o: editmod.cpp dialog_edit_module.cpp dialog_edit_module.h $(COMMON)

editpads.o: editpads.cpp dialog_pad_edit.cpp dialog_pad_edit.h $(COMMON)

move-drag_pads.o: move-drag_pads.cpp drag.h $(COMMON)

editedge.o: editedge.cpp $(COMMON)

cotation.o: cotation.cpp $(COMMON)

edtxtmod.o: edtxtmod.cpp $(COMMON)

dialog_edit_mod_text.o: dialog_edit_mod_text.cpp dialog_edit_mod_text.h $(COMMON)

ratsnest.o: ratsnest.cpp $(COMMON)

connect.o: connect.cpp $(COMMON)

drc.o: drc.cpp dialog_drc.cpp dialog_drc.h autorout.h $(COMMON)

block.o: block.cpp $(COMMON)

240
clean.o: clean.cpp cleaningoptions_dialog.cpp cleaningoptions_dialog.h $(COMMON)
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293

pcbplot.o: pcbplot.cpp pcbplot.h $(COMMON)

plothpgl.o: plothpgl.cpp $(COMMON)

plotgerb.o: plotgerb.cpp pcbplot.h plotgerb.h $(COMMON)

plotps.o: plotps.cpp pcbplot.h $(COMMON)

readgerb.o: readgerb.cpp pcbplot.h $(COMMON)

plot_rtn.o: plot_rtn.cpp pcbplot.h $(COMMON)

gendrill.o: gendrill.cpp pcbplot.h $(COMMON)

librairi.o: librairi.cpp $(COMMON)

edgemod.o: edgemod.cpp $(COMMON)

muonde.o: muonde.cpp drag.h gen_self.h $(COMMON)

autorout.o: autorout.cpp cell.h autorout.h $(COMMON)

solve.o: solve.cpp cell.h autorout.h $(COMMON)

work.o: work.cpp cell.h autorout.h $(COMMON)

queue.o: queue.cpp cell.h autorout.h $(COMMON)

board.o: board.cpp cell.h autorout.h $(COMMON)

dist.o: dist.cpp cell.h autorout.h $(COMMON)

graphpcb.o: graphpcb.cpp cell.h autorout.h $(COMMON)

zones.o: zones.cpp cell.h $(COMMON)

undelete.o: undelete.cpp $(COMMON)

move_or_drag_track.o: move_or_drag_track.cpp $(COMMON)

copy_track.o: copy_track.cpp $(COMMON)

ioascii.o: ioascii.cpp $(COMMON)

coordbox.o: coordbox.cpp $(COMMON)

mirepcb.o: mirepcb.cpp $(COMMON)

dragsegm.o: dragsegm.cpp drag.h $(COMMON)

router.o: router.cpp $(COMMON)

294
collectors.o: collectors.cpp collectors.h $(COMMON)