Overview
Comment: | Updated to use DESTDIR instead of INSTALL_ROOT (supporting both) and place libctk in the right directory |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7781365c5e7aa8413093a1b6698d9d41 |
User & Date: | rkeene on 2014-12-13 22:51:00 |
Other Links: | manifest | tags |
Context
2014-12-13
| ||
22:51 | Removed temporary file check-in: 197ac70ffe user: rkeene tags: trunk | |
22:51 | Updated to use DESTDIR instead of INSTALL_ROOT (supporting both) and place libctk in the right directory check-in: 7781365c5e user: rkeene tags: trunk | |
2012-07-19
| ||
00:25 | Updated to use newer mingw32 conventions check-in: 19a5c7951a user: rkeene tags: trunk | |
Changes
Modified Makefile.in from [122cee2c73] to [bfd2062b08].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # # This file is a Makefile for CTk. If it has the name "Makefile.in" # then it is a template for a Makefile; to generate the actual Makefile, # run "./configure", which is a configuration script generated by the # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # # @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $ # Current CTk version; used in various names. VERSION = @PACKAGE_VERSION@ #---------------------------------------------------------------- # Things you can change to personalize the Makefile for your own # site (you can make these changes in either Makefile.in or # Makefile, but changes to Makefile will get lost if you re-run # the configuration script). #---------------------------------------------------------------- # Default top-level directories in which to install architecture- # specific files (exec_prefix) and machine-independent files such # as scripts (prefix). The values specified here may be overridden # at configure-time with the --exec-prefix and --prefix options # to the "configure" script. prefix = @prefix@ exec_prefix = @exec_prefix@ | > > > < < < < < < < < < < < < | | | | | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | # # This file is a Makefile for CTk. If it has the name "Makefile.in" # then it is a template for a Makefile; to generate the actual Makefile, # run "./configure", which is a configuration script generated by the # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # # @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $ # Current CTk version; used in various names. VERSION = @PACKAGE_VERSION@ # Compatability with old versions DESTDIR := $(INSTALL_ROOT) #---------------------------------------------------------------- # Things you can change to personalize the Makefile for your own # site (you can make these changes in either Makefile.in or # Makefile, but changes to Makefile will get lost if you re-run # the configuration script). #---------------------------------------------------------------- # Default top-level directories in which to install architecture- # specific files (exec_prefix) and machine-independent files such # as scripts (prefix). The values specified here may be overridden # at configure-time with the --exec-prefix and --prefix options # to the "configure" script. prefix = @prefix@ exec_prefix = @exec_prefix@ # Path name to use when installing library scripts: SCRIPT_INSTALL_DIR = $(DESTDIR)$(CTK_LIBRARY) # Directory in which to install the archive libctk.a: LIB_INSTALL_DIR = $(exec_prefix)/lib # Directory in which to install the program cwish: BIN_INSTALL_DIR = $(DESTDIR)$(exec_prefix)/bin # Directory from which the program cwish should be referenced by scripts: BIN_DIR = $(exec_prefix)/bin # Directory in which to install the include file ctk.h: INCLUDE_INSTALL_DIR = $(DESTDIR)$(prefix)/include # Top-level directory for manual entries: MAN_INSTALL_DIR = $(DESTDIR)$(prefix)/man # Directory in which to install manual entry for cwish: MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1 # Directory from which applications will reference the library of Tcl # scripts (note: you can set the CTK_LIBRARY environment variable at # run-time to override the compiled-in location): CTK_LIBRARY = $(LIB_INSTALL_DIR)/ctk$(VERSION) # Libraries to use when linking: must include at least the # appropriate version of Tcl for this version of CTk, curses, # and the math library (in that order). It is (hopefully) filled # in properly by the configure script. LIBS = @LIBS@ |
︙ | ︙ | |||
182 183 184 185 186 187 188 | libctk.@SHOBJEXT@: $(OBJS) rm -f libctk.@SHOBJEXT@ $(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o libctk.@SHOBJEXT@ $(OBJS) $(LIBS) install: install-binaries install-libraries install-demos install-man install-binaries: @TARGETS@ | | | | | | | | | | 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | libctk.@SHOBJEXT@: $(OBJS) rm -f libctk.@SHOBJEXT@ $(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o libctk.@SHOBJEXT@ $(OBJS) $(LIBS) install: install-binaries install-libraries install-demos install-man install-binaries: @TARGETS@ @for i in $(SCRIPT_INSTALL_DIR); \ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ else true; \ fi; \ done; @for target in @TARGETS@; do \ echo "Installing $${target}"; \ $(INSTALL_PROGRAM) $${target} $(SCRIPT_INSTALL_DIR); \ done @$(INSTALL_DATA) pkgIndex.tcl $(SCRIPT_INSTALL_DIR) install-libraries: @for i in $(DESTDIR)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \ $(SCRIPT_INSTALL_DIR) ; \ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ else true; \ fi; \ done; @echo "Installing ctk.h" @$(INSTALL_DATA) $(SRC_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/ctk.h for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/tclIndex; \ do \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \ done; install-demos: @for i in $(DESTDIR)$(prefix)/lib $(SCRIPT_INSTALL_DIR) \ $(SCRIPT_INSTALL_DIR)/demos; \ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ else true; \ fi; \ done; @cd $(SRC_DIR)/library/demos; for i in *; \ do \ if [ -f $$i ] ; then \ |
︙ | ︙ | |||
245 246 247 248 249 250 251 | done; install-man: @for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR); \ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ | | | 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | done; install-man: @for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR); \ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ else true; \ fi; \ done; @for i in *.1; \ do \ echo "Installing doc/$$i"; \ |
︙ | ︙ |