One more check on valid display which is known to be in the startup
[xcircuit.git] / Makefile
blobdde160bfd55e8c663ee4e0a78ed1989066333eaa
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # Makefile. Generated from Makefile.in by configure.
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.
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)/xcircuit
64 pkgincludedir = $(includedir)/xcircuit
65 pkglibdir = $(libdir)/xcircuit
66 pkglibexecdir = $(libexecdir)/xcircuit
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 = x86_64-unknown-linux-gnu
80 host_triplet = x86_64-unknown-linux-gnu
81 target_triplet = x86_64-unknown-linux-gnu
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_$(V))
114 am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
115 am__v_P_0 = false
116 am__v_P_1 = :
117 AM_V_GEN = $(am__v_GEN_$(V))
118 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
119 am__v_GEN_0 = @echo " GEN " $@;
120 am__v_GEN_1 =
121 AM_V_at = $(am__v_at_$(V))
122 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
123 am__v_at_0 = @
124 am__v_at_1 =
125 DEFAULT_INCLUDES = -I.
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_$(V))
131 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
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_$(V))
137 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
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-1.14
215 # Override standard "make" target when compiling under TCL
216 ALL_TARGET = all-recursive
217 AMTAR = $${TAR-tar}
218 AM_DEFAULT_VERBOSITY = 1
219 AUTOCONF = autoconf
220 AUTOHEADER = autoheader
221 AUTOMAKE = automake-1.14
222 AWK = gawk
223 CC = gcc
224 CCDEPMODE = depmode=none
225 CFLAGS = -g -Wno-pointer-sign -fPIC
226 CPP = gcc -E
227 CPPFLAGS =
228 CYGPATH_W = echo
230 # Main compiler arguments
231 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)
232 DEPDIR = .deps
233 DIST_DIR = ${exec_prefix}
234 ECHO_C =
235 ECHO_N = -n
236 ECHO_T =
237 EGREP = /bin/grep -E
238 EXEEXT =
239 EXTRA_LIB_SPECS = -lm
240 GREP = /bin/grep
241 GS_EXEC = gs
242 GS_LIBS =
243 HAVE_LGF = LGF
244 INC_SPECS = -I/usr/include -I/usr/include
245 INSTALL = /bin/install -c
246 INSTALL_DATA = ${INSTALL} -m 644
247 INSTALL_PROGRAM = ${INSTALL}
248 INSTALL_SCRIPT = ${INSTALL}
249 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
250 INSTALL_TARGET = install-recursive
251 INTERPRETER = TCL
252 INTERP_PATH = tcl
253 LD = /bin/ld
254 LDDL_FLAGS = -Wl,-z,relro -Wl,--export-dynamic -Wl,--version-script=symbol.map
255 LDFLAGS =
256 LD_RUN_PATH = -Wl,-rpath,/usr/lib64
257 LIBOBJS =
258 LIBS = -ldl -lz -lpthread -lieee -lm -lz -lXt -lSM -lICE -lm -lX11 -lXpm $(cairo_LIBS) $(fontconfig_LIBS) ${GS_LIBS}
259 LIB_SPECS = -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -ltk8.6
260 LTLIBOBJS =
261 M4 = /bin/m4
262 MAKEINFO = makeinfo
263 MKDIR_P = /bin/mkdir -p
264 OBJEXT = o
265 PACKAGE = xcircuit
266 PACKAGE_BUGREPORT =
267 PACKAGE_NAME =
268 PACKAGE_STRING =
269 PACKAGE_TARNAME =
270 PACKAGE_URL =
271 PACKAGE_VERSION =
272 PATH_SEPARATOR = :
273 PKG_CONFIG = /bin/pkg-config
274 PKG_CONFIG_LIBDIR =
275 PKG_CONFIG_PATH =
276 PYTHON =
277 RANLIB = ranlib
278 REVISION = 32
279 SET_MAKE =
280 SHDLIB_EXT = .so
281 SHELL = /bin/sh
282 SHLIB_LD = ${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}
283 SHLIB_LIB_SPECS =
284 SPICE_EXEC = ngspice
285 STARTUP_FILE = xcstartup.tcl
286 STDLIBS =
287 STRIP =
288 SUBDIRS =
289 SUBLIB =
290 TCL_LIB_DIR = /usr/lib64
291 VERSION = 3.10
292 WISH_EXE = /usr/bin/wish
293 WRAPPER_SCRIPT = wrapper.tcl
294 XCIRCUIT_TARGET = tcl
295 XMKMF =
296 X_CFLAGS =
297 X_EXTRA_LIBS =
298 X_LIBS =
299 X_PRE_LIBS = -lSM -lICE
300 abs_builddir = /home/tim/gitsrc/xcircuit
301 abs_srcdir = /home/tim/gitsrc/xcircuit
302 abs_top_builddir = /home/tim/gitsrc/xcircuit
303 abs_top_srcdir = /home/tim/gitsrc/xcircuit
304 ac_ct_CC = gcc
305 am__include = include
306 am__leading_dot = .
307 am__quote =
308 am__tar = $${TAR-tar} chof - "$$tardir"
309 am__untar = $${TAR-tar} xf -
310 bindir = ${exec_prefix}/bin
311 build = x86_64-unknown-linux-gnu
312 build_alias =
313 build_cpu = x86_64
314 build_os = linux-gnu
315 build_vendor = unknown
316 builddir = .
317 cairo_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
318 cairo_LIBS = -lcairo
319 datadir = ${datarootdir}
320 datarootdir = ${prefix}/share
321 docdir = ${datarootdir}/doc/${PACKAGE}
322 dvidir = ${docdir}
323 exec_prefix = ${prefix}
324 fontconfig_CFLAGS = -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16
325 fontconfig_LIBS = -lfontconfig -lfreetype
326 host = x86_64-unknown-linux-gnu
327 host_alias =
328 host_cpu = x86_64
329 host_os = linux-gnu
330 host_vendor = unknown
331 htmldir = ${docdir}
332 includedir = ${prefix}/include
333 infodir = ${datarootdir}/info
334 install_sh = ${SHELL} /home/tim/gitsrc/xcircuit/install-sh
335 libdir = ${exec_prefix}/lib
336 libexecdir = ${exec_prefix}/libexec
337 localedir = ${datarootdir}/locale
338 localstatedir = ${prefix}/var
339 mandir = ${datarootdir}/man
340 mkdir_p = $(MKDIR_P)
341 oldincludedir = /usr/include
342 pdfdir = ${docdir}
343 prefix = /usr/local
344 program_transform_name = s,x,x,
345 psdir = ${docdir}
346 sbindir = ${exec_prefix}/sbin
347 sharedstatedir = ${prefix}/com
348 srcdir = .
349 sysconfdir = ${prefix}/etc
350 target = x86_64-unknown-linux-gnu
351 target_alias =
352 target_cpu = x86_64
353 target_os = linux-gnu
354 target_vendor = unknown
355 top_build_prefix =
356 top_builddir = .
357 top_srcdir = .
358 AUTOMAKE_OPTIONS = foreign no-dependencies no-dist
359 AM_CFLAGS = $(cairo_CFLAGS) $(fontconfig_CFLAGS) ${GS_CFLAGS}
361 # Additional files to distribute
362 EXTRA_DIST = COPYRIGHT README README.ISOLatin2 README.notes
363 FULL_VERSION = 3.10.32
365 # Menudep program generates menudep.h needed by some of the
366 # source files for Xcircuit
367 noinst_PROGRAMS = menudep$(EXEEXT)
369 # Automake files
370 ac_aux_dir = dist
372 # Temporary directory (if not overridden by environment variable TMPDIR)
373 tmpdir = /tmp
375 # Directories for app-defaults file and manual page
376 appdefaultsdir = $(libdir)/$(PACKAGE)-$(VERSION)/app-defaults
377 appmandir = $(libdir)/$(PACKAGE)-$(VERSION)/man
378 install_appdefaultsdir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)/app-defaults
379 install_appmandir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)/man
380 install_bindir = ${exec_prefix}/bin
381 PATHNAMES = -DPROG_VERSION=\"$(VERSION)\" \
382 -DPROG_REVISION=\"$(REVISION)\" \
383 -DCAD_DIR=\"$(libdir)\" \
384 -DTEMP_DIR=\"$(tmpdir)\" \
385 -DRESOURCES_DIR=\"$(appdefaultsdir)\" \
386 -DSCRIPTS_DIR=\"$(scriptsdir)\" \
387 -DBUILTINS_DIR=\"$(librarydir)\" \
388 -DBUILTINS_FILE=\"$(BUILTINS_FILE)\" \
389 -DUSER_RC_FILE=\"$(USER_RC_FILE)\" \
390 -DPROLOGUE_DIR=\"$(librarydir)\" \
391 -DPROLOGUE_FILE=\"$(PROLOGUE_FILE)\" \
392 -DCYRILLIC_ENC_FILE=\"$(CYRILLIC_ENC_FILE)\" \
393 -DISOLATIN2_ENC_FILE=\"$(ISOLATIN2_ENC_FILE)\" \
394 -DISOLATIN5_ENC_FILE=\"$(ISOLATIN5_ENC_FILE)\" \
395 -DSTARTUP_FILE=\"$(STARTUP_FILE)\" \
396 -DLGF_LIB=\"$(LGF_LIB)\" \
397 -DASG_SPICE_LIB=\"$(ASG_SPICE_LIB)\"
399 xcircuit_SOURCES = elements.c events.c filelist.c files.c \
400 flate.c fontfile.c formats.c functions.c graphic.c \
401 help.c keybindings.c libraries.c menucalls.c \
402 netlist.c ngspice.c parameter.c python.c \
403 rcfile.c render.c schema.c selection.c svg.c text.c undo.c \
404 tclxcircuit.c tkSimple.c xcircuit.c xtfuncs.c xtgui.c \
405 cairo.c utf8encodings.c
407 xcircuit_DEPEND =
408 xcircuit_LDADD =
410 # Man page
411 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
412 man_MANS = lib/xcircuit.1
413 INCLUDES = -IXw ${INC_SPECS}
415 # Library directory and files
416 librarydir = $(libdir)/$(PACKAGE)-$(VERSION)
417 scriptsdir = $(libdir)/$(PACKAGE)-$(VERSION)
418 install_librarydir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)
419 install_scriptsdir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)
420 USER_RC_FILE = .xcircuitrc
421 PROLOGUE_FILE = xcircps2.pro
422 CYRILLIC_ENC_FILE = cyrillic.enc
423 ISOLATIN2_ENC_FILE = isolatin2.enc
424 ISOLATIN5_ENC_FILE = isolatin5.enc
425 ENCODING_FILES = ${CYRILLIC_ENC_FILE} ${ISOLATIN2_ENC_FILE} ${ISOLATIN5_ENC_FILE}
426 LGF_LIB = lgf.lps
427 ASG_SPICE_LIB = asg_spice.lps
428 SIGNAL_LIB = signal.lps
429 MUSIC_LIB = musiclib.lps
430 FONTS_LPS = courier courieriso2 courieriso5 helvetica helveticaiso2 \
431 helveticaiso5 myfont symbol times_roman times_romaniso2 \
432 times_romaniso5
434 FONTS_XFE = courier courieriso courieriso2 courieriso5 courier_cyrillic \
435 helvetica helveticaiso helveticaiso2 helveticaiso5 helvetica_cyrillic \
436 times_roman times_romaniso times_romaniso2 times_romaniso5 \
437 times_roman_cyrillic myfont symbol
439 SCRIPTS_PY = spice gettext pagebbox
440 WRAPPER_INIT = xcircuit.tcl
441 WRAPPER_OBJ = xcircuit${SHDLIB_EXT}
442 WRAPPER_SO = xcircuit.so
443 WRAPPER_SH = xcircuit.sh
444 CONSOLE = tkcon.tcl
445 CONSOLE_SCRIPT = console.tcl
446 all: all-recursive
448 .SUFFIXES:
449 .SUFFIXES: .c .o .obj
450 am--refresh: Makefile
452 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
453 @for dep in $?; do \
454 case '$(am__configure_deps)' in \
455 *$$dep*) \
456 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
457 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
458 && exit 0; \
459 exit 1;; \
460 esac; \
461 done; \
462 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
463 $(am__cd) $(top_srcdir) && \
464 $(AUTOMAKE) --foreign Makefile
465 .PRECIOUS: Makefile
466 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
467 @case '$?' in \
468 *config.status*) \
469 echo ' $(SHELL) ./config.status'; \
470 $(SHELL) ./config.status;; \
471 *) \
472 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
473 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
474 esac;
476 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
477 $(SHELL) ./config.status --recheck
479 $(top_srcdir)/configure: $(am__configure_deps)
480 $(am__cd) $(srcdir) && $(AUTOCONF)
481 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
482 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
483 $(am__aclocal_m4_deps):
484 install-binPROGRAMS: $(bin_PROGRAMS)
485 @$(NORMAL_INSTALL)
486 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
487 if test -n "$$list"; then \
488 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
489 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
490 fi; \
491 for p in $$list; do echo "$$p $$p"; done | \
492 sed 's/$(EXEEXT)$$//' | \
493 while read p p1; do if test -f $$p \
494 ; then echo "$$p"; echo "$$p"; else :; fi; \
495 done | \
496 sed -e 'p;s,.*/,,;n;h' \
497 -e 's|.*|.|' \
498 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
499 sed 'N;N;N;s,\n, ,g' | \
500 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
501 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
502 if ($$2 == $$4) files[d] = files[d] " " $$1; \
503 else { print "f", $$3 "/" $$4, $$1; } } \
504 END { for (d in files) print "f", d, files[d] }' | \
505 while read type dir files; do \
506 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
507 test -z "$$files" || { \
508 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
509 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
511 ; done
513 uninstall-binPROGRAMS:
514 @$(NORMAL_UNINSTALL)
515 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
516 files=`for p in $$list; do echo "$$p"; done | \
517 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
518 -e 's/$$/$(EXEEXT)/' \
519 `; \
520 test -n "$$list" || exit 0; \
521 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
522 cd "$(DESTDIR)$(bindir)" && rm -f $$files
524 clean-binPROGRAMS:
525 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
527 clean-noinstPROGRAMS:
528 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
530 xcircuit$(EXEEXT): $(xcircuit_OBJECTS) $(xcircuit_DEPENDENCIES) $(EXTRA_xcircuit_DEPENDENCIES)
531 @rm -f xcircuit$(EXEEXT)
532 $(AM_V_CCLD)$(LINK) $(xcircuit_OBJECTS) $(xcircuit_LDADD) $(LIBS)
534 mostlyclean-compile:
535 -rm -f *.$(OBJEXT)
537 distclean-compile:
538 -rm -f *.tab.c
540 .c.o:
541 $(AM_V_CC)$(COMPILE) -c -o $@ $<
543 .c.obj:
544 $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
545 install-man1: $(man_MANS)
546 @$(NORMAL_INSTALL)
547 @list1=''; \
548 list2='$(man_MANS)'; \
549 test -n "$(man1dir)" \
550 && test -n "`echo $$list1$$list2`" \
551 || exit 0; \
552 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
553 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
554 { for i in $$list1; do echo "$$i"; done; \
555 if test -n "$$list2"; then \
556 for i in $$list2; do echo "$$i"; done \
557 | sed -n '/\.1[a-z]*$$/p'; \
558 fi; \
559 } | while read p; do \
560 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
561 echo "$$d$$p"; echo "$$p"; \
562 done | \
563 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
564 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
565 sed 'N;N;s,\n, ,g' | { \
566 list=; while read file base inst; do \
567 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
568 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
569 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
570 fi; \
571 done; \
572 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
573 while read files; do \
574 test -z "$$files" || { \
575 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
576 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
577 done; }
579 uninstall-man1:
580 @$(NORMAL_UNINSTALL)
581 @list=''; test -n "$(man1dir)" || exit 0; \
582 files=`{ for i in $$list; do echo "$$i"; done; \
583 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
584 sed -n '/\.1[a-z]*$$/p'; \
585 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
586 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
587 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
589 # This directory's subdirectories are mostly independent; you can cd
590 # into them and run 'make' without going through this Makefile.
591 # To change the values of 'make' variables: instead of editing Makefiles,
592 # (1) if the variable is set in 'config.status', edit 'config.status'
593 # (which will cause the Makefiles to be regenerated when you run 'make');
594 # (2) otherwise, pass the desired values on the 'make' command line.
595 $(am__recursive_targets):
596 @fail=; \
597 if $(am__make_keepgoing); then \
598 failcom='fail=yes'; \
599 else \
600 failcom='exit 1'; \
601 fi; \
602 dot_seen=no; \
603 target=`echo $@ | sed s/-recursive//`; \
604 case "$@" in \
605 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
606 *) list='$(SUBDIRS)' ;; \
607 esac; \
608 for subdir in $$list; do \
609 echo "Making $$target in $$subdir"; \
610 if test "$$subdir" = "."; then \
611 dot_seen=yes; \
612 local_target="$$target-am"; \
613 else \
614 local_target="$$target"; \
615 fi; \
616 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
617 || eval $$failcom; \
618 done; \
619 if test "$$dot_seen" = "no"; then \
620 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
621 fi; test -z "$$fail"
623 ID: $(am__tagged_files)
624 $(am__define_uniq_tagged_files); mkid -fID $$unique
625 tags: tags-recursive
626 TAGS: tags
628 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
629 set x; \
630 here=`pwd`; \
631 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
632 include_option=--etags-include; \
633 empty_fix=.; \
634 else \
635 include_option=--include; \
636 empty_fix=; \
637 fi; \
638 list='$(SUBDIRS)'; for subdir in $$list; do \
639 if test "$$subdir" = .; then :; else \
640 test ! -f $$subdir/TAGS || \
641 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
642 fi; \
643 done; \
644 $(am__define_uniq_tagged_files); \
645 shift; \
646 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
647 test -n "$$unique" || unique=$$empty_fix; \
648 if test $$# -gt 0; then \
649 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
650 "$$@" $$unique; \
651 else \
652 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
653 $$unique; \
654 fi; \
656 ctags: ctags-recursive
658 CTAGS: ctags
659 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
660 $(am__define_uniq_tagged_files); \
661 test -z "$(CTAGS_ARGS)$$unique" \
662 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
663 $$unique
665 GTAGS:
666 here=`$(am__cd) $(top_builddir) && pwd` \
667 && $(am__cd) $(top_srcdir) \
668 && gtags -i $(GTAGS_ARGS) "$$here"
669 cscope: cscope.files
670 test ! -s cscope.files \
671 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
672 clean-cscope:
673 -rm -f cscope.files
674 cscope.files: clean-cscope cscopelist
675 cscopelist: cscopelist-recursive
677 cscopelist-am: $(am__tagged_files)
678 list='$(am__tagged_files)'; \
679 case "$(srcdir)" in \
680 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
681 *) sdir=$(subdir)/$(srcdir) ;; \
682 esac; \
683 for i in $$list; do \
684 if test -f "$$i"; then \
685 echo "$(subdir)/$$i"; \
686 else \
687 echo "$$sdir/$$i"; \
688 fi; \
689 done >> $(top_builddir)/cscope.files
691 distclean-tags:
692 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
693 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
694 check-am: all-am
695 check: check-recursive
696 all-am: Makefile $(PROGRAMS) $(MANS)
697 installdirs: installdirs-recursive
698 installdirs-am:
699 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
700 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
701 done
702 install: install-recursive
703 install-exec: install-exec-recursive
704 install-data: install-data-recursive
705 uninstall: uninstall-recursive
707 install-am: all-am
708 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
710 installcheck: installcheck-recursive
711 install-strip:
712 if test -z '$(STRIP)'; then \
713 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
714 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
715 install; \
716 else \
717 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
718 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
719 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
721 mostlyclean-generic:
723 clean-generic:
725 distclean-generic:
726 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
727 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
729 maintainer-clean-generic:
730 @echo "This command is intended for maintainers to use"
731 @echo "it deletes files that may require special tools to rebuild."
732 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
733 mostlyclean-am
735 distclean-am: clean-am distclean-compile distclean-generic \
736 distclean-tags
738 dvi: dvi-recursive
740 dvi-am:
742 html: html-recursive
744 html-am:
746 info: info-recursive
748 info-am:
750 install-data-am: install-data-local install-man
752 install-dvi: install-dvi-recursive
754 install-dvi-am:
756 install-exec-am: install-binPROGRAMS
758 install-html: install-html-recursive
760 install-html-am:
762 install-info: install-info-recursive
764 install-info-am:
766 install-man: install-man1
768 install-pdf: install-pdf-recursive
770 install-pdf-am:
772 install-ps: install-ps-recursive
774 install-ps-am:
776 installcheck-am:
778 maintainer-clean: maintainer-clean-recursive
779 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
780 -rm -rf $(top_srcdir)/autom4te.cache
781 -rm -f Makefile
782 maintainer-clean-am: distclean-am maintainer-clean-generic
784 mostlyclean: mostlyclean-recursive
786 mostlyclean-am: mostlyclean-compile mostlyclean-generic
788 pdf: pdf-recursive
790 pdf-am:
792 ps: ps-recursive
794 ps-am:
796 uninstall-am: uninstall-binPROGRAMS uninstall-man
798 uninstall-man: uninstall-man1
800 .MAKE: $(am__recursive_targets) install-am install-strip
802 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
803 am--refresh check check-am clean clean-binPROGRAMS \
804 clean-cscope clean-generic clean-noinstPROGRAMS cscope \
805 cscopelist-am ctags ctags-am distclean distclean-compile \
806 distclean-generic distclean-tags dvi dvi-am html html-am info \
807 info-am install install-am install-binPROGRAMS install-data \
808 install-data-am install-data-local install-dvi install-dvi-am \
809 install-exec install-exec-am install-html install-html-am \
810 install-info install-info-am install-man install-man1 \
811 install-pdf install-pdf-am install-ps install-ps-am \
812 install-strip installcheck installcheck-am installdirs \
813 installdirs-am maintainer-clean maintainer-clean-generic \
814 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
815 ps ps-am tags tags-am uninstall uninstall-am \
816 uninstall-binPROGRAMS uninstall-man uninstall-man1
818 cairo.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
819 elements.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
820 events.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
821 fontfile.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
822 text.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
823 utf8encodings.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
825 help.c: menudep.h
826 menucalls.c: menudep.h
827 rcfile.c: menudep.h
828 schema.c: menudep.h
829 xcircuit.c: menudep.h
830 parameter.c: menudep.h
831 python.c: menudep.h
832 tclxcircuit.c: menudep.h
833 xtgui.c: menudep.h
834 xtfuncs.c: menudep.h
836 menudep$(EXEEXT): menudep.o
837 $(CC) -o $@ menudep.o
839 menudep.h: menudep$(EXEEXT)
840 ./menudep$(EXEEXT)
842 xcwrap.o: xcwrap.c menudep.h
843 $(CC) ${CPPFLAGS} ${CFLAGS} ${DEFS} \
844 $(PATHNAMES) $(INCLUDES) \
845 xcwrap.c -c -o xcwrap.o
847 lib/$(INTERP_PATH)/$(WRAPPER_OBJ): xcwrap.o ${xcircuit_OBJECTS} ${xcircuit_DEPEND}
848 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
849 $(SHLIB_LD) ${CFLAGS} -o $@ ${LDDL_FLAGS} xcwrap.o \
850 ${xcircuit_OBJECTS} ${xcircuit_LDADD} ${SHLIB_LIB_SPECS} \
851 ${LDFLAGS} ${X_EXTRA_LIBS} ${EXTRA_LIBS} -lc ${LIBS} \
852 ${LIB_SPECS} ${EXTRA_LIB_SPECS}
854 xcircexec$(EXEEXT): xcircexec.o
855 $(RM) ./xcircexec$(EXEEXT)
856 $(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
857 xcircexec.c -o xcircexec$(EXEEXT) ${LIB_SPECS} \
858 ${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
860 xcircdnull$(EXEEXT): xcircdnull.o
861 $(RM) ./xcircdnull$(EXEEXT)
862 $(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
863 xcircdnull.c -o xcircdnull$(EXEEXT) ${LIB_SPECS} \
864 ${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
866 tcl:
867 @echo Making tcl library object
868 list='$(SUBDIRS)'; for subdir in $$list; do \
869 test "$$subdir" = . || (echo "Making tcl in $$subdir"; \
870 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS)) \
871 done
872 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
873 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_SH)
874 $(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
875 $(MAKE) xcircexec$(EXEEXT)
876 $(MAKE) xcircdnull$(EXEEXT)
878 lib/$(INTERP_PATH)/$(WRAPPER_SH): lib/$(INTERP_PATH)/$(WRAPPER_SH).in
879 sed -e '/XCLIBDIR/s#XCLIBDIR#$(librarydir)#' \
880 -e '/WRAPPER_INIT/s/WRAPPER_INIT/$(WRAPPER_INIT)/' \
881 -e '/CONSOLE_SCRIPT/s/CONSOLE_SCRIPT/$(CONSOLE_SCRIPT)/' \
882 -e '/CONSOLE/s/CONSOLE/$(CONSOLE)/' \
883 -e '/PROG_VERSION/s/PROG_VERSION/$(VERSION)/' \
884 -e '/PROG_REVISION/s/PROG_REVISION/$(REVISION)/' \
885 -e '/TCLLIBDIR/s#TCLLIBDIR#$(TCL_LIB_DIR)#' \
886 -e '/WISH_EXE/s#WISH_EXE#$(WISH_EXE)#' \
887 lib/$(INTERP_PATH)/$(WRAPPER_SH).in > $@
888 chmod 0755 $@
890 lib/$(INTERP_PATH)/$(WRAPPER_INIT): lib/$(INTERP_PATH)/$(WRAPPER_INIT).in
891 sed -e '/LIBDIR/s#LIBDIR#$(librarydir)#' \
892 -e '/SCRIPTSDIR/s#SCRIPTSDIR#$(scriptsdir)#' \
893 lib/$(INTERP_PATH)/$(WRAPPER_INIT).in > $@
894 chmod 0755 $@
896 lib/xcircuit.1: lib/xcircuit.1.in
897 sed -e '/LIBDIR/s#LIBDIR#$(libdir)#' \
898 -e "/^${HAVE_LGF}/s/^${HAVE_LGF} //" \
899 -e "/^${INTERPRETER}/s/^${INTERPRETER} //" \
900 -e '/^PYTHON /d' \
901 -e '/^TCL /d' \
902 -e '/^LGF /d' \
903 -e '/^NOINTERP /d' \
904 lib/xcircuit.1.in > $@
906 install-data-local: lib/xcircuit.1
907 @echo "Installing app-defaults file"
908 $(mkinstalldirs) $(DESTDIR)$(install_appdefaultsdir)
909 $(mkinstalldirs) $(DESTDIR)$(install_appmandir)
910 $(INSTALL_DATA) lib/XCircuit.ad $(DESTDIR)$(install_appdefaultsdir)/XCircuit
911 $(INSTALL_DATA) lib/xcircuit.1 $(DESTDIR)$(install_appmandir)/xcircuit.1
912 @echo "Installing library and netlist files"
913 $(mkinstalldirs) $(DESTDIR)$(install_librarydir)
914 ( cd lib ; for i in $(PROLOGUE_FILE) $(ENCODING_FILES) *.lps *.cir; do \
915 $(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir); \
916 done )
917 ( cd lib/$(INTERP_PATH) ; for i in $(STARTUP_FILE); do \
918 $(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir); \
919 done )
920 @echo "Installing .lps font files"
921 $(mkinstalldirs) $(DESTDIR)$(install_librarydir)/fonts
922 for i in $(FONTS_LPS); do \
923 $(INSTALL_DATA) lib/fonts/$$i.lps $(DESTDIR)$(install_librarydir)/fonts; \
924 done
925 @echo "Installing .xfe font files"
926 for i in $(FONTS_XFE); do \
927 $(INSTALL_DATA) lib/fonts/$$i.xfe $(DESTDIR)$(install_librarydir)/fonts; \
928 done
929 @echo "Installing scripts (if option enabled)"
930 if test "$(PYTHON)" != ""; then \
931 $(mkinstalldirs) $(DESTDIR)$(install_scriptsdir)/python; \
932 for i in $(SCRIPTS_PY); do \
933 $(INSTALL_DATA) lib/python/$$i.py \
934 $(DESTDIR)$(install_scriptsdir)/python; \
935 done; \
938 # Note that MacOS/Fink uses SHDLIB_EXT = .dylib but Tcl expects .so anyway.
939 # So we make a symbolic link if SHDLIB_EXT != .so
941 install-tcl: xcircexec$(EXEEXT) xcircdnull$(EXEEXT) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
942 @echo "Installing standard XCircuit library files"
943 $(MAKE) $(AM_MAKEFLAGS) install-data-local
944 @echo "Installing Tcl files"
945 $(mkinstalldirs) $(DESTDIR)$(install_librarydir)
946 $(mkinstalldirs) $(DESTDIR)$(install_scriptsdir)
947 ( cd lib/$(INTERP_PATH) ; for i in $(WRAPPER_OBJ) *.tcl ; do \
948 $(INSTALL_DATA) $$i $(DESTDIR)$(install_scriptsdir); \
949 done )
950 $(INSTALL_DATA) xcircexec$(EXEEXT) $(DESTDIR)$(install_librarydir)
951 $(INSTALL_DATA) xcircdnull$(EXEEXT) $(DESTDIR)$(install_librarydir)
952 chmod 0755 $(DESTDIR)$(install_librarydir)/$(CONSOLE)
953 chmod 0755 $(DESTDIR)$(install_librarydir)/$(CONSOLE_SCRIPT)
954 chmod 0755 $(DESTDIR)$(install_librarydir)/$(WRAPPER_OBJ)
955 chmod 0755 $(DESTDIR)$(install_librarydir)/xcircexec$(EXEEXT)
956 chmod 0755 $(DESTDIR)$(install_librarydir)/xcircdnull$(EXEEXT)
958 if test "${SHDLIB_EXT}" != ".so"; then \
959 ( cd $(DESTDIR)$(install_librarydir); \
960 $(RM) $(WRAPPER_SO) ; \
961 ln -s $(WRAPPER_OBJ) $(WRAPPER_SO) ) ; \
964 @echo "Installing GIF images"
965 $(mkinstalldirs) $(DESTDIR)$(install_librarydir)/pixmaps
966 ( cd lib/pixmaps ; for i in `ls *.gif *.xbm *.ico` ; do \
967 $(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir)/pixmaps; \
968 done )
969 @echo "Installing shell script as xcircuit executable"
970 $(mkinstalldirs) $(DESTDIR)$(install_bindir)
971 $(INSTALL_DATA) lib/$(INTERP_PATH)/$(WRAPPER_SH) $(DESTDIR)$(install_bindir)/xcircuit
972 chmod 0755 $(DESTDIR)$(install_bindir)/xcircuit
974 clean:
975 (cd ./Xw; $(RM) *.o *.a *.bak core)
976 (cd ./asg; $(MAKE) clean)
977 (cd ./spiceparser; $(MAKE) clean)
978 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
979 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
980 $(RM) xcircuit *.o *.bak lib/xcircuit.1 core
981 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
982 $(RM) menudep$(EXEEXT) menudep.h
983 $(RM) config.cache config.log
985 distclean:
986 (cd ./Xw; $(RM) *.o *.a *.bak Makefile core)
987 (cd ./asg; $(MAKE) clean ; $(RM) Makefile)
988 (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile)
989 $(RM) xcircuit *.o *.bak core
990 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
991 $(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
992 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
993 $(RM) Makefile config.cache config.log config.status
994 $(RM) xcircuit-$(FULL_VERSION) xcircuit.spec xcircuit-$(FULL_VERSION).tgz
996 dist:
997 $(RM) xcircuit.spec xcircuit-$(FULL_VERSION) xcircuit-$(FULL_VERSION).tgz
998 sed -e /%VERSION%/s/%VERSION%/$(FULL_VERSION)/ \
999 xcircuit.spec.in > xcircuit.spec
1000 ln -nsf . xcircuit-$(FULL_VERSION)
1001 tar zchvf xcircuit-$(FULL_VERSION).tgz --exclude CVS \
1002 --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION) \
1003 --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION).tgz \
1004 xcircuit-$(FULL_VERSION)
1006 quiteclean:
1007 (cd ./Xw; $(RM) *.o *.a *.bak Makefile.in Makefile core)
1008 (cd ./asg; $(MAKE) clean ; $(RM) Makefile.in Makefile)
1009 (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile.in Makefile)
1010 $(RM) xcircuit *.o *.bak core
1011 $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
1012 $(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
1013 $(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
1014 $(RM) install-sh missing mkinstalldirs Makefile.in Makefile
1015 $(RM) config.* aclocal.m4
1017 $(ALL_TARGET):
1018 $(MAKE) tcl
1020 $(INSTALL_TARGET):
1021 $(MAKE) install-tcl
1023 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1024 # Otherwise a system limit (for SysV at least) may be exceeded.
1025 .NOEXPORT: