File: Plug.tmpasm

package info (click to toggle)
pcb-rnd 3.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 29,624 kB
  • sloc: ansic: 197,571; yacc: 6,153; sh: 5,808; awk: 2,708; makefile: 2,139; lex: 1,107; python: 519; xml: 261; lisp: 169; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (21 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
put /local/pcb/mod {export_dxf}
put /local/pcb/mod/OBJS [@
	$(PLUGDIR)/export_dxf/dxf.o
	$(PLUGDIR)/export_dxf/lht_template.o
	$(PLUGDIR)/export_dxf/dxf_templ_lht.o
@]

switch /local/pcb/export_dxf/controls
	case {buildin}   include /local/pcb/tmpasm/buildin; end;
	case {plugin}    include /local/pcb/tmpasm/plugin; end;
	case {disable}   include /local/pcb/tmpasm/disable; end;
end

# always generate the template lht rule so make dep can be run
append /local/pcb/CLEANFILES { $(PLUGDIR)/export_dxf/dxf_templ_lht.c }
append /local/pcb/DEPDEPS { $(PLUGDIR)/export_dxf/dxf_templ_lht.c }
append /local/pcb/RULES [@
### export_dxf: dxf template embed
$(PLUGDIR)/export_dxf/dxf_templ_lht.c: $(PLUGDIR)/export_dxf/dxf_templ.lht $(CQUOTE)
	$(CQUOTE) -n dxf_templ_default <$(PLUGDIR)/export_dxf/dxf_templ.lht >$(PLUGDIR)/export_dxf/dxf_templ_lht.c
@]