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