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