"Fossies" - the Fresh Open Source Software Archive

Member "xcircuit-3.10.30/Makefile" (27 Dec 2020, 35819 Bytes) of package /linux/misc/xcircuit-3.10.30.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 3.10.29_vs_3.10.30.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
    2 # Makefile.  Generated from Makefile.in by configure.
    3 
    4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
    5 
    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.
    9 
   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.
   14 
   15 
   16 
   17 
   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; }; \
  180   }
  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; }; } \
  200 '
  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
  214 
  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
  229 
  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 = 30
  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}
  360 
  361 # Additional files to distribute
  362 EXTRA_DIST = COPYRIGHT README README.ISOLatin2 README.notes
  363 <<<<<<< HEAD
  364 <<<<<<< HEAD
  365 FULL_VERSION = 3.10.21
  366 =======
  367 FULL_VERSION = 3.10.19
  368 >>>>>>> 97d13f3926dc2ac94c647c7b48bf1a2aff1627df
  369 =======
  370 FULL_VERSION = 3.10.30
  371 >>>>>>> master
  372 
  373 # Menudep program generates menudep.h needed by some of the
  374 # source files for Xcircuit
  375 noinst_PROGRAMS = menudep$(EXEEXT)
  376 
  377 # Automake files
  378 ac_aux_dir = dist
  379 
  380 # Temporary directory (if not overridden by environment variable TMPDIR)
  381 tmpdir = /tmp
  382 
  383 # Directories for app-defaults file and manual page
  384 appdefaultsdir = $(libdir)/$(PACKAGE)-$(VERSION)/app-defaults
  385 appmandir = $(libdir)/$(PACKAGE)-$(VERSION)/man
  386 install_appdefaultsdir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)/app-defaults
  387 install_appmandir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)/man
  388 install_bindir = ${exec_prefix}/bin
  389 PATHNAMES = -DPROG_VERSION=\"$(VERSION)\" \
  390 	-DPROG_REVISION=\"$(REVISION)\" \
  391 	-DCAD_DIR=\"$(libdir)\" \
  392 	-DTEMP_DIR=\"$(tmpdir)\" \
  393 	-DRESOURCES_DIR=\"$(appdefaultsdir)\" \
  394 	-DSCRIPTS_DIR=\"$(scriptsdir)\" \
  395 	-DBUILTINS_DIR=\"$(librarydir)\" \
  396 	-DBUILTINS_FILE=\"$(BUILTINS_FILE)\" \
  397 	-DUSER_RC_FILE=\"$(USER_RC_FILE)\" \
  398 	-DPROLOGUE_DIR=\"$(librarydir)\" \
  399 	-DPROLOGUE_FILE=\"$(PROLOGUE_FILE)\" \
  400 	-DCYRILLIC_ENC_FILE=\"$(CYRILLIC_ENC_FILE)\" \
  401 	-DISOLATIN2_ENC_FILE=\"$(ISOLATIN2_ENC_FILE)\" \
  402 	-DISOLATIN5_ENC_FILE=\"$(ISOLATIN5_ENC_FILE)\" \
  403 	-DSTARTUP_FILE=\"$(STARTUP_FILE)\" \
  404 	-DLGF_LIB=\"$(LGF_LIB)\" \
  405 	-DASG_SPICE_LIB=\"$(ASG_SPICE_LIB)\"
  406 
  407 xcircuit_SOURCES = elements.c events.c filelist.c files.c \
  408 	flate.c fontfile.c formats.c functions.c graphic.c \
  409 	help.c keybindings.c libraries.c menucalls.c \
  410 	netlist.c ngspice.c parameter.c python.c \
  411 	rcfile.c render.c schema.c selection.c svg.c text.c undo.c \
  412 	tclxcircuit.c tkSimple.c xcircuit.c xtfuncs.c xtgui.c \
  413 	cairo.c utf8encodings.c
  414 
  415 xcircuit_DEPEND = 
  416 xcircuit_LDADD =  
  417 
  418 # Man page
  419 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
  420 man_MANS = lib/xcircuit.1
  421 INCLUDES = -IXw ${INC_SPECS}
  422 
  423 # Library directory and files
  424 librarydir = $(libdir)/$(PACKAGE)-$(VERSION)
  425 scriptsdir = $(libdir)/$(PACKAGE)-$(VERSION)
  426 install_librarydir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)
  427 install_scriptsdir = ${exec_prefix}/lib/$(PACKAGE)-$(VERSION)
  428 USER_RC_FILE = .xcircuitrc
  429 PROLOGUE_FILE = xcircps2.pro
  430 CYRILLIC_ENC_FILE = cyrillic.enc
  431 ISOLATIN2_ENC_FILE = isolatin2.enc
  432 ISOLATIN5_ENC_FILE = isolatin5.enc
  433 ENCODING_FILES = ${CYRILLIC_ENC_FILE} ${ISOLATIN2_ENC_FILE} ${ISOLATIN5_ENC_FILE}
  434 LGF_LIB = lgf.lps
  435 ASG_SPICE_LIB = asg_spice.lps
  436 SIGNAL_LIB = signal.lps
  437 MUSIC_LIB = musiclib.lps
  438 FONTS_LPS = courier courieriso2 courieriso5 helvetica helveticaiso2 \
  439 	helveticaiso5 myfont symbol times_roman times_romaniso2 \
  440 	times_romaniso5
  441 
  442 FONTS_XFE = courier courieriso courieriso2 courieriso5 courier_cyrillic \
  443 	helvetica helveticaiso helveticaiso2 helveticaiso5 helvetica_cyrillic \
  444 	times_roman times_romaniso times_romaniso2 times_romaniso5 \
  445 	times_roman_cyrillic myfont symbol
  446 
  447 SCRIPTS_PY = spice gettext pagebbox
  448 WRAPPER_INIT = xcircuit.tcl
  449 WRAPPER_OBJ = xcircuit${SHDLIB_EXT}
  450 WRAPPER_SO = xcircuit.so
  451 WRAPPER_SH = xcircuit.sh
  452 CONSOLE = tkcon.tcl
  453 CONSOLE_SCRIPT = console.tcl
  454 all: all-recursive
  455 
  456 .SUFFIXES:
  457 .SUFFIXES: .c .o .obj
  458 am--refresh: Makefile
  459 	@:
  460 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
  461 	@for dep in $?; do \
  462 	  case '$(am__configure_deps)' in \
  463 	    *$$dep*) \
  464 	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  465 	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  466 		&& exit 0; \
  467 	      exit 1;; \
  468 	  esac; \
  469 	done; \
  470 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  471 	$(am__cd) $(top_srcdir) && \
  472 	  $(AUTOMAKE) --foreign Makefile
  473 .PRECIOUS: Makefile
  474 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  475 	@case '$?' in \
  476 	  *config.status*) \
  477 	    echo ' $(SHELL) ./config.status'; \
  478 	    $(SHELL) ./config.status;; \
  479 	  *) \
  480 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  481 	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  482 	esac;
  483 
  484 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  485 	$(SHELL) ./config.status --recheck
  486 
  487 $(top_srcdir)/configure:  $(am__configure_deps)
  488 	$(am__cd) $(srcdir) && $(AUTOCONF)
  489 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
  490 	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  491 $(am__aclocal_m4_deps):
  492 install-binPROGRAMS: $(bin_PROGRAMS)
  493 	@$(NORMAL_INSTALL)
  494 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  495 	if test -n "$$list"; then \
  496 	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  497 	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  498 	fi; \
  499 	for p in $$list; do echo "$$p $$p"; done | \
  500 	sed 's/$(EXEEXT)$$//' | \
  501 	while read p p1; do if test -f $$p \
  502 	  ; then echo "$$p"; echo "$$p"; else :; fi; \
  503 	done | \
  504 	sed -e 'p;s,.*/,,;n;h' \
  505 	    -e 's|.*|.|' \
  506 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  507 	sed 'N;N;N;s,\n, ,g' | \
  508 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  509 	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  510 	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
  511 	    else { print "f", $$3 "/" $$4, $$1; } } \
  512 	  END { for (d in files) print "f", d, files[d] }' | \
  513 	while read type dir files; do \
  514 	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  515 	    test -z "$$files" || { \
  516 	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  517 	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  518 	    } \
  519 	; done
  520 
  521 uninstall-binPROGRAMS:
  522 	@$(NORMAL_UNINSTALL)
  523 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  524 	files=`for p in $$list; do echo "$$p"; done | \
  525 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  526 	      -e 's/$$/$(EXEEXT)/' \
  527 	`; \
  528 	test -n "$$list" || exit 0; \
  529 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  530 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
  531 
  532 clean-binPROGRAMS:
  533 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  534 
  535 clean-noinstPROGRAMS:
  536 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
  537 
  538 xcircuit$(EXEEXT): $(xcircuit_OBJECTS) $(xcircuit_DEPENDENCIES) $(EXTRA_xcircuit_DEPENDENCIES) 
  539 	@rm -f xcircuit$(EXEEXT)
  540 	$(AM_V_CCLD)$(LINK) $(xcircuit_OBJECTS) $(xcircuit_LDADD) $(LIBS)
  541 
  542 mostlyclean-compile:
  543 	-rm -f *.$(OBJEXT)
  544 
  545 distclean-compile:
  546 	-rm -f *.tab.c
  547 
  548 .c.o:
  549 	$(AM_V_CC)$(COMPILE) -c -o $@ $<
  550 
  551 .c.obj:
  552 	$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  553 install-man1: $(man_MANS)
  554 	@$(NORMAL_INSTALL)
  555 	@list1=''; \
  556 	list2='$(man_MANS)'; \
  557 	test -n "$(man1dir)" \
  558 	  && test -n "`echo $$list1$$list2`" \
  559 	  || exit 0; \
  560 	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  561 	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  562 	{ for i in $$list1; do echo "$$i"; done;  \
  563 	if test -n "$$list2"; then \
  564 	  for i in $$list2; do echo "$$i"; done \
  565 	    | sed -n '/\.1[a-z]*$$/p'; \
  566 	fi; \
  567 	} | while read p; do \
  568 	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  569 	  echo "$$d$$p"; echo "$$p"; \
  570 	done | \
  571 	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  572 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  573 	sed 'N;N;s,\n, ,g' | { \
  574 	list=; while read file base inst; do \
  575 	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  576 	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  577 	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  578 	  fi; \
  579 	done; \
  580 	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  581 	while read files; do \
  582 	  test -z "$$files" || { \
  583 	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  584 	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  585 	done; }
  586 
  587 uninstall-man1:
  588 	@$(NORMAL_UNINSTALL)
  589 	@list=''; test -n "$(man1dir)" || exit 0; \
  590 	files=`{ for i in $$list; do echo "$$i"; done; \
  591 	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  592 	  sed -n '/\.1[a-z]*$$/p'; \
  593 	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  594 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  595 	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  596 
  597 # This directory's subdirectories are mostly independent; you can cd
  598 # into them and run 'make' without going through this Makefile.
  599 # To change the values of 'make' variables: instead of editing Makefiles,
  600 # (1) if the variable is set in 'config.status', edit 'config.status'
  601 #     (which will cause the Makefiles to be regenerated when you run 'make');
  602 # (2) otherwise, pass the desired values on the 'make' command line.
  603 $(am__recursive_targets):
  604 	@fail=; \
  605 	if $(am__make_keepgoing); then \
  606 	  failcom='fail=yes'; \
  607 	else \
  608 	  failcom='exit 1'; \
  609 	fi; \
  610 	dot_seen=no; \
  611 	target=`echo $@ | sed s/-recursive//`; \
  612 	case "$@" in \
  613 	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  614 	  *) list='$(SUBDIRS)' ;; \
  615 	esac; \
  616 	for subdir in $$list; do \
  617 	  echo "Making $$target in $$subdir"; \
  618 	  if test "$$subdir" = "."; then \
  619 	    dot_seen=yes; \
  620 	    local_target="$$target-am"; \
  621 	  else \
  622 	    local_target="$$target"; \
  623 	  fi; \
  624 	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  625 	  || eval $$failcom; \
  626 	done; \
  627 	if test "$$dot_seen" = "no"; then \
  628 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  629 	fi; test -z "$$fail"
  630 
  631 ID: $(am__tagged_files)
  632 	$(am__define_uniq_tagged_files); mkid -fID $$unique
  633 tags: tags-recursive
  634 TAGS: tags
  635 
  636 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  637 	set x; \
  638 	here=`pwd`; \
  639 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  640 	  include_option=--etags-include; \
  641 	  empty_fix=.; \
  642 	else \
  643 	  include_option=--include; \
  644 	  empty_fix=; \
  645 	fi; \
  646 	list='$(SUBDIRS)'; for subdir in $$list; do \
  647 	  if test "$$subdir" = .; then :; else \
  648 	    test ! -f $$subdir/TAGS || \
  649 	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  650 	  fi; \
  651 	done; \
  652 	$(am__define_uniq_tagged_files); \
  653 	shift; \
  654 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  655 	  test -n "$$unique" || unique=$$empty_fix; \
  656 	  if test $$# -gt 0; then \
  657 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  658 	      "$$@" $$unique; \
  659 	  else \
  660 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  661 	      $$unique; \
  662 	  fi; \
  663 	fi
  664 ctags: ctags-recursive
  665 
  666 CTAGS: ctags
  667 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  668 	$(am__define_uniq_tagged_files); \
  669 	test -z "$(CTAGS_ARGS)$$unique" \
  670 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  671 	     $$unique
  672 
  673 GTAGS:
  674 	here=`$(am__cd) $(top_builddir) && pwd` \
  675 	  && $(am__cd) $(top_srcdir) \
  676 	  && gtags -i $(GTAGS_ARGS) "$$here"
  677 cscope: cscope.files
  678 	test ! -s cscope.files \
  679 	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  680 clean-cscope:
  681 	-rm -f cscope.files
  682 cscope.files: clean-cscope cscopelist
  683 cscopelist: cscopelist-recursive
  684 
  685 cscopelist-am: $(am__tagged_files)
  686 	list='$(am__tagged_files)'; \
  687 	case "$(srcdir)" in \
  688 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  689 	  *) sdir=$(subdir)/$(srcdir) ;; \
  690 	esac; \
  691 	for i in $$list; do \
  692 	  if test -f "$$i"; then \
  693 	    echo "$(subdir)/$$i"; \
  694 	  else \
  695 	    echo "$$sdir/$$i"; \
  696 	  fi; \
  697 	done >> $(top_builddir)/cscope.files
  698 
  699 distclean-tags:
  700 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  701 	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  702 check-am: all-am
  703 check: check-recursive
  704 all-am: Makefile $(PROGRAMS) $(MANS)
  705 installdirs: installdirs-recursive
  706 installdirs-am:
  707 	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
  708 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  709 	done
  710 install: install-recursive
  711 install-exec: install-exec-recursive
  712 install-data: install-data-recursive
  713 uninstall: uninstall-recursive
  714 
  715 install-am: all-am
  716 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  717 
  718 installcheck: installcheck-recursive
  719 install-strip:
  720 	if test -z '$(STRIP)'; then \
  721 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  722 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  723 	      install; \
  724 	else \
  725 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  726 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  727 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  728 	fi
  729 mostlyclean-generic:
  730 
  731 clean-generic:
  732 
  733 distclean-generic:
  734 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  735 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  736 
  737 maintainer-clean-generic:
  738 	@echo "This command is intended for maintainers to use"
  739 	@echo "it deletes files that may require special tools to rebuild."
  740 clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
  741 	mostlyclean-am
  742 
  743 distclean-am: clean-am distclean-compile distclean-generic \
  744 	distclean-tags
  745 
  746 dvi: dvi-recursive
  747 
  748 dvi-am:
  749 
  750 html: html-recursive
  751 
  752 html-am:
  753 
  754 info: info-recursive
  755 
  756 info-am:
  757 
  758 install-data-am: install-data-local install-man
  759 
  760 install-dvi: install-dvi-recursive
  761 
  762 install-dvi-am:
  763 
  764 install-exec-am: install-binPROGRAMS
  765 
  766 install-html: install-html-recursive
  767 
  768 install-html-am:
  769 
  770 install-info: install-info-recursive
  771 
  772 install-info-am:
  773 
  774 install-man: install-man1
  775 
  776 install-pdf: install-pdf-recursive
  777 
  778 install-pdf-am:
  779 
  780 install-ps: install-ps-recursive
  781 
  782 install-ps-am:
  783 
  784 installcheck-am:
  785 
  786 maintainer-clean: maintainer-clean-recursive
  787 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
  788 	-rm -rf $(top_srcdir)/autom4te.cache
  789 	-rm -f Makefile
  790 maintainer-clean-am: distclean-am maintainer-clean-generic
  791 
  792 mostlyclean: mostlyclean-recursive
  793 
  794 mostlyclean-am: mostlyclean-compile mostlyclean-generic
  795 
  796 pdf: pdf-recursive
  797 
  798 pdf-am:
  799 
  800 ps: ps-recursive
  801 
  802 ps-am:
  803 
  804 uninstall-am: uninstall-binPROGRAMS uninstall-man
  805 
  806 uninstall-man: uninstall-man1
  807 
  808 .MAKE: $(am__recursive_targets) install-am install-strip
  809 
  810 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  811 	am--refresh check check-am clean clean-binPROGRAMS \
  812 	clean-cscope clean-generic clean-noinstPROGRAMS cscope \
  813 	cscopelist-am ctags ctags-am distclean distclean-compile \
  814 	distclean-generic distclean-tags dvi dvi-am html html-am info \
  815 	info-am install install-am install-binPROGRAMS install-data \
  816 	install-data-am install-data-local install-dvi install-dvi-am \
  817 	install-exec install-exec-am install-html install-html-am \
  818 	install-info install-info-am install-man install-man1 \
  819 	install-pdf install-pdf-am install-ps install-ps-am \
  820 	install-strip installcheck installcheck-am installdirs \
  821 	installdirs-am maintainer-clean maintainer-clean-generic \
  822 	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
  823 	ps ps-am tags tags-am uninstall uninstall-am \
  824 	uninstall-binPROGRAMS uninstall-man uninstall-man1
  825 
  826 cairo.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  827 elements.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  828 events.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  829 fontfile.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  830 text.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  831 utf8encodings.$(OBJEXT) : CFLAGS += -pedantic -Wall -Wextra
  832 
  833 help.c: menudep.h
  834 menucalls.c: menudep.h
  835 rcfile.c: menudep.h
  836 schema.c: menudep.h
  837 xcircuit.c: menudep.h
  838 parameter.c: menudep.h
  839 python.c: menudep.h
  840 tclxcircuit.c: menudep.h
  841 xtgui.c: menudep.h
  842 xtfuncs.c: menudep.h
  843 
  844 menudep$(EXEEXT): menudep.o
  845 	$(CC) -o $@ menudep.o
  846 
  847 menudep.h: menudep$(EXEEXT)
  848 	./menudep$(EXEEXT)
  849 
  850 xcwrap.o: xcwrap.c menudep.h
  851 	$(CC) ${CPPFLAGS} ${CFLAGS} ${DEFS} \
  852 		$(PATHNAMES) $(INCLUDES) \
  853 		xcwrap.c -c -o xcwrap.o
  854 
  855 lib/$(INTERP_PATH)/$(WRAPPER_OBJ): xcwrap.o ${xcircuit_OBJECTS} ${xcircuit_DEPEND}
  856 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
  857 	$(SHLIB_LD) ${CFLAGS} -o $@ ${LDDL_FLAGS} xcwrap.o \
  858 		${xcircuit_OBJECTS} ${xcircuit_LDADD} ${SHLIB_LIB_SPECS} \
  859 		${LDFLAGS} ${X_EXTRA_LIBS} ${EXTRA_LIBS} -lc ${LIBS} \
  860 		${LIB_SPECS} ${EXTRA_LIB_SPECS}
  861 
  862 xcircexec$(EXEEXT): xcircexec.o
  863 	$(RM) ./xcircexec$(EXEEXT)
  864 	$(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
  865 		xcircexec.c -o xcircexec$(EXEEXT) ${LIB_SPECS} \
  866 		${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
  867 
  868 xcircdnull$(EXEEXT): xcircdnull.o
  869 	$(RM) ./xcircdnull$(EXEEXT)
  870 	$(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
  871 		xcircdnull.c -o xcircdnull$(EXEEXT) ${LIB_SPECS} \
  872 		${LD_RUN_PATH} ${LDFLAGS} ${LIBS} ${EXTRA_LIB_SPECS}
  873 
  874 tcl:
  875 	@echo Making tcl library object
  876 	list='$(SUBDIRS)'; for subdir in $$list; do \
  877 	   test "$$subdir" = . || (echo "Making tcl in $$subdir"; \
  878 	   cd $$subdir && $(MAKE) $(AM_MAKEFLAGS)) \
  879 	done
  880 	$(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_OBJ)
  881 	$(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_SH)
  882 	$(MAKE) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
  883 	$(MAKE) xcircexec$(EXEEXT)
  884 	$(MAKE) xcircdnull$(EXEEXT)
  885 
  886 lib/$(INTERP_PATH)/$(WRAPPER_SH): lib/$(INTERP_PATH)/$(WRAPPER_SH).in
  887 	sed -e '/XCLIBDIR/s#XCLIBDIR#$(librarydir)#' \
  888 		-e '/WRAPPER_INIT/s/WRAPPER_INIT/$(WRAPPER_INIT)/' \
  889 		-e '/CONSOLE_SCRIPT/s/CONSOLE_SCRIPT/$(CONSOLE_SCRIPT)/' \
  890 		-e '/CONSOLE/s/CONSOLE/$(CONSOLE)/' \
  891 		-e '/PROG_VERSION/s/PROG_VERSION/$(VERSION)/' \
  892 		-e '/PROG_REVISION/s/PROG_REVISION/$(REVISION)/' \
  893 		-e '/TCLLIBDIR/s#TCLLIBDIR#$(TCL_LIB_DIR)#' \
  894 		-e '/WISH_EXE/s#WISH_EXE#$(WISH_EXE)#' \
  895 		lib/$(INTERP_PATH)/$(WRAPPER_SH).in > $@
  896 	chmod 0755 $@
  897 
  898 lib/$(INTERP_PATH)/$(WRAPPER_INIT): lib/$(INTERP_PATH)/$(WRAPPER_INIT).in
  899 	sed -e '/LIBDIR/s#LIBDIR#$(librarydir)#' \
  900 		-e '/SCRIPTSDIR/s#SCRIPTSDIR#$(scriptsdir)#' \
  901 		lib/$(INTERP_PATH)/$(WRAPPER_INIT).in > $@
  902 	chmod 0755 $@
  903 
  904 lib/xcircuit.1: lib/xcircuit.1.in
  905 	sed -e '/LIBDIR/s#LIBDIR#$(libdir)#' \
  906 		-e "/^${HAVE_LGF}/s/^${HAVE_LGF} //" \
  907 		-e "/^${INTERPRETER}/s/^${INTERPRETER} //" \
  908 		-e '/^PYTHON /d' \
  909 		-e '/^TCL /d' \
  910 		-e '/^LGF /d' \
  911 		-e '/^NOINTERP /d' \
  912 		lib/xcircuit.1.in > $@
  913 
  914 install-data-local: lib/xcircuit.1
  915 	@echo "Installing app-defaults file"
  916 	$(mkinstalldirs) $(DESTDIR)$(install_appdefaultsdir)
  917 	$(mkinstalldirs) $(DESTDIR)$(install_appmandir)
  918 	$(INSTALL_DATA) lib/XCircuit.ad $(DESTDIR)$(install_appdefaultsdir)/XCircuit
  919 	$(INSTALL_DATA) lib/xcircuit.1 $(DESTDIR)$(install_appmandir)/xcircuit.1
  920 	@echo "Installing library and netlist files"
  921 	$(mkinstalldirs) $(DESTDIR)$(install_librarydir)
  922 	( cd lib ; for i in $(PROLOGUE_FILE) $(ENCODING_FILES) *.lps *.cir; do \
  923 		$(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir); \
  924 	done )
  925 	( cd lib/$(INTERP_PATH) ; for i in $(STARTUP_FILE); do \
  926 		$(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir); \
  927 	done )
  928 	@echo "Installing .lps font files"
  929 	$(mkinstalldirs) $(DESTDIR)$(install_librarydir)/fonts
  930 	for i in $(FONTS_LPS); do \
  931 		$(INSTALL_DATA) lib/fonts/$$i.lps $(DESTDIR)$(install_librarydir)/fonts; \
  932 	done
  933 	@echo "Installing .xfe font files"
  934 	for i in $(FONTS_XFE); do \
  935 		$(INSTALL_DATA) lib/fonts/$$i.xfe $(DESTDIR)$(install_librarydir)/fonts; \
  936 	done
  937 	@echo "Installing scripts (if option enabled)"
  938 	if test "$(PYTHON)" != ""; then \
  939 		$(mkinstalldirs) $(DESTDIR)$(install_scriptsdir)/python; \
  940 		for i in $(SCRIPTS_PY); do \
  941 			$(INSTALL_DATA) lib/python/$$i.py \
  942 				$(DESTDIR)$(install_scriptsdir)/python; \
  943 		done; \
  944 	fi
  945 
  946 # Note that MacOS/Fink uses SHDLIB_EXT = .dylib but Tcl expects .so anyway.
  947 # So we make a symbolic link if SHDLIB_EXT != .so
  948 
  949 install-tcl: xcircexec$(EXEEXT) xcircdnull$(EXEEXT) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
  950 	@echo "Installing standard XCircuit library files"
  951 	$(MAKE) $(AM_MAKEFLAGS) install-data-local
  952 	@echo "Installing Tcl files"
  953 	$(mkinstalldirs) $(DESTDIR)$(install_librarydir)
  954 	$(mkinstalldirs) $(DESTDIR)$(install_scriptsdir)
  955 	( cd lib/$(INTERP_PATH) ; for i in $(WRAPPER_OBJ) *.tcl ; do \
  956 		$(INSTALL_DATA) $$i $(DESTDIR)$(install_scriptsdir); \
  957 		done )
  958 	$(INSTALL_DATA) xcircexec$(EXEEXT) $(DESTDIR)$(install_librarydir)
  959 	$(INSTALL_DATA) xcircdnull$(EXEEXT) $(DESTDIR)$(install_librarydir)
  960 	chmod 0755 $(DESTDIR)$(install_librarydir)/$(CONSOLE)
  961 	chmod 0755 $(DESTDIR)$(install_librarydir)/$(CONSOLE_SCRIPT)
  962 	chmod 0755 $(DESTDIR)$(install_librarydir)/$(WRAPPER_OBJ)
  963 	chmod 0755 $(DESTDIR)$(install_librarydir)/xcircexec$(EXEEXT)
  964 	chmod 0755 $(DESTDIR)$(install_librarydir)/xcircdnull$(EXEEXT)
  965 
  966 	if test "${SHDLIB_EXT}" != ".so"; then \
  967 	  ( cd $(DESTDIR)$(install_librarydir); \
  968 	    $(RM) $(WRAPPER_SO) ; \
  969 	    ln -s $(WRAPPER_OBJ) $(WRAPPER_SO) ) ; \
  970 	fi
  971 
  972 	@echo "Installing GIF images"
  973 	$(mkinstalldirs) $(DESTDIR)$(install_librarydir)/pixmaps
  974 	( cd lib/pixmaps ; for i in `ls *.gif *.xbm *.ico` ; do \
  975 		$(INSTALL_DATA) $$i $(DESTDIR)$(install_librarydir)/pixmaps; \
  976 	done )
  977 	@echo "Installing shell script as xcircuit executable"
  978 	$(mkinstalldirs) $(DESTDIR)$(install_bindir)
  979 	$(INSTALL_DATA) lib/$(INTERP_PATH)/$(WRAPPER_SH) $(DESTDIR)$(install_bindir)/xcircuit
  980 	chmod 0755 $(DESTDIR)$(install_bindir)/xcircuit
  981 
  982 clean:
  983 	(cd ./Xw; $(RM) *.o *.a *.bak core)
  984 	(cd ./asg; $(MAKE) clean)
  985 	(cd ./spiceparser; $(MAKE) clean)
  986 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
  987 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
  988 	$(RM) xcircuit *.o *.bak lib/xcircuit.1 core
  989 	$(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
  990 	$(RM) menudep$(EXEEXT) menudep.h
  991 	$(RM) config.cache config.log
  992 
  993 distclean:
  994 	(cd ./Xw; $(RM) *.o *.a *.bak Makefile core)
  995 	(cd ./asg; $(MAKE) clean ; $(RM) Makefile)
  996 	(cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile)
  997 	$(RM) xcircuit *.o *.bak core
  998 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
  999 	$(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
 1000 	$(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
 1001 	$(RM) Makefile config.cache config.log config.status
 1002 	$(RM) xcircuit-$(FULL_VERSION) xcircuit.spec xcircuit-$(FULL_VERSION).tgz
 1003 
 1004 dist:
 1005 	$(RM) xcircuit.spec xcircuit-$(FULL_VERSION) xcircuit-$(FULL_VERSION).tgz
 1006 	sed -e /%VERSION%/s/%VERSION%/$(FULL_VERSION)/ \
 1007 	    xcircuit.spec.in > xcircuit.spec
 1008 	ln -nsf . xcircuit-$(FULL_VERSION)
 1009 	tar zchvf xcircuit-$(FULL_VERSION).tgz --exclude CVS \
 1010 	    --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION) \
 1011 	    --exclude xcircuit-$(FULL_VERSION)/xcircuit-$(FULL_VERSION).tgz \
 1012 	    xcircuit-$(FULL_VERSION)
 1013 
 1014 quiteclean:
 1015 	(cd ./Xw; $(RM) *.o *.a *.bak Makefile.in Makefile core)
 1016 	(cd ./asg; $(MAKE) clean ; $(RM) Makefile.in Makefile)
 1017 	(cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile.in Makefile)
 1018 	$(RM) xcircuit *.o *.bak core
 1019 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
 1020 	$(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1
 1021 	$(RM) xcircexec$(EXEEXT) xcircdnull$(EXEEXT)
 1022 	$(RM) install-sh missing mkinstalldirs Makefile.in Makefile
 1023 	$(RM) config.* aclocal.m4
 1024 
 1025 $(ALL_TARGET):
 1026 	$(MAKE) tcl
 1027 
 1028 $(INSTALL_TARGET):
 1029 	$(MAKE) install-tcl
 1030 
 1031 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 1032 # Otherwise a system limit (for SysV at least) may be exceeded.
 1033 .NOEXPORT: