Implemented a hard kill to avoid hanging in a terminal on a Ctrl-C.
[xcircuit.git] / Makefile.in
blob0774ebe4d5a6bbcafae13eec098c0f95f48a623c
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 VPATH = @srcdir@
18 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19 am__make_running_with_option = \
20 case $${target_option-} in \
21 ?) ;; \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
24 exit 1;; \
25 esac; \
26 has_opt=no; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
30 else \
31 case $$MAKEFLAGS in \
32 *\\[\ \ ]*) \
33 bs=\\; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
36 esac; \
37 fi; \
38 skip_next=no; \
39 strip_trailopt () \
40 { \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42 }; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
45 case $$flg in \
46 *=*|--*) continue;; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
55 esac; \
56 case $$flg in \
57 *$$target_option*) has_opt=yes; break;; \
58 esac; \
59 done; \
60 test $$has_opt = yes
61 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63 pkgdatadir = $(datadir)/@PACKAGE@
64 pkgincludedir = $(includedir)/@PACKAGE@
65 pkglibdir = $(libdir)/@PACKAGE@
66 pkglibexecdir = $(libexecdir)/@PACKAGE@
67 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68 install_sh_DATA = $(install_sh) -c -m 644
69 install_sh_PROGRAM = $(install_sh) -c
70 install_sh_SCRIPT = $(install_sh) -c
71 INSTALL_HEADER = $(INSTALL_DATA)
72 transform = $(program_transform_name)
73 NORMAL_INSTALL = :
74 PRE_INSTALL = :
75 POST_INSTALL = :
76 NORMAL_UNINSTALL = :
77 PRE_UNINSTALL = :
78 POST_UNINSTALL = :
79 build_triplet = @build@
80 host_triplet = @host@
81 target_triplet = @target@
82 bin_PROGRAMS = xcircuit$(EXEEXT)
83 subdir = .
84 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
85 $(top_srcdir)/configure $(am__configure_deps) mkinstalldirs
86 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87 am__aclocal_m4_deps = $(top_srcdir)/configure.in
88 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89 $(ACLOCAL_M4)
90 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
91 configure.lineno config.status.lineno
92 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
93 CONFIG_CLEAN_FILES =
94 CONFIG_CLEAN_VPATH_FILES =
95 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
96 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
97 menudep_SOURCES = menudep.c
98 menudep_OBJECTS = menudep.$(OBJEXT)
99 menudep_LDADD = $(LDADD)
100 am_xcircuit_OBJECTS = elements.$(OBJEXT) events.$(OBJEXT) \
101 filelist.$(OBJEXT) files.$(OBJEXT) flate.$(OBJEXT) \
102 fontfile.$(OBJEXT) formats.$(OBJEXT) functions.$(OBJEXT) \
103 graphic.$(OBJEXT) help.$(OBJEXT) keybindings.$(OBJEXT) \
104 libraries.$(OBJEXT) menucalls.$(OBJEXT) netlist.$(OBJEXT) \
105 ngspice.$(OBJEXT) parameter.$(OBJEXT) python.$(OBJEXT) \
106 rcfile.$(OBJEXT) render.$(OBJEXT) schema.$(OBJEXT) \
107 selection.$(OBJEXT) svg.$(OBJEXT) text.$(OBJEXT) \
108 undo.$(OBJEXT) tclxcircuit.$(OBJEXT) tkSimple.$(OBJEXT) \
109 xcircuit.$(OBJEXT) xtfuncs.$(OBJEXT) xtgui.$(OBJEXT) \
110 cairo.$(OBJEXT) utf8encodings.$(OBJEXT)
111 xcircuit_OBJECTS = $(am_xcircuit_OBJECTS)
112 xcircuit_DEPENDENCIES =
113 AM_V_P = $(am__v_P_@AM_V@)
114 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
115 am__v_P_0 = false
116 am__v_P_1 = :
117 AM_V_GEN = $(am__v_GEN_@AM_V@)
118 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
119 am__v_GEN_0 = @echo " GEN " $@;
120 am__v_GEN_1 =
121 AM_V_at = $(am__v_at_@AM_V@)
122 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
123 am__v_at_0 = @
124 am__v_at_1 =
125 DEFAULT_INCLUDES = -I.@am__isrc@
126 depcomp =
127 am__depfiles_maybe =
128 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
129 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
130 AM_V_CC = $(am__v_CC_@AM_V@)
131 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
132 am__v_CC_0 = @echo " CC " $@;
133 am__v_CC_1 =
134 CCLD = $(CC)
135 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
136 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
137 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
138 am__v_CCLD_0 = @echo " CCLD " $@;
139 am__v_CCLD_1 =
140 SOURCES = menudep.c $(xcircuit_SOURCES)
141 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
142 ctags-recursive dvi-recursive html-recursive info-recursive \
143 install-data-recursive install-dvi-recursive \
144 install-exec-recursive install-html-recursive \
145 install-info-recursive install-pdf-recursive \
146 install-ps-recursive install-recursive installcheck-recursive \
147 installdirs-recursive pdf-recursive ps-recursive \
148 tags-recursive uninstall-recursive
149 am__can_run_installinfo = \
150 case $$AM_UPDATE_INFO_DIR in \
151 n|no|NO) false;; \
152 *) (install-info --version) >/dev/null 2>&1;; \
153 esac
154 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
155 am__vpath_adj = case $$p in \
156 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
157 *) f=$$p;; \
158 esac;
159 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
160 am__install_max = 40
161 am__nobase_strip_setup = \
162 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
163 am__nobase_strip = \
164 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
165 am__nobase_list = $(am__nobase_strip_setup); \
166 for p in $$list; do echo "$$p $$p"; done | \
167 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
168 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
169 if (++n[$$2] == $(am__install_max)) \
170 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
171 END { for (dir in files) print dir, files[dir] }'
172 am__base_list = \
173 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
174 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
175 am__uninstall_files_from_dir = { \
176 test -z "$$files" \
177 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
178 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
179 $(am__cd) "$$dir" && rm -f $$files; }; \
181 man1dir = $(mandir)/man1
182 NROFF = nroff
183 MANS = $(man_MANS)
184 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
185 distclean-recursive maintainer-clean-recursive
186 am__recursive_targets = \
187 $(RECURSIVE_TARGETS) \
188 $(RECURSIVE_CLEAN_TARGETS) \
189 $(am__extra_recursive_targets)
190 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
191 cscope
192 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
193 # Read a list of newline-separated strings from the standard input,
194 # and print each of them once, without duplicates. Input order is
195 # *not* preserved.
196 am__uniquify_input = $(AWK) '\
197 BEGIN { nonempty = 0; } \
198 { items[$$0] = 1; nonempty = 1; } \
199 END { if (nonempty) { for (i in items) print i; }; } \
201 # Make sure the list of sources is unique. This is necessary because,
202 # e.g., the same source file might be shared among _SOURCES variables
203 # for different programs/libraries.
204 am__define_uniq_tagged_files = \
205 list='$(am__tagged_files)'; \
206 unique=`for i in $$list; do \
207 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
208 done | $(am__uniquify_input)`
209 ETAGS = etags
210 CTAGS = ctags
211 CSCOPE = cscope
212 DIST_SUBDIRS = $(SUBDIRS)
213 ACLOCAL = @ACLOCAL@
215 # Override standard "make" target when compiling under TCL
216 ALL_TARGET = @ALL_TARGET@
217 AMTAR = @AMTAR@
218 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
219 AUTOCONF = @AUTOCONF@
220 AUTOHEADER = @AUTOHEADER@
221 AUTOMAKE = @AUTOMAKE@
222 AWK = @AWK@
223 CC = @CC@
224 CCDEPMODE = @CCDEPMODE@
225 CFLAGS = @CFLAGS@
226 CPP = @CPP@
227 CPPFLAGS = @CPPFLAGS@
228 CYGPATH_W = @CYGPATH_W@
230 # Main compiler arguments
231 DEFS = @DEFS@ $(PATHNAMES)
232 DEPDIR = @DEPDIR@
233 ECHO_C = @ECHO_C@
234 ECHO_N = @ECHO_N@
235 ECHO_T = @ECHO_T@
236 EGREP = @EGREP@
237 EXEEXT = @EXEEXT@
238 EXTRA_LIB_SPECS = @EXTRA_LIB_SPECS@
239 GREP = @GREP@
240 GS_EXEC = @GS_EXEC@
241 GS_LIBS = @GS_LIBS@
242 HAVE_LGF = @HAVE_LGF@
243 INC_SPECS = @INC_SPECS@
244 INSTALL = @INSTALL@
245 INSTALL_DATA = @INSTALL_DATA@
246 INSTALL_PROGRAM = @INSTALL_PROGRAM@
247 INSTALL_SCRIPT = @INSTALL_SCRIPT@
248 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
249 INSTALL_TARGET = @INSTALL_TARGET@
250 INTERPRETER = @INTERPRETER@
251 INTERP_PATH = @INTERP_PATH@
252 LD = @LD@
253 LDDL_FLAGS = @LDDL_FLAGS@
254 LDFLAGS = @LDFLAGS@
255 LD_RUN_PATH = @LD_RUN_PATH@
256 LIBOBJS = @LIBOBJS@
257 LIBS = @LIBS@ $(cairo_LIBS) $(fontconfig_LIBS) ${GS_LIBS}
258 LIB_SPECS = @LIB_SPECS@
259 LTLIBOBJS = @LTLIBOBJS@
260 M4 = @M4@
261 MAKEINFO = @MAKEINFO@
262 MKDIR_P = @MKDIR_P@
263 OBJEXT = @OBJEXT@
264 PACKAGE = @PACKAGE@
265 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
266 PACKAGE_NAME = @PACKAGE_NAME@
267 PACKAGE_STRING = @PACKAGE_STRING@
268 PACKAGE_TARNAME = @PACKAGE_TARNAME@
269 PACKAGE_URL = @PACKAGE_URL@
270 PACKAGE_VERSION = @PACKAGE_VERSION@
271 PATH_SEPARATOR = @PATH_SEPARATOR@
272 PKG_CONFIG = @PKG_CONFIG@
273 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
274 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
275 PYTHON = @PYTHON@
276 RANLIB = @RANLIB@
277 REVISION = @REVISION@
278 SET_MAKE = @SET_MAKE@
279 SHDLIB_EXT = @SHDLIB_EXT@
280 SHELL = @SHELL@
281 SHLIB_LD = @SHLIB_LD@
282 SHLIB_LIB_SPECS = @SHLIB_LIB_SPECS@
283 SPICE_EXEC = @SPICE_EXEC@
284 STARTUP_FILE = @STARTUP_FILE@
285 STDLIBS = @STDLIBS@
286 STRIP = @STRIP@
287 SUBDIRS = @SUBDIRS@
288 SUBLIB = @SUBLIB@
289 TCL_LIB_DIR = @TCL_LIB_DIR@
290 VERSION = @VERSION@
291 WISH_EXE = @WISH_EXE@
292 WRAPPER_SCRIPT = @WRAPPER_SCRIPT@
293 XCIRCUIT_TARGET = @XCIRCUIT_TARGET@
294 XMKMF = @XMKMF@
295 X_CFLAGS = @X_CFLAGS@
296 X_EXTRA_LIBS = @X_EXTRA_LIBS@
297 X_LIBS = @X_LIBS@
298 X_PRE_LIBS = @X_PRE_LIBS@
299 abs_builddir = @abs_builddir@
300 abs_srcdir = @abs_srcdir@
301 abs_top_builddir = @abs_top_builddir@
302 abs_top_srcdir = @abs_top_srcdir@
303 ac_ct_CC = @ac_ct_CC@
304 am__include = @am__include@
305 am__leading_dot = @am__leading_dot@
306 am__quote = @am__quote@
307 am__tar = @am__tar@
308 am__untar = @am__untar@
309 bindir = @bindir@
310 build = @build@
311 build_alias = @build_alias@
312 build_cpu = @build_cpu@
313 build_os = @build_os@
314 build_vendor = @build_vendor@
315 builddir = @builddir@
316 cairo_CFLAGS = @cairo_CFLAGS@
317 cairo_LIBS = @cairo_LIBS@
318 datadir = @datadir@
319 datarootdir = @datarootdir@
320 docdir = @docdir@
321 dvidir = @dvidir@
322 exec_prefix = @exec_prefix@
323 fontconfig_CFLAGS = @fontconfig_CFLAGS@
324 fontconfig_LIBS = @fontconfig_LIBS@
325 host = @host@
326 host_alias = @host_alias@
327 host_cpu = @host_cpu@
328 host_os = @host_os@
329 host_vendor = @host_vendor@
330 htmldir = @htmldir@
331 includedir = @includedir@
332 infodir = @infodir@
333 install_sh = @install_sh@
334 libdir = @libdir@
335 libexecdir = @libexecdir@
336 localedir = @localedir@
337 localstatedir = @localstatedir@
338 mandir = @mandir@
339 mkdir_p = @mkdir_p@
340 oldincludedir = @oldincludedir@
341 pdfdir = @pdfdir@
342 prefix = @prefix@
343 program_transform_name = @program_transform_name@
344 psdir = @psdir@
345 sbindir = @sbindir@
346 sharedstatedir = @sharedstatedir@
347 srcdir = @srcdir@
348 sysconfdir = @sysconfdir@
349 target = @target@
350 target_alias = @target_alias@
351 target_cpu = @target_cpu@
352 target_os = @target_os@
353 target_vendor = @target_vendor@
354 top_build_prefix = @top_build_prefix@
355 top_builddir = @top_builddir@
356 top_srcdir = @top_srcdir@
357 AUTOMAKE_OPTIONS = foreign no-dependencies no-dist
358 AM_CFLAGS = $(cairo_CFLAGS) $(fontconfig_CFLAGS) ${GS_CFLAGS}
360 # Additional files to distribute
361 EXTRA_DIST = COPYRIGHT README README.ISOLatin2 README.notes
362 FULL_VERSION = @VERSION@.@REVISION@
364 # Menudep program generates menudep.h needed by some of the
365 # source files for Xcircuit
366 noinst_PROGRAMS = menudep$(EXEEXT)
368 # Automake files
369 ac_aux_dir = dist
371 # Temporary directory (if not overridden by environment variable TMPDIR)
372 tmpdir = /tmp
374 # Directories for app-defaults file and manual page
375 appdefaultsdir = $(libdir)/$(PACKAGE)-$(VERSION)/app-defaults
376 appmandir = $(libdir)/$(PACKAGE)-$(VERSION)/man
377 PATHNAMES = -DPROG_VERSION=\"$(VERSION)\" \
378 -DPROG_REVISION=\"$(REVISION)\" \
379 -DCAD_DIR=\"$(libdir)\" \
380 -DTEMP_DIR=\"$(tmpdir)\" \
381 -DRESOURCES_DIR=\"$(appdefaultsdir)\" \
382 -DSCRIPTS_DIR=\"$(scriptsdir)\" \
383 -DBUILTINS_DIR=\"$(librarydir)\" \
384 -DBUILTINS_FILE=\"$(BUILTINS_FILE)\" \
385 -DUSER_RC_FILE=\"$(USER_RC_FILE)\" \
386 -DPROLOGUE_DIR=\"$(librarydir)\" \
387 -DPROLOGUE_FILE=\"$(PROLOGUE_FILE)\" \
388 -DCYRILLIC_ENC_FILE=\"$(CYRILLIC_ENC_FILE)\" \
389 -DISOLATIN2_ENC_FILE=\"$(ISOLATIN2_ENC_FILE)\" \
390 -DISOLATIN5_ENC_FILE=\"$(ISOLATIN5_ENC_FILE)\" \
391 -DSTARTUP_FILE=\"$(STARTUP_FILE)\" \
392 -DLGF_LIB=\"$(LGF_LIB)\" \
393 -DASG_SPICE_LIB=\"$(ASG_SPICE_LIB)\"
395 xcircuit_SOURCES = elements.c events.c filelist.c files.c \
396 flate.c fontfile.c formats.c functions.c graphic.c \
397 help.c keybindings.c libraries.c menucalls.c \
398 netlist.c ngspice.c parameter.c python.c \
399 rcfile.c render.c schema.c selection.c svg.c text.c undo.c \
400 tclxcircuit.c tkSimple.c xcircuit.c xtfuncs.c xtgui.c \
401 cairo.c utf8encodings.c
403 xcircuit_DEPEND = @SUBLIB@
404 xcircuit_LDADD = @SUBLIB@ @STDLIBS@
406 # Man page
407 M4_DEFS = @M4_DEFS@ @DEFS@
408 man_MANS = lib/xcircuit.1
409 INCLUDES = -IXw ${INC_SPECS}
411 # Library directory and files
412 librarydir = $(libdir)/$(PACKAGE)-$(VERSION)
413 scriptsdir = $(libdir)/$(PACKAGE)-$(VERSION)
414 USER_RC_FILE = .xcircuitrc
415 PROLOGUE_FILE = xcircps2.pro
416 CYRILLIC_ENC_FILE = cyrillic.enc
417 ISOLATIN2_ENC_FILE = isolatin2.enc
418 ISOLATIN5_ENC_FILE = isolatin5.enc
419 ENCODING_FILES = ${CYRILLIC_ENC_FILE} ${ISOLATIN2_ENC_FILE} ${ISOLATIN5_ENC_FILE}
420 LGF_LIB = lgf.lps
421 ASG_SPICE_LIB = asg_spice.lps
422 SIGNAL_LIB = signal.lps
423 MUSIC_LIB = musiclib.lps
424 FONTS_LPS = courier courieriso2 courieriso5 helvetica helveticaiso2 \
425 helveticaiso5 myfont symbol times_roman times_romaniso2 \
426 times_romaniso5
428 FONTS_XFE = courier courieriso courieriso2 courieriso5 courier_cyrillic \
429 helvetica helveticaiso helveticaiso2 helveticaiso5 helvetica_cyrillic \
430 times_roman times_romaniso times_romaniso2 times_romaniso5 \
431 times_roman_cyrillic myfont symbol
433 SCRIPTS_PY = spice gettext pagebbox
434 WRAPPER_INIT = xcircuit.tcl
435 WRAPPER_OBJ = xcircuit${SHDLIB_EXT}
436 WRAPPER_SO = xcircuit.so
437 WRAPPER_SH = xcircuit.sh
438 CONSOLE = tkcon.tcl
439 CONSOLE_SCRIPT = console.tcl
440 all: all-recursive
442 .SUFFIXES:
443 .SUFFIXES: .c .o .obj
444 am--refresh: Makefile
446 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
447 @for dep in $?; do \
448 case '$(am__configure_deps)' in \
449 *$$dep*) \
450 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
451 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
452 && exit 0; \
453 exit 1;; \
454 esac; \
455 done; \
456 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
457 $(am__cd) $(top_srcdir) && \
458 $(AUTOMAKE) --foreign Makefile
459 .PRECIOUS: Makefile
460 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
461 @case '$?' in \
462 *config.status*) \
463 echo ' $(SHELL) ./config.status'; \
464 $(SHELL) ./config.status;; \
465 *) \
466 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
467 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
468 esac;
470 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
471 $(SHELL) ./config.status --recheck
473 $(top_srcdir)/configure: $(am__configure_deps)
474 $(am__cd) $(srcdir) && $(AUTOCONF)
475 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
476 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
477 $(am__aclocal_m4_deps):
478 install-binPROGRAMS: $(bin_PROGRAMS)
479 @$(NORMAL_INSTALL)
480 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
481 if test -n "$$list"; then \
482 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
483 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
484 fi; \
485 for p in $$list; do echo "$$p $$p"; done | \
486 sed 's/$(EXEEXT)$$//' | \
487 while read p p1; do if test -f $$p \
488 ; then echo "$$p"; echo "$$p"; else :; fi; \
489 done | \
490 sed -e 'p;s,.*/,,;n;h' \
491 -e 's|.*|.|' \
492 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
493 sed 'N;N;N;s,\n, ,g' | \
494 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
495 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
496 if ($$2 == $$4) files[d] = files[d] " " $$1; \
497 else { print "f", $$3 "/" $$4, $$1; } } \
498 END { for (d in files) print "f", d, files[d] }' | \
499 while read type dir files; do \
500 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
501 test -z "$$files" || { \
502 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
503 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
505 ; done
507 uninstall-binPROGRAMS:
508 @$(NORMAL_UNINSTALL)
509 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
510 files=`for p in $$list; do echo "$$p"; done | \
511 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
512 -e 's/$$/$(EXEEXT)/' \
513 `; \
514 test -n "$$list" || exit 0; \
515 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
516 cd "$(DESTDIR)$(bindir)" && rm -f $$files
518 clean-binPROGRAMS:
519 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
521 clean-noinstPROGRAMS:
522 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
524 xcircuit$(EXEEXT): $(xcircuit_OBJECTS) $(xcircuit_DEPENDENCIES) $(EXTRA_xcircuit_DEPENDENCIES)
525 @rm -f xcircuit$(EXEEXT)
526 $(AM_V_CCLD)$(LINK) $(xcircuit_OBJECTS) $(xcircuit_LDADD) $(LIBS)
528 mostlyclean-compile:
529 -rm -f *.$(OBJEXT)
531 distclean-compile:
532 -rm -f *.tab.c
534 .c.o:
535 $(AM_V_CC)$(COMPILE) -c -o $@ $<
537 .c.obj:
538 $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
539 install-man1: $(man_MANS)
540 @$(NORMAL_INSTALL)
541 @list1=''; \
542 list2='$(man_MANS)'; \
543 test -n "$(man1dir)" \
544 && test -n "`echo $$list1$$list2`" \
545 || exit 0; \
546 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
547 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
548 { for i in $$list1; do echo "$$i"; done; \
549 if test -n "$$list2"; then \
550 for i in $$list2; do echo "$$i"; done \
551 | sed -n '/\.1[a-z]*$$/p'; \
552 fi; \
553 } | while read p; do \
554 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
555 echo "$$d$$p"; echo "$$p"; \
556 done | \
557 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
558 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
559 sed 'N;N;s,\n, ,g' | { \
560 list=; while read file base inst; do \
561 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
562 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
563 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
564 fi; \
565 done; \
566 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
567 while read files; do \
568 test -z "$$files" || { \
569 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
570 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
571 done; }
573 uninstall-man1:
574 @$(NORMAL_UNINSTALL)
575 @list=''; test -n "$(man1dir)" || exit 0; \
576 files=`{ for i in $$list; do echo "$$i"; done; \
577 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
578 sed -n '/\.1[a-z]*$$/p'; \
579 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
580 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
581 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
583 # This directory's subdirectories are mostly independent; you can cd
584 # into them and run 'make' without going through this Makefile.
585 # To change the values of 'make' variables: instead of editing Makefiles,
586 # (1) if the variable is set in 'config.status', edit 'config.status'
587 # (which will cause the Makefiles to be regenerated when you run 'make');
588 # (2) otherwise, pass the desired values on the 'make' command line.
589 $(am__recursive_targets):
590 @fail=; \
591 if $(am__make_keepgoing); then \
592 failcom='fail=yes'; \
593 else \
594 failcom='exit 1'; \
595 fi; \
596 dot_seen=no; \
597 target=`echo $@ | sed s/-recursive//`; \
598 case "$@" in \
599 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
600 *) list='$(SUBDIRS)' ;; \
601 esac; \
602 for subdir in $$list; do \
603 echo "Making $$target in $$subdir"; \
604 if test "$$subdir" = "."; then \
605 dot_seen=yes; \
606 local_target="$$target-am"; \
607 else \
608 local_target="$$target"; \
609 fi; \
610 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
611 || eval $$failcom; \
612 done; \
613 if test "$$dot_seen" = "no"; then \
614 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
615 fi; test -z "$$fail"
617 ID: $(am__tagged_files)
618 $(am__define_uniq_tagged_files); mkid -fID $$unique
619 tags: tags-recursive
620 TAGS: tags
622 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
623 set x; \
624 here=`pwd`; \
625 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
626 include_option=--etags-include; \
627 empty_fix=.; \
628 else \
629 include_option=--include; \
630 empty_fix=; \
631 fi; \
632 list='$(SUBDIRS)'; for subdir in $$list; do \
633 if test "$$subdir" = .; then :; else \
634 test ! -f $$subdir/TAGS || \
635 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
636 fi; \
637 done; \
638 $(am__define_uniq_tagged_files); \
639 shift; \
640 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
641 test -n "$$unique" || unique=$$empty_fix; \
642 if test $$# -gt 0; then \
643 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
644 "$$@" $$unique; \
645 else \
646 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
647 $$unique; \
648 fi; \
650 ctags: ctags-recursive
652 CTAGS: ctags
653 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
654 $(am__define_uniq_tagged_files); \
655 test -z "$(CTAGS_ARGS)$$unique" \
656 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
657 $$unique
659 GTAGS:
660 here=`$(am__cd) $(top_builddir) && pwd` \
661 && $(am__cd) $(top_srcdir) \
662 && gtags -i $(GTAGS_ARGS) "$$here"
663 cscope: cscope.files
664 test ! -s cscope.files \
665 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
666 clean-cscope:
667 -rm -f cscope.files
668 cscope.files: clean-cscope cscopelist
669 cscopelist: cscopelist-recursive
671 cscopelist-am: $(am__tagged_files)
672 list='$(am__tagged_files)'; \
673 case "$(srcdir)" in \
674 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
675 *) sdir=$(subdir)/$(srcdir) ;; \
676 esac; \
677 for i in $$list; do \
678 if test -f "$$i"; then \
679 echo "$(subdir)/$$i"; \
680 else \
681 echo "$$sdir/$$i"; \
682 fi; \
683 done >> $(top_builddir)/cscope.files
685 distclean-tags:
686 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
687 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
688 check-am: all-am
689 check: check-recursive
690 all-am: Makefile $(PROGRAMS) $(MANS)
691 installdirs: installdirs-recursive
692 installdirs-am:
693 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
694 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
695 done
696 install: install-recursive
697 install-exec: install-exec-recursive
698 install-data: install-data-recursive
699 uninstall: uninstall-recursive
701 install-am: all-am
702 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
704 installcheck: installcheck-recursive
705 install-strip:
706 if test -z '$(STRIP)'; then \
707 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
708 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
709 install; \
710 else \
711 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
712 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
713 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
715 mostlyclean-generic:
717 clean-generic:
719 distclean-generic:
720 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
721 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
723 maintainer-clean-generic:
724 @echo "This command is intended for maintainers to use"
725 @echo "it deletes files that may require special tools to rebuild."
726 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
727 mostlyclean-am
729 distclean-am: clean-am distclean-compile distclean-generic \
730 distclean-tags
732 dvi: dvi-recursive
734 dvi-am:
736 html: html-recursive
738 html-am:
740 info: info-recursive
742 info-am:
744 install-data-am: install-data-local install-man
746 install-dvi: install-dvi-recursive
748 install-dvi-am:
750 install-exec-am: install-binPROGRAMS
752 install-html: install-html-recursive
754 install-html-am:
756 install-info: install-info-recursive
758 install-info-am:
760 install-man: install-man1
762 install-pdf: install-pdf-recursive
764 install-pdf-am:
766 install-ps: install-ps-recursive
768 install-ps-am:
770 installcheck-am:
772 maintainer-clean: maintainer-clean-recursive
773 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
774 -rm -rf $(top_srcdir)/autom4te.cache
775 -rm -f Makefile
776 maintainer-clean-am: distclean-am maintainer-clean-generic
778 mostlyclean: mostlyclean-recursive
780 mostlyclean-am: mostlyclean-compile mostlyclean-generic
782 pdf: pdf-recursive
784 pdf-am:
786 ps: ps-recursive
788 ps-am:
790 uninstall-am: uninstall-binPROGRAMS uninstall-man
792 uninstall-man: uninstall-man1
794 .MAKE: $(am__recursive_targets) install-am install-strip
796 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
797 am--refresh check check-am clean clean-binPROGRAMS \
798 clean-cscope clean-generic clean-noinstPROGRAMS cscope \
799 cscopelist-am ctags ctags-am distclean distclean-compile \
800 distclean-generic distclean-tags dvi dvi-am html html-am info \
801 info-am install install-am install-binPROGRAMS install-data \
802 install-data-am install-data-local install-dvi install-dvi-am \
803 install-exec install-exec-am install-html install-html-am \
804 install-info install-info-am install-man install-man1 \
805 install-pdf install-pdf-am install-ps install-ps-am \
806 install-strip installcheck installcheck-am installdirs \
807 installdirs-am maintainer-clean maintainer-clean-generic \
808 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
809 ps ps-am tags tags-am uninstall uninstall-am \
810 uninstall-binPROGRAMS uninstall-man uninstall-man1
812 cairo.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
813 elements.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
814 events.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
815 fontfile.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
816 text.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
817 utf8encodings.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
819 help.c: menudep.h
820 menucalls.c: menudep.h
821 rcfile.c: menudep.h
822 schema.c: menudep.h
823 xcircuit.c: menudep.h
824 parameter.c: menudep.h
825 python.c: menudep.h
826 tclxcircuit.c: menudep.h
827 xtgui.c: menudep.h
828 xtfuncs.c: menudep.h
830 menudep$(EXEEXT): menudep.o
831 $(CC) -o $@ menudep.o
833 menudep.h: menudep$(EXEEXT)
834 ./menudep$(EXEEXT)
836 xcwrap.o: xcwrap.c menudep.h
837 $(CC) ${CPPFLAGS} ${CFLAGS} ${DEFS} \
838 $(PATHNAMES) $(INCLUDES) \
839 xcwrap.c -c -o xcwrap.o
841 lib/$(INTERP_PATH)/$(WRAPPER_OBJ): xcwrap.o ${xcircuit_OBJECTS} ${xcircuit_DEPEND}
842 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
843 $(SHLIB_LD) ${CFLAGS} -o $@ ${LDDL_FLAGS} xcwrap.o \
844 ${xcircuit_OBJECTS} ${xcircuit_LDADD} ${SHLIB_LIB_SPECS} \
845 ${LDFLAGS} ${X_EXTRA_LIBS} ${EXTRA_LIBS} -lc ${LIBS} \
846 ${LIB_SPECS} ${EXTRA_LIB_SPECS}
848 xcircexec$(EXEEXT): xcircexec.o
849 $(RM) ./xcircexec$(EXEEXT)
850 $(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
851 xcircexec.c -o xcircexec$(EXEEXT) ${LIB_SPECS} \
852 ${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
854 xcircdnull$(EXEEXT): xcircdnull.o
855 $(RM) ./xcircdnull$(EXEEXT)
856 $(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
857 xcircdnull.c -o xcircdnull$(EXEEXT) ${LIB_SPECS} \
858 ${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
860 tcl:
861 @echo Making tcl library object
862 list='$(SUBDIRS)'; for subdir in $$list; do \
863 test "$$subdir" = . || (echo "Making tcl in $$subdir"; \
864 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS)) \
865 done
866 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
867 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_SH)
868 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
869 $(MAKE) xcircexec$(EXEEXT)
870 $(MAKE) xcircdnull$(EXEEXT)
872 lib/$(INTERP_PATH)/$(WRAPPER_SH): lib/$(INTERP_PATH)/$(WRAPPER_SH).in
873 sed -e '/XCLIBDIR/s#XCLIBDIR#$(librarydir)#' \
874 -e '/WRAPPER_INIT/s/WRAPPER_INIT/$(WRAPPER_INIT)/' \
875 -e '/CONSOLE_SCRIPT/s/CONSOLE_SCRIPT/$(CONSOLE_SCRIPT)/' \
876 -e '/CONSOLE/s/CONSOLE/$(CONSOLE)/' \
877 -e '/PROG_VERSION/s/PROG_VERSION/$(VERSION)/' \
878 -e '/PROG_REVISION/s/PROG_REVISION/$(REVISION)/' \
879 -e '/TCLLIBDIR/s#TCLLIBDIR#$(TCL_LIB_DIR)#' \
880 -e '/WISH_EXE/s#WISH_EXE#$(WISH_EXE)#' \
881 lib/$(INTERP_PATH)/$(WRAPPER_SH).in > $@
882 chmod 0755 $@
884 lib/$(INTERP_PATH)/$(WRAPPER_INIT): lib/$(INTERP_PATH)/$(WRAPPER_INIT).in
885 sed -e '/LIBDIR/s#LIBDIR#$(librarydir)#' \
886 -e '/SCRIPTSDIR/s#SCRIPTSDIR#$(scriptsdir)#' \
887 lib/$(INTERP_PATH)/$(WRAPPER_INIT).in > $@
888 chmod 0755 $@
890 lib/xcircuit.1: lib/xcircuit.1.in
891 sed -e '/LIBDIR/s#LIBDIR#$(libdir)#' \
892 -e "/^${HAVE_LGF}/s/^${HAVE_LGF} //" \
893 -e "/^${INTERPRETER}/s/^${INTERPRETER} //" \
894 -e '/^PYTHON /d' \
895 -e '/^TCL /d' \
896 -e '/^LGF /d' \
897 -e '/^NOINTERP /d' \
898 lib/xcircuit.1.in > $@
900 install-data-local: lib/xcircuit.1
901 @echo "Installing app-defaults file"
902 $(mkinstalldirs) $(DESTDIR)$(appdefaultsdir)
903 $(mkinstalldirs) $(DESTDIR)$(appmandir)
904 $(INSTALL_DATA) lib/XCircuit.ad $(DESTDIR)$(appdefaultsdir)/XCircuit
905 $(INSTALL_DATA) lib/xcircuit.1 $(DESTDIR)$(appmandir)/xcircuit.1
906 @echo "Installing library and netlist files"
907 $(mkinstalldirs) $(DESTDIR)$(librarydir)
908 ( cd lib ; for i in $(PROLOGUE_FILE) $(ENCODING_FILES) *.lps *.cir; do \
909 $(INSTALL_DATA) $$i $(DESTDIR)$(librarydir); \
910 done )
911 ( cd lib/$(INTERP_PATH) ; for i in $(STARTUP_FILE); do \
912 $(INSTALL_DATA) $$i $(DESTDIR)$(librarydir); \
913 done )
914 @echo "Installing .lps font files"
915 $(mkinstalldirs) $(DESTDIR)$(librarydir)/fonts
916 for i in $(FONTS_LPS); do \
917 $(INSTALL_DATA) lib/fonts/$$i.lps $(DESTDIR)$(librarydir)/fonts; \
918 done
919 @echo "Installing .xfe font files"
920 for i in $(FONTS_XFE); do \
921 $(INSTALL_DATA) lib/fonts/$$i.xfe $(DESTDIR)$(librarydir)/fonts; \
922 done
923 @echo "Installing scripts (if option enabled)"
924 if test "$(PYTHON)" != ""; then \
925 $(mkinstalldirs) $(DESTDIR)$(scriptsdir)/python; \
926 for i in $(SCRIPTS_PY); do \
927 $(INSTALL_DATA) lib/python/$$i.py \
928 $(DESTDIR)$(scriptsdir)/python; \
929 done; \
932 # Note that MacOS/Fink uses SHDLIB_EXT = .dylib but Tcl expects .so anyway.
933 # So we make a symbolic link if SHDLIB_EXT != .so
935 install-tcl: xcircexec$(EXEEXT) xcircdnull$(EXEEXT) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
936 @echo "Installing standard XCircuit library files"
937 $(MAKE) $(AM_MAKEFLAGS) install-data-local
938 @echo "Installing Tcl files"
939 $(mkinstalldirs) $(DESTDIR)$(librarydir)
940 $(mkinstalldirs) $(DESTDIR)$(scriptsdir)
941 ( cd lib/$(INTERP_PATH) ; for i in $(WRAPPER_OBJ) *.tcl ; do \
942 $(INSTALL_DATA) $$i $(DESTDIR)$(scriptsdir); \
943 done )
944 $(INSTALL_DATA) xcircexec$(EXEEXT) $(DESTDIR)$(librarydir)
945 $(INSTALL_DATA) xcircdnull$(EXEEXT) $(DESTDIR)$(librarydir)
946 chmod 0755 $(DESTDIR)$(librarydir)/$(CONSOLE)
947 chmod 0755 $(DESTDIR)$(librarydir)/$(CONSOLE_SCRIPT)
948 chmod 0755 $(DESTDIR)$(librarydir)/$(WRAPPER_OBJ)
949 chmod 0755 $(DESTDIR)$(librarydir)/xcircexec$(EXEEXT)
950 chmod 0755 $(DESTDIR)$(librarydir)/xcircdnull$(EXEEXT)
952 if test "${SHDLIB_EXT}" != ".so"; then \
953 ( cd $(DESTDIR)$(librarydir); \
954 $(RM) $(WRAPPER_SO) ; \
955 ln -s $(WRAPPER_OBJ) $(WRAPPER_SO) ) ; \
958 @echo "Installing GIF images"
959 $(mkinstalldirs) $(DESTDIR)$(librarydir)/pixmaps
960 ( cd lib/pixmaps ; for i in `ls *.gif *.xbm *.ico` ; do \
961 $(INSTALL_DATA) $$i $(DESTDIR)$(librarydir)/pixmaps; \
962 done )
963 @echo "Installing shell script as xcircuit executable"
964 $(mkinstalldirs) $(DESTDIR)$(bindir)
965 $(INSTALL_DATA) lib/$(INTERP_PATH)/$(WRAPPER_SH) $(DESTDIR)$(bindir)/xcircuit
966 chmod 0755 $(DESTDIR)$(bindir)/xcircuit
968 clean:
969 (cd ./Xw; $(RM) *.o *.a *.bak core)
970 (cd ./asg; $(MAKE) clean)
971 (cd ./spiceparser; $(MAKE) clean)
972 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
973 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
974 $(RM) xcircuit *.o *.bak lib/xcircuit.1 core
975 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
976 $(RM) menudep$(EXEEXT) menudep.h
977 $(RM) config.cache config.log
979 distclean:
980 (cd ./Xw; $(RM) *.o *.a *.bak Makefile core)
981 (cd ./asg; $(MAKE) clean ; $(RM) Makefile)
982 (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile)
983 $(RM) xcircuit *.o *.bak core
984 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
985 $(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
986 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
987 $(RM) Makefile config.cache config.log config.status
988 $(RM) xcircuit-$(FULL_VERSION) xcircuit.spec xcircuit-$(FULL_VERSION).tgz
990 dist:
991 $(RM) xcircuit.spec xcircuit-$(FULL_VERSION) xcircuit-$(FULL_VERSION).tgz
992 sed -e /%VERSION%/s/%VERSION%/$(FULL_VERSION)/ \
993 xcircuit.spec.in > xcircuit.spec
994 ln -nsf . xcircuit-$(FULL_VERSION)
995 tar zchvf xcircuit-$(FULL_VERSION).tgz --exclude CVS \
996 --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION) \
997 --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION).tgz \
998 xcircuit-$(FULL_VERSION)
1000 quiteclean:
1001 (cd ./Xw; $(RM) *.o *.a *.bak Makefile.in Makefile core)
1002 (cd ./asg; $(MAKE) clean ; $(RM) Makefile.in Makefile)
1003 (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile.in Makefile)
1004 $(RM) xcircuit *.o *.bak core
1005 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
1006 $(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
1007 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
1008 $(RM) install-sh missing mkinstalldirs Makefile.in Makefile
1009 $(RM) config.* aclocal.m4
1011 $(ALL_TARGET):
1012 $(MAKE) tcl
1014 $(INSTALL_TARGET):
1015 $(MAKE) install-tcl
1017 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1018 # Otherwise a system limit (for SysV at least) may be exceeded.
1019 .NOEXPORT: