File: rules

package info (click to toggle)
pcb-rnd 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 33,924 kB
  • sloc: ansic: 230,096; yacc: 5,894; sh: 5,841; makefile: 2,982; awk: 2,658; lex: 1,086; python: 519; lisp: 169; xml: 168; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (133 lines) | stat: -rwxr-xr-x 3,179 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
127
128
129
130
131
132
133
#!/usr/bin/make -f

DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

%:
ifeq (mipsel,$(findstring mipsel,$(DEB_HOST_ARCH)))
	dh $@ --no-parallel
else ifeq (mips64el,$(findstring mips64el,$(DEB_HOST_ARCH)))
	dh $@ --no-parallel
else
	dh $@
endif

override_dh_auto_clean:
	# only try to run dh_auto_clean if configure has been run
	test -f Makefile.conf && dh_auto_clean || true

override_dh_auto_configure:
	./configure \
		--LDFLAGS='$(LDFLAGS)' \
		--CFLAGS='$(CFLAGS) $(CPPFLAGS)' \
		\
		--symbols \
		--prefix=/usr \
		--confdir=/etc/pcb-rnd \
		--prefix/libs/script/fungw=/dev/null \
		\
		--all=disable \
		--buildin-script \
		--buildin-fp_fs \
		--buildin-draw_fab \
		--buildin-act_read \
		--buildin-drc_query \
		--buildin-mincut \
		--buildin-report \
		--buildin-rubberband_orig \
		--buildin-exto_std \
		--buildin-fp_board \
		--buildin-propedit \
		--buildin-io_lihata \
		--buildin-autocrop \
		--buildin-lib_polyhelp \
		--buildin-draw_csect \
		--buildin-ddraft \
		--buildin-hid_batch \
		--buildin-act_draw \
		--buildin-tool_std \
		--buildin-query \
		--buildin-lib_compat_help \
		--buildin-drc_orig \
		--buildin-shape \
		--buildin-extedit \
		--plugin-export_excellon \
		--plugin-export_fidocadj \
		--plugin-export_lpr \
		--plugin-export_oldconn \
		--plugin-import_pxm_gd \
		--plugin-export_stat \
		--plugin-io_kicad_legacy \
		--plugin-io_eagle \
		--plugin-io_tedax \
		--plugin-import_gnetlist \
		--plugin-import_pxm_pnm \
		--plugin-io_kicad \
		--plugin-import_mucs \
		--plugin-renumber \
		--plugin-import_calay \
		--plugin-smartdisperse \
		--plugin-draw_fontsel \
		--plugin-polycombine \
		--plugin-export_gcode \
		--plugin-export_bom \
		--plugin-ar_cpcb \
		--plugin-lib_hid_pcbui \
		--plugin-import_sch \
		--plugin-teardrops \
		--plugin-shand_cmd \
		--plugin-import_tinycad \
		--plugin-export_openems \
		--plugin-import_ltspice \
		--plugin-export_dxf \
		--plugin-lib_gtk_common \
		--plugin-export_ipcd356 \
		--plugin-import_ttf \
		--plugin-import_mentor_sch \
		--plugin-import_dsn \
		--plugin-export_ps \
		--plugin-hid_gtk2_gdk \
		--plugin-millpath \
		--plugin-djopt \
		--plugin-hid_gtk2_gl \
		--plugin-import_edif \
		--plugin-hid_lesstif \
		--plugin-lib_gensexpr \
		--plugin-import_sch2 \
		--plugin-diag \
		--plugin-lib_wget \
		--plugin-lib_hid_gl \
		--plugin-export_stl \
		--plugin-autoplace \
		--plugin-export_svg \
		--plugin-import_net_cmd \
		--plugin-fp_wget \
		--plugin-fontmode \
		--plugin-import_netlist \
		--plugin-polystitch \
		--plugin-dialogs \
		--plugin-io_dsn \
		--plugin-export_xy \
		--plugin-import_hpgl \
		--plugin-export_png \
		--plugin-import_ipcd356 \
		--plugin-distaligntext \
		--plugin-export_dsn \
		--plugin-lib_netmap \
		--plugin-lib_hid_common \
		--plugin-io_hyp \
		--plugin-cam \
		--plugin-puller \
		--plugin-import_fpcb_nl \
		--plugin-io_pcb \
		--plugin-distalign \
		--plugin-asm \
		--plugin-export_openscad \
		--plugin-jostle \
		--plugin-autoroute \
		--plugin-io_autotrax \
		--plugin-vendordrill \
		--plugin-export_gerber \
		--plugin-import_net_action \