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.
9 # Copyright (c) 1999 Scriptics Corporation.
10 # Copyright (c) 2002-2005 ActiveState Corporation.
12 # See the file "license.terms" for information on usage and redistribution
13 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15 # RCS: @(#) $Id: Makefile.in,v 1.59 2005/07/26 19:17:02 mdejong Exp $
17 #========================================================================
18 # Add additional lines to handle any additional AC_SUBST cases that
19 # have been added in a customized configure script.
20 #========================================================================
22 #SAMPLE_NEW_VAR = @SAMPLE_NEW_VAR@
24 #========================================================================
25 # Nothing of the variables below this line should need to be changed.
26 # Please check the TARGETS section below to make sure the make targets
28 #========================================================================
30 #========================================================================
31 # The names of the source files is defined in the configure script.
32 # The object files are used for linking into the final library.
33 # This will be used when a dist target is added to the Makefile.
34 # It is not important to specify the directory, as long as it is the
35 # $(srcdir) or in the generic, win or unix subdirectory.
36 #========================================================================
38 PKG_SOURCES = tclsqlite3.c
39 PKG_OBJECTS = tclsqlite3.o
44 #========================================================================
45 # PKG_TCL_SOURCES identifies Tcl runtime files that are associated with
46 # this package that need to be installed, if any.
47 #========================================================================
51 #========================================================================
52 # This is a list of public header files to be installed, if any.
53 #========================================================================
57 #========================================================================
58 # "PKG_LIB_FILE" refers to the library (dynamic or static as per
59 # configuration options) composed of the named objects.
60 #========================================================================
62 PKG_LIB_FILE = libsqlite3.36.0.dylib
63 PKG_LIB_FILE8 = libsqlite3.36.0.dylib
64 PKG_LIB_FILE9 = libtcl9sqlite3.36.0.dylib
65 PKG_STUB_LIB_FILE = libsqlitestub3.36.0.a
67 lib_BINARIES = $(PKG_LIB_FILE)
68 BINARIES = $(lib_BINARIES)
72 srcdir = /Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/pkgs/sqlite3.36.0
73 prefix = /Users/tacyas/Eos/util/ARM64MAC64
74 exec_prefix = /Users/tacyas/Eos/util/ARM64MAC64
76 bindir = ${exec_prefix}/bin
77 libdir = /Users/tacyas/Eos/util/ARM64MAC64/lib
78 includedir = ${prefix}/include
79 datarootdir = ${prefix}/share
80 runstatedir = ${localstatedir}/run
81 datadir = ${datarootdir}
82 mandir = ${datarootdir}/man
86 PKG_DIR = $(PACKAGE_NAME)$(PACKAGE_VERSION)
87 pkgdatadir = $(datadir)/$(PKG_DIR)
88 pkglibdir = $(libdir)/$(PKG_DIR)
89 pkgincludedir = $(includedir)/$(PKG_DIR)
93 INSTALL = $(SHELL) $(srcdir)/tclconfig/install-sh -c
94 INSTALL_PROGRAM = ${INSTALL} -m 755
95 INSTALL_LIBRARY = ${INSTALL} -m 644
96 INSTALL_DATA = ${INSTALL} -m 644
97 INSTALL_SCRIPT = ${INSTALL} -m 755
100 PACKAGE_VERSION = 3.36.0
103 CFLAGS_WARNING = -Wall
107 MAKE_LIB = ${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}
108 MAKE_SHARED_LIB = ${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}
109 MAKE_STATIC_LIB = ${STLIB_LD} $@ $(PKG_OBJECTS)
110 MAKE_STUB_LIB = ${STLIB_LD} $@ $(PKG_STUB_OBJECTS)
114 SHLIB_CFLAGS = -fno-common
115 SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 3.36.0 -compatibility_version 3.36.0
116 SHLIB_LD_LIBS = ${LIBS} -L/Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/unix -ltclstub8.6
118 #TCL_DEFS = -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -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 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1
119 TCL_BIN_DIR = /Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/unix
120 TCL_SRC_DIR = /Users/tacyas/Eos/util/src/TclTk/tcl8.6.12
121 #TK_BIN_DIR = @TK_BIN_DIR@
122 #TK_SRC_DIR = @TK_SRC_DIR@
124 # This is no longer necessary even for packages that use private Tcl headers
125 #TCL_TOP_DIR_NATIVE = @TCL_TOP_DIR_NATIVE@
126 # Not used, but retained for reference of what libs Tcl required
127 #TCL_LIBS = -lz -lpthread -framework CoreFoundation
129 #========================================================================
130 # TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
131 # package without installing. The other environment variables allow us
132 # to test against an uninstalled Tcl. Add special env vars that you
133 # require for testing here (like TCLX_LIBRARY).
134 #========================================================================
136 EXTRA_PATH = $(top_builddir):$(TCL_BIN_DIR)
137 #EXTRA_PATH = $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
138 TCLLIBPATH = $(top_builddir)
139 TCLSH_ENV = TCL_LIBRARY=`echo $(TCL_SRC_DIR)/library` \
140 DYLD_LIBRARY_PATH="$(EXTRA_PATH):$(DYLD_LIBRARY_PATH)" \
141 PATH="$(EXTRA_PATH):$(PATH)" \
142 TCLLIBPATH="$(TCLLIBPATH)"
143 # TK_LIBRARY=`echo $(TK_SRC_DIR)/library`
145 TCLSH_PROG = /Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/unix/tclsh
146 TCLSH = $(TCLSH_ENV) $(TCLSH_PROG)
148 #WISH_PROG = @WISH_PROG@
149 #WISH = $(TCLSH_ENV) $(WISH_PROG)
154 INCLUDES = -I"/Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/pkgs/sqlite3.36.0/generic" -I"/Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/generic" -I$(srcdir)/..
155 #INCLUDES = -I"/Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/pkgs/sqlite3.36.0/generic" -I"/Users/tacyas/Eos/util/src/TclTk/tcl8.6.12/generic" @TK_INCLUDES@ @TK_XINCLUDES@
157 PKG_CFLAGS = -DSQLITE_ENABLE_DBPAGE_VTAB=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_3_SUFFIX_ONLY=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 -DSQLITE_UNTESTABLE=1 -DSQLITE_OMIT_DEPRECATED=1 -DSQLITE_OMIT_LOOKASIDE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_USE_ALLOCA=1 -DSQLITE_WIN32_NO_ANSI=1 -DSQLITE_WIN32_GETVERSIONEX=0 -DSQLITE_API=MODULE_SCOPE -DSQLITE_EXTERN=
159 # TCL_DEFS is not strictly need here, but if you remove it, then you
160 # must make sure that configure.in checks for the necessary components
161 # that your library may use. TCL_DEFS can actually be a problem if
162 # you do not compile with a similar machine setup as the Tcl core was
164 #DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite\ 3.36.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_sqlite=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSQLITE_THREADSAFE=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_UTIME=1 -DHAVE_FLOCK=1 -DHAVE_READLINK=1 -DHAVE_LSTAT=1 -DHAVE_PREAD=1 -DHAVE_PWRITE=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 $(PKG_CFLAGS)
165 DEFS = -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite\ 3.36.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_sqlite=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSQLITE_THREADSAFE=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_UTIME=1 -DHAVE_FLOCK=1 -DHAVE_READLINK=1 -DHAVE_LSTAT=1 -DHAVE_PREAD=1 -DHAVE_PWRITE=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 $(PKG_CFLAGS)
167 CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
172 CFLAGS = -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}
173 LDFLAGS = -headerpad_max_install_names -Wl,-search_paths_first
175 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \
176 $(CFLAGS_DEFAULT) $(CFLAGS_WARNING) $(SHLIB_CFLAGS) $(CFLAGS)
180 VALGRINDARGS = --tool=memcheck --num-callers=8 --leak-resolution=high \
181 --leak-check=yes --show-reachable=yes -v
183 .SUFFIXES: .c .$(OBJEXT)
185 #========================================================================
186 # Start of user-definable TARGETS section
187 #========================================================================
189 #========================================================================
190 # TEA TARGETS. Please note that the "libraries:" target refers to platform
191 # independent files, and the "binaries:" target inclues executable programs and
192 # platform-dependent libraries. Modify these targets so that they install
193 # the various pieces of your package. The make and install rules
194 # for the BINARIES that you specified above have already been done.
195 #========================================================================
197 all: binaries libraries doc
199 #========================================================================
200 # The binaries target builds executable programs, Windows .dll's, unix
201 # shared/static libraries, and any other platform-dependent files.
202 # The list of targets to build for "binaries:" is specified at the top
203 # of the Makefile, in the "BINARIES" variable.
204 #========================================================================
206 binaries: $(BINARIES)
211 #========================================================================
212 # Your doc target should differentiate from doc builds (by the developer)
213 # and doc installs (see install-doc), which just install the docs on the
214 # end user machine when building from source.
215 #========================================================================
218 @echo "If you have documentation to create, place the commands to"
219 @echo "build the docs in the 'doc:' target. For example:"
220 @echo " xml2nroff sample.xml > sample.n"
221 @echo " xml2html sample.xml > sample.html"
223 install: all install-binaries install-libraries install-doc
225 install-binaries: binaries install-lib-binaries install-bin-binaries
227 #========================================================================
228 # This rule installs platform-independent files, such as header files.
229 # The list=...; for p in $$list handles the empty list case x-platform.
230 #========================================================================
232 install-libraries: libraries
233 @mkdir -p $(DESTDIR)$(includedir)
234 @echo "Installing header files in $(DESTDIR)$(includedir)"
235 @list='$(PKG_HEADERS)'; for i in $$list; do \
236 echo "Installing $(srcdir)/$$i" ; \
237 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \
240 #========================================================================
241 # Install documentation. Unix manpages should go in the $(mandir)
243 #========================================================================
246 @mkdir -p $(DESTDIR)$(mandir)/mann
247 @echo "Installing documentation in $(DESTDIR)$(mandir)"
248 @list='$(srcdir)/doc/*.n'; for i in $$list; do \
249 echo "Installing $$i"; \
250 rm -f "$(DESTDIR)$(mandir)/mann/`basename $$i`"; \
251 $(INSTALL_DATA) $$i "$(DESTDIR)$(mandir)/mann" ; \
254 test: binaries libraries
255 $(TCLSH) `echo $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
256 -load "package ifneeded ${PACKAGE_NAME}3 ${PACKAGE_VERSION} \
257 [list load `echo $(PKG_LIB_FILE)` [string totitle $(PACKAGE_NAME)]3]"
259 shell: binaries libraries
263 $(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT)
267 #========================================================================
268 # $(PKG_LIB_FILE) should be listed as part of the BINARIES variable
269 # mentioned above. That will ensure that this target is built when you
270 # run "make binaries".
272 # The $(PKG_OBJECTS) objects are created and linked into the final
273 # library. In most cases these object files will correspond to the
274 # source files above.
275 #========================================================================
277 $(PKG_LIB_FILE): $(PKG_OBJECTS)
278 -rm -f $(PKG_LIB_FILE)
280 $(RANLIB) $(PKG_LIB_FILE)
282 $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
283 -rm -f $(PKG_STUB_LIB_FILE)
285 $(RANLIB_STUB) $(PKG_STUB_LIB_FILE)
287 #========================================================================
288 # We need to enumerate the list of .c to .o lines here.
290 # In the following lines, $(srcdir) refers to the toplevel directory
291 # containing your extension. If your sources are in a subdirectory,
292 # you will have to modify the paths to reflect this:
294 # sample.$(OBJEXT): $(srcdir)/generic/sample.c
295 # $(COMPILE) -c `echo $(srcdir)/generic/sample.c` -o $@
297 # Setting the VPATH variable to a list of paths will cause the makefile
298 # to look into these paths when resolving .c to .obj dependencies.
299 # As necessary, add $(srcdir):$(srcdir)/compat:....
300 #========================================================================
302 VPATH = $(srcdir):$(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win
305 $(COMPILE) -c `echo $<` -o $@
307 #========================================================================
308 # Distribution creation
309 # You may need to tweak this target to make it work correctly.
310 #========================================================================
312 #COMPRESS = tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar
313 COMPRESS = gtar zcvf $(PKG_DIR).tar.gz $(PKG_DIR)
314 DIST_ROOT = /tmp/dist
315 DIST_DIR = $(DIST_ROOT)/$(PKG_DIR)
318 rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*
321 mkdir -p $(DIST_DIR)/compat/sqlite3
322 cp -p $(srcdir)/README* $(srcdir)/license* \
323 $(srcdir)/aclocal.m4 $(srcdir)/configure $(srcdir)/*.in \
324 $(srcdir)/configure.ac $(DIST_DIR)/
325 chmod 664 $(DIST_DIR)/Makefile.in $(DIST_DIR)/aclocal.m4
326 chmod 775 $(DIST_DIR)/configure $(DIST_DIR)/configure.ac
328 for i in $(srcdir)/*.[ch]; do \
329 if [ -f $$i ]; then \
330 cp -p $$i $(DIST_DIR)/ ; \
334 mkdir -p $(DIST_DIR)/tclconfig
335 cp $(srcdir)/tclconfig/install-sh $(srcdir)/tclconfig/tcl.m4 \
336 $(DIST_DIR)/tclconfig/
337 chmod 664 $(DIST_DIR)/tclconfig/tcl.m4
338 chmod +x $(DIST_DIR)/tclconfig/install-sh
340 list='demos doc generic library mac tests unix win compat/sqlite3'; \
341 for p in $$list; do \
342 if test -d $(srcdir)/$$p ; then \
343 mkdir -p $(DIST_DIR)/$$p; \
344 cp -p $(srcdir)/$$p/*.* $(DIST_DIR)/$$p/; \
348 (cd $(DIST_ROOT); $(COMPRESS);)
350 #========================================================================
351 # End of user-definable section
352 #========================================================================
354 #========================================================================
355 # Don't modify the file to clean here. Instead, set the "CLEANFILES"
356 # variable in configure.in
357 #========================================================================
360 -test -z "$(BINARIES)" || rm -f $(BINARIES)
361 -rm -f *.$(OBJEXT) core *.core
362 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
366 -rm -f $(CONFIG_CLEAN_FILES)
367 -rm -f config.h config.cache config.log config.status
369 #========================================================================
370 # Install binary object libraries. On Windows this includes both .dll and
371 # .lib files. Because the .lib files are not explicitly listed anywhere,
372 # we need to deduce their existence from the .dll file of the same name.
373 # Library files go into the lib directory.
374 # In addition, this will generate the pkgIndex.tcl
375 # file in the install location (assuming it can find a usable tclsh shell)
377 # You should not have to modify this target.
378 #========================================================================
380 install-lib-binaries: binaries
381 @mkdir -p "$(DESTDIR)$(pkglibdir)"
382 @list='$(lib_BINARIES)'; for p in $$list; do \
383 if test -f $$p; then \
384 echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
385 $(INSTALL_LIBRARY) $$p "$(DESTDIR)$(pkglibdir)/$$p"; \
386 stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
387 if test "x$$stub" = "xstub"; then \
388 echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
389 $(RANLIB_STUB) "$(DESTDIR)$(pkglibdir)/$$p"; \
391 echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
392 $(RANLIB) "$(DESTDIR)$(pkglibdir)/$$p"; \
394 ext=`echo $$p|sed -e "s/.*\.//"`; \
395 if test "x$$ext" = "xdll"; then \
396 lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
397 if test -f $$lib; then \
398 echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; \
399 $(INSTALL_DATA) $$lib "$(DESTDIR)$(pkglibdir)/$$lib"; \
404 @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
405 if test -f $(srcdir)/$$p; then \
406 destp=`basename $$p`; \
407 echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
408 $(INSTALL_DATA) $(srcdir)/$$p "$(DESTDIR)$(pkglibdir)/$$destp"; \
411 @if test "x$(SHARED_BUILD)" = "x1"; then \
412 echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
413 $(INSTALL_DATA) pkgIndex.tcl "$(DESTDIR)$(pkglibdir)"; \
416 #========================================================================
417 # Install binary executables (e.g. .exe files and dependent .dll files)
418 # This is for files that must go in the bin directory (located next to
419 # wish and tclsh), like dependent .dll files on Windows.
421 # You should not have to modify this target, except to define bin_BINARIES
422 # above if necessary.
423 #========================================================================
425 install-bin-binaries: binaries
426 @mkdir -p "$(DESTDIR)$(bindir)"
427 @list='$(bin_BINARIES)'; for p in $$list; do \
428 if test -f $$p; then \
429 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p"; \
430 $(INSTALL_PROGRAM) $$p "$(DESTDIR)$(bindir)/$$p"; \
433 $(INSTALL_PROGRAM) $(srcdir)/compat/sqlite3/spaceanal.tcl "$(DESTDIR)$(bindir)/sqlite3_analyzer"
435 .SUFFIXES: .c .$(OBJEXT)
437 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
439 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
442 list='$(lib_BINARIES)'; for p in $$list; do \
443 rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
445 list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
447 rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
449 list='$(bin_BINARIES)'; for p in $$list; do \
450 rm -f "$(DESTDIR)$(bindir)/$$p"; \
453 .PHONY: all binaries clean depend distclean doc install libraries test
455 # Tell versions [3.59,3.63) of GNU make to not export all variables.
456 # Otherwise a system limit (for SysV at least) may be exceeded.