Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zint/backend_tcl/Makefile.in @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 # Makefile.in -- | |
| 2 # | |
| 3 # This file is a Makefile for Sample TEA Extension. If it has the name | |
| 4 # "Makefile.in" then it is a template for a Makefile; to generate the | |
| 5 # actual Makefile, run "./configure", which is a configuration script | |
| 6 # generated by the "autoconf" program (constructs like "@foo@" will get | |
| 7 # replaced in the actual Makefile. | |
| 8 # | |
| 9 # Copyright (c) 1999 Scriptics Corporation. | |
| 10 # Copyright (c) 2002-2005 ActiveState Corporation. | |
| 11 # | |
| 12 # See the file "license.terms" for information on usage and redistribution | |
| 13 # of this file, and for a DISCLAIMER OF ALL WARRANTIES. | |
| 14 | |
| 15 #======================================================================== | |
| 16 # Add additional lines to handle any additional AC_SUBST cases that | |
| 17 # have been added in a customized configure script. | |
| 18 #======================================================================== | |
| 19 | |
| 20 #SAMPLE_NEW_VAR = @SAMPLE_NEW_VAR@ | |
| 21 | |
| 22 #======================================================================== | |
| 23 # Nothing of the variables below this line should need to be changed. | |
| 24 # Please check the TARGETS section below to make sure the make targets | |
| 25 # are correct. | |
| 26 #======================================================================== | |
| 27 | |
| 28 #======================================================================== | |
| 29 # The names of the source files is defined in the configure script. | |
| 30 # The object files are used for linking into the final library. | |
| 31 # This will be used when a dist target is added to the Makefile. | |
| 32 # It is not important to specify the directory, as long as it is the | |
| 33 # $(srcdir) or in the generic, win or unix subdirectory. | |
| 34 #======================================================================== | |
| 35 | |
| 36 PKG_SOURCES = @PKG_SOURCES@ | |
| 37 PKG_OBJECTS = @PKG_OBJECTS@ | |
| 38 | |
| 39 PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ | |
| 40 PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ | |
| 41 | |
| 42 #======================================================================== | |
| 43 # PKG_TCL_SOURCES identifies Tcl runtime files that are associated with | |
| 44 # this package that need to be installed, if any. | |
| 45 #======================================================================== | |
| 46 | |
| 47 PKG_TCL_SOURCES = @PKG_TCL_SOURCES@ | |
| 48 | |
| 49 #======================================================================== | |
| 50 # This is a list of public header files to be installed, if any. | |
| 51 #======================================================================== | |
| 52 | |
| 53 PKG_HEADERS = @PKG_HEADERS@ | |
| 54 | |
| 55 #======================================================================== | |
| 56 # "PKG_LIB_FILE" refers to the library (dynamic or static as per | |
| 57 # configuration options) composed of the named objects. | |
| 58 #======================================================================== | |
| 59 | |
| 60 PKG_LIB_FILE = @PKG_LIB_FILE@ | |
| 61 PKG_LIB_FILE8 = @PKG_LIB_FILE8@ | |
| 62 PKG_LIB_FILE9 = @PKG_LIB_FILE9@ | |
| 63 PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ | |
| 64 | |
| 65 lib_BINARIES = $(PKG_LIB_FILE) | |
| 66 BINARIES = $(lib_BINARIES) | |
| 67 | |
| 68 SHELL = @SHELL@ | |
| 69 | |
| 70 srcdir = @srcdir@ | |
| 71 prefix = @prefix@ | |
| 72 exec_prefix = @exec_prefix@ | |
| 73 | |
| 74 bindir = @bindir@ | |
| 75 libdir = @libdir@ | |
| 76 includedir = @includedir@ | |
| 77 datarootdir = @datarootdir@ | |
| 78 runstatedir = @runstatedir@ | |
| 79 datadir = @datadir@ | |
| 80 mandir = @mandir@ | |
| 81 | |
| 82 DESTDIR = | |
| 83 | |
| 84 PKG_DIR = $(PACKAGE_NAME)$(PACKAGE_VERSION) | |
| 85 pkgdatadir = $(datadir)/$(PKG_DIR) | |
| 86 pkglibdir = $(libdir)/$(PKG_DIR) | |
| 87 pkgincludedir = $(includedir)/$(PKG_DIR) | |
| 88 | |
| 89 top_builddir = @abs_top_builddir@ | |
| 90 | |
| 91 INSTALL_OPTIONS = | |
| 92 INSTALL = @INSTALL@ $(INSTALL_OPTIONS) | |
| 93 INSTALL_DATA_DIR = @INSTALL_DATA_DIR@ | |
| 94 INSTALL_DATA = @INSTALL_DATA@ | |
| 95 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
| 96 INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
| 97 INSTALL_LIBRARY = @INSTALL_LIBRARY@ | |
| 98 | |
| 99 PACKAGE_NAME = @PACKAGE_NAME@ | |
| 100 PACKAGE_VERSION = @PACKAGE_VERSION@ | |
| 101 CC = @CC@ | |
| 102 CCLD = @CCLD@ | |
| 103 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ | |
| 104 CFLAGS_WARNING = @CFLAGS_WARNING@ | |
| 105 EXEEXT = @EXEEXT@ | |
| 106 LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@ | |
| 107 MAKE_LIB = @MAKE_LIB@ | |
| 108 MAKE_STUB_LIB = @MAKE_STUB_LIB@ | |
| 109 OBJEXT = @OBJEXT@ | |
| 110 RANLIB = @RANLIB@ | |
| 111 RANLIB_STUB = @RANLIB_STUB@ | |
| 112 SHLIB_CFLAGS = @SHLIB_CFLAGS@ | |
| 113 SHLIB_LD = @SHLIB_LD@ | |
| 114 SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ | |
| 115 STLIB_LD = @STLIB_LD@ | |
| 116 #TCL_DEFS = @TCL_DEFS@ | |
| 117 TCL_BIN_DIR = @TCL_BIN_DIR@ | |
| 118 TCL_SRC_DIR = @TCL_SRC_DIR@ | |
| 119 #TK_BIN_DIR = @TK_BIN_DIR@ | |
| 120 #TK_SRC_DIR = @TK_SRC_DIR@ | |
| 121 | |
| 122 # Not used, but retained for reference of what libs Tcl required | |
| 123 #TCL_LIBS = @TCL_LIBS@ | |
| 124 | |
| 125 #======================================================================== | |
| 126 # TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our | |
| 127 # package without installing. The other environment variables allow us | |
| 128 # to test against an uninstalled Tcl. Add special env vars that you | |
| 129 # require for testing here (like TCLX_LIBRARY). | |
| 130 #======================================================================== | |
| 131 | |
| 132 EXTRA_PATH = $(top_builddir):$(TCL_BIN_DIR) | |
| 133 #EXTRA_PATH = $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR) | |
| 134 TCLLIBPATH = $(top_builddir) | |
| 135 TCLSH_ENV = TCL_LIBRARY=`@CYGPATH@ $(TCL_SRC_DIR)/library` | |
| 136 PKG_ENV = @LD_LIBRARY_PATH_VAR@="$(EXTRA_PATH):$(@LD_LIBRARY_PATH_VAR@)" \ | |
| 137 PATH="$(EXTRA_PATH):$(PATH)" \ | |
| 138 TCLLIBPATH="$(TCLLIBPATH)" | |
| 139 | |
| 140 TCLSH_PROG = @TCLSH_PROG@ | |
| 141 TCLSH = $(TCLSH_ENV) $(PKG_ENV) $(TCLSH_PROG) | |
| 142 | |
| 143 #WISH_ENV = TK_LIBRARY=`@CYGPATH@ $(TK_SRC_DIR)/library` | |
| 144 #WISH_PROG = @WISH_PROG@ | |
| 145 #WISH = $(TCLSH_ENV) $(WISH_ENV) $(PKG_ENV) $(WISH_PROG) | |
| 146 | |
| 147 SHARED_BUILD = @SHARED_BUILD@ | |
| 148 | |
| 149 INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ -I. | |
| 150 #INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@ | |
| 151 | |
| 152 PKG_CFLAGS = @PKG_CFLAGS@ | |
| 153 | |
| 154 # TCL_DEFS is not strictly need here, but if you remove it, then you | |
| 155 # must make sure that configure.ac checks for the necessary components | |
| 156 # that your library may use. TCL_DEFS can actually be a problem if | |
| 157 # you do not compile with a similar machine setup as the Tcl core was | |
| 158 # compiled with. | |
| 159 #DEFS = $(TCL_DEFS) @DEFS@ $(PKG_CFLAGS) | |
| 160 DEFS = @DEFS@ $(PKG_CFLAGS) | |
| 161 | |
| 162 # Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile | |
| 163 CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl | |
| 164 CLEANFILES = @CLEANFILES@ | |
| 165 | |
| 166 CPPFLAGS = @CPPFLAGS@ | |
| 167 LIBS = @PKG_LIBS@ @LIBS@ | |
| 168 AR = @AR@ | |
| 169 CFLAGS = @CFLAGS@ | |
| 170 LDFLAGS = @LDFLAGS@ | |
| 171 LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@ | |
| 172 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ | |
| 173 $(CFLAGS_DEFAULT) $(CFLAGS_WARNING) $(SHLIB_CFLAGS) $(CFLAGS) | |
| 174 | |
| 175 GDB = gdb | |
| 176 VALGRIND = valgrind | |
| 177 VALGRINDARGS = --tool=memcheck --num-callers=8 --leak-resolution=high \ | |
| 178 --leak-check=yes --show-reachable=yes -v | |
| 179 | |
| 180 .SUFFIXES: .c .$(OBJEXT) | |
| 181 | |
| 182 #======================================================================== | |
| 183 # Start of user-definable TARGETS section | |
| 184 #======================================================================== | |
| 185 | |
| 186 #======================================================================== | |
| 187 # TEA TARGETS. Please note that the "libraries:" target refers to platform | |
| 188 # independent files, and the "binaries:" target includes executable programs and | |
| 189 # platform-dependent libraries. Modify these targets so that they install | |
| 190 # the various pieces of your package. The make and install rules | |
| 191 # for the BINARIES that you specified above have already been done. | |
| 192 #======================================================================== | |
| 193 | |
| 194 all: binaries libraries doc | |
| 195 | |
| 196 #======================================================================== | |
| 197 # The binaries target builds executable programs, Windows .dll's, unix | |
| 198 # shared/static libraries, and any other platform-dependent files. | |
| 199 # The list of targets to build for "binaries:" is specified at the top | |
| 200 # of the Makefile, in the "BINARIES" variable. | |
| 201 #======================================================================== | |
| 202 | |
| 203 binaries: $(BINARIES) | |
| 204 | |
| 205 libraries: | |
| 206 | |
| 207 #======================================================================== | |
| 208 # Your doc target should differentiate from doc builds (by the developer) | |
| 209 # and doc installs (see install-doc), which just install the docs on the | |
| 210 # end user machine when building from source. | |
| 211 #======================================================================== | |
| 212 | |
| 213 doc: | |
| 214 @echo "If you have documentation to create, place the commands to" | |
| 215 @echo "build the docs in the 'doc:' target. For example:" | |
| 216 @echo " xml2nroff sample.xml > sample.n" | |
| 217 @echo " xml2html sample.xml > sample.html" | |
| 218 | |
| 219 #install: all install-binaries install-libraries install-doc | |
| 220 install: all install-binaries install-libraries | |
| 221 | |
| 222 install-binaries: binaries install-lib-binaries install-bin-binaries | |
| 223 | |
| 224 #======================================================================== | |
| 225 # This rule installs platform-independent files, such as header files. | |
| 226 # The list=...; for p in $$list handles the empty list case x-platform. | |
| 227 #======================================================================== | |
| 228 | |
| 229 install-libraries: libraries | |
| 230 @$(INSTALL_DATA_DIR) "$(DESTDIR)$(includedir)" | |
| 231 @echo "Installing header files in $(DESTDIR)$(includedir)" | |
| 232 @list='$(PKG_HEADERS)'; for i in $$list; do \ | |
| 233 echo "Installing $(srcdir)/$$i" ; \ | |
| 234 $(INSTALL_DATA) $(srcdir)/$$i "$(DESTDIR)$(includedir)" ; \ | |
| 235 done; | |
| 236 | |
| 237 #======================================================================== | |
| 238 # Install documentation. Unix manpages should go in the $(mandir) | |
| 239 # directory. | |
| 240 #======================================================================== | |
| 241 | |
| 242 install-doc: doc | |
| 243 @$(INSTALL_DATA_DIR) "$(DESTDIR)$(mandir)/mann" | |
| 244 @echo "Installing documentation in $(DESTDIR)$(mandir)" | |
| 245 @list='$(srcdir)/doc/*.n'; for i in $$list; do \ | |
| 246 echo "Installing $$i"; \ | |
| 247 $(INSTALL_DATA) $$i "$(DESTDIR)$(mandir)/mann" ; \ | |
| 248 done | |
| 249 | |
| 250 test: binaries libraries | |
| 251 $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \ | |
| 252 -load "package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION) \ | |
| 253 [list load `@CYGPATH@ $(PKG_LIB_FILE)` [string totitle $(PACKAGE_NAME)]]" | |
| 254 | |
| 255 shell: binaries libraries | |
| 256 @$(TCLSH) $(SCRIPT) | |
| 257 | |
| 258 gdb: | |
| 259 $(TCLSH_ENV) $(PKG_ENV) $(GDB) $(TCLSH_PROG) $(SCRIPT) | |
| 260 | |
| 261 gdb-test: binaries libraries | |
| 262 $(TCLSH_ENV) $(PKG_ENV) $(GDB) \ | |
| 263 --args $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \ | |
| 264 $(TESTFLAGS) -singleproc 1 \ | |
| 265 -load "package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION) \ | |
| 266 [list load `@CYGPATH@ $(PKG_LIB_FILE)` [string totitle $(PACKAGE_NAME)]]" | |
| 267 | |
| 268 valgrind: binaries libraries | |
| 269 $(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) \ | |
| 270 `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) | |
| 271 | |
| 272 valgrindshell: binaries libraries | |
| 273 $(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) $(SCRIPT) | |
| 274 | |
| 275 depend: | |
| 276 | |
| 277 #======================================================================== | |
| 278 # $(PKG_LIB_FILE) should be listed as part of the BINARIES variable | |
| 279 # mentioned above. That will ensure that this target is built when you | |
| 280 # run "make binaries". | |
| 281 # | |
| 282 # The $(PKG_OBJECTS) objects are created and linked into the final | |
| 283 # library. In most cases these object files will correspond to the | |
| 284 # source files above. | |
| 285 #======================================================================== | |
| 286 | |
| 287 $(PKG_LIB_FILE): $(PKG_OBJECTS) | |
| 288 -rm -f $(PKG_LIB_FILE) | |
| 289 ${MAKE_LIB} | |
| 290 $(RANLIB) $(PKG_LIB_FILE) | |
| 291 | |
| 292 $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS) | |
| 293 -rm -f $(PKG_STUB_LIB_FILE) | |
| 294 ${MAKE_STUB_LIB} | |
| 295 $(RANLIB_STUB) $(PKG_STUB_LIB_FILE) | |
| 296 | |
| 297 #======================================================================== | |
| 298 # We need to enumerate the list of .c to .o lines here. | |
| 299 # | |
| 300 # In the following lines, $(srcdir) refers to the toplevel directory | |
| 301 # containing your extension. If your sources are in a subdirectory, | |
| 302 # you will have to modify the paths to reflect this: | |
| 303 # | |
| 304 # sample.$(OBJEXT): $(srcdir)/generic/sample.c | |
| 305 # $(COMPILE) -c `@CYGPATH@ $(srcdir)/generic/sample.c` -o $@ | |
| 306 # | |
| 307 # Setting the VPATH variable to a list of paths will cause the makefile | |
| 308 # to look into these paths when resolving .c to .obj dependencies. | |
| 309 # As necessary, add $(srcdir):$(srcdir)/compat:.... | |
| 310 #======================================================================== | |
| 311 | |
| 312 VPATH = $(srcdir):$(srcdir)/../backend | |
| 313 | |
| 314 .c.@OBJEXT@: | |
| 315 $(COMPILE) -c `@CYGPATH@ $<` -o $@ | |
| 316 | |
| 317 $(srcdir)/manifest.uuid: | |
| 318 printf "git-" >$(srcdir)/manifest.uuid | |
| 319 (cd $(srcdir); git rev-parse HEAD >>$(srcdir)/manifest.uuid || \ | |
| 320 (printf "svn-r" >$(srcdir)/manifest.uuid ; \ | |
| 321 svn info --show-item last-changed-revision >>$(srcdir)/manifest.uuid) || \ | |
| 322 printf "unknown" >$(srcdir)/manifest.uuid) | |
| 323 | |
| 324 sampleUuid.h: $(srcdir)/manifest.uuid | |
| 325 echo "#define SAMPLE_VERSION_UUID \\" >$@ | |
| 326 cat $(srcdir)/manifest.uuid >>$@ | |
| 327 echo "" >>$@ | |
| 328 | |
| 329 #======================================================================== | |
| 330 # Distribution creation | |
| 331 # You may need to tweak this target to make it work correctly. | |
| 332 #======================================================================== | |
| 333 | |
| 334 #COMPRESS = tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar | |
| 335 COMPRESS = tar zcvf $(PKG_DIR).tar.gz $(PKG_DIR) | |
| 336 DIST_ROOT = /tmp/dist | |
| 337 DIST_DIR = $(DIST_ROOT)/$(PKG_DIR) | |
| 338 | |
| 339 DIST_INSTALL_DATA = CPPROG='cp -p' $(INSTALL) -m 644 | |
| 340 DIST_INSTALL_SCRIPT = CPPROG='cp -p' $(INSTALL) -m 755 | |
| 341 | |
| 342 dist-clean: | |
| 343 rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.* | |
| 344 | |
| 345 dist: dist-clean $(srcdir)/manifest.uuid | |
| 346 $(INSTALL_DATA_DIR) $(DIST_DIR) | |
| 347 | |
| 348 # TEA files | |
| 349 $(DIST_INSTALL_DATA) $(srcdir)/Makefile.in \ | |
| 350 $(srcdir)/aclocal.m4 $(srcdir)/configure.ac \ | |
| 351 $(DIST_DIR)/ | |
| 352 $(DIST_INSTALL_SCRIPT) $(srcdir)/configure $(DIST_DIR)/ | |
| 353 | |
| 354 $(INSTALL_DATA_DIR) $(DIST_DIR)/tclconfig | |
| 355 $(DIST_INSTALL_DATA) $(srcdir)/tclconfig/README.txt \ | |
| 356 $(srcdir)/manifest.uuid \ | |
| 357 $(srcdir)/tclconfig/tcl.m4 $(srcdir)/tclconfig/install-sh \ | |
| 358 $(DIST_DIR)/tclconfig/ | |
| 359 | |
| 360 # Extension files | |
| 361 $(DIST_INSTALL_DATA) \ | |
| 362 $(srcdir)/ChangeLog \ | |
| 363 $(srcdir)/README.sha \ | |
| 364 $(srcdir)/license.terms \ | |
| 365 $(srcdir)/README \ | |
| 366 $(srcdir)/pkgIndex.tcl.in \ | |
| 367 $(DIST_DIR)/ | |
| 368 | |
| 369 list='demos doc generic library macosx tests unix win'; \ | |
| 370 for p in $$list; do \ | |
| 371 if test -d $(srcdir)/$$p ; then \ | |
| 372 $(INSTALL_DATA_DIR) $(DIST_DIR)/$$p; \ | |
| 373 $(DIST_INSTALL_DATA) $(srcdir)/$$p/* $(DIST_DIR)/$$p/; \ | |
| 374 fi; \ | |
| 375 done | |
| 376 | |
| 377 (cd $(DIST_ROOT); $(COMPRESS);) | |
| 378 | |
| 379 #======================================================================== | |
| 380 # End of user-definable section | |
| 381 #======================================================================== | |
| 382 | |
| 383 #======================================================================== | |
| 384 # Don't modify the file to clean here. Instead, set the "CLEANFILES" | |
| 385 # variable in configure.ac | |
| 386 #======================================================================== | |
| 387 | |
| 388 clean: | |
| 389 -test -z "$(BINARIES)" || rm -f $(BINARIES) | |
| 390 -rm -f *.$(OBJEXT) core *.core | |
| 391 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
| 392 | |
| 393 distclean: clean | |
| 394 -rm -f *.tab.c | |
| 395 -rm -f $(CONFIG_CLEAN_FILES) | |
| 396 -rm -f config.cache config.log config.status | |
| 397 | |
| 398 #======================================================================== | |
| 399 # Install binary object libraries. On Windows this includes both .dll and | |
| 400 # .lib files. Because the .lib files are not explicitly listed anywhere, | |
| 401 # we need to deduce their existence from the .dll file of the same name. | |
| 402 # Library files go into the lib directory. | |
| 403 # In addition, this will generate the pkgIndex.tcl | |
| 404 # file in the install location (assuming it can find a usable tclsh shell) | |
| 405 # | |
| 406 # You should not have to modify this target. | |
| 407 #======================================================================== | |
| 408 | |
| 409 install-lib-binaries: binaries | |
| 410 @$(INSTALL_DATA_DIR) "$(DESTDIR)$(pkglibdir)" | |
| 411 @list='$(lib_BINARIES)'; for p in $$list; do \ | |
| 412 if test -f $$p; then \ | |
| 413 echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p"; \ | |
| 414 $(INSTALL_LIBRARY) $$p "$(DESTDIR)$(pkglibdir)/$$p"; \ | |
| 415 ext=`echo $$p|sed -e "s/.*\.//"`; \ | |
| 416 if test "x$$ext" = "xdll"; then \ | |
| 417 lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \ | |
| 418 if test -f $$lib; then \ | |
| 419 echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; \ | |
| 420 $(INSTALL_DATA) $$lib "$(DESTDIR)$(pkglibdir)/$$lib"; \ | |
| 421 fi; \ | |
| 422 fi; \ | |
| 423 fi; \ | |
| 424 done | |
| 425 @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ | |
| 426 if test -f $(srcdir)/$$p; then \ | |
| 427 destp=`basename $$p`; \ | |
| 428 echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \ | |
| 429 $(INSTALL_DATA) $(srcdir)/$$p "$(DESTDIR)$(pkglibdir)/$$destp"; \ | |
| 430 fi; \ | |
| 431 done | |
| 432 @if test "x$(SHARED_BUILD)" = "x1"; then \ | |
| 433 echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \ | |
| 434 $(INSTALL_DATA) pkgIndex.tcl "$(DESTDIR)$(pkglibdir)"; \ | |
| 435 fi | |
| 436 | |
| 437 #======================================================================== | |
| 438 # Install binary executables (e.g. .exe files and dependent .dll files) | |
| 439 # This is for files that must go in the bin directory (located next to | |
| 440 # wish and tclsh), like dependent .dll files on Windows. | |
| 441 # | |
| 442 # You should not have to modify this target, except to define bin_BINARIES | |
| 443 # above if necessary. | |
| 444 #======================================================================== | |
| 445 | |
| 446 install-bin-binaries: binaries | |
| 447 @$(INSTALL_DATA_DIR) "$(DESTDIR)$(bindir)" | |
| 448 @list='$(bin_BINARIES)'; for p in $$list; do \ | |
| 449 if test -f $$p; then \ | |
| 450 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p"; \ | |
| 451 $(INSTALL_PROGRAM) $$p "$(DESTDIR)$(bindir)/$$p"; \ | |
| 452 fi; \ | |
| 453 done | |
| 454 | |
| 455 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
| 456 cd $(top_builddir) \ | |
| 457 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
| 458 | |
| 459 uninstall-binaries: | |
| 460 list='$(lib_BINARIES)'; for p in $$list; do \ | |
| 461 rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \ | |
| 462 done | |
| 463 list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ | |
| 464 p=`basename $$p`; \ | |
| 465 rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \ | |
| 466 done | |
| 467 list='$(bin_BINARIES)'; for p in $$list; do \ | |
| 468 rm -f "$(DESTDIR)$(bindir)/$$p"; \ | |
| 469 done | |
| 470 | |
| 471 .PHONY: all binaries clean depend distclean doc install libraries test | |
| 472 .PHONY: gdb gdb-test valgrind valgrindshell | |
| 473 | |
| 474 # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
| 475 # Otherwise a system limit (for SysV at least) may be exceeded. | |
| 476 .NOEXPORT: |
