/[webpac]/openisis/0.9.9e/tcl/maletecl.mk
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /openisis/0.9.9e/tcl/maletecl.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 604 - (hide annotations)
Mon Dec 27 21:49:01 2004 UTC (19 years, 4 months ago) by dpavlin
File size: 1300 byte(s)
import of new openisis release, 0.9.9e

1 dpavlin 604 # $Id: maletecl.mk,v 1.2 2004/09/28 17:17:53 kripke Exp $
2    
3     # tclconfig.mk is basically a compilation of the t*Config.sh scripts
4     # it's created using
5     # ./configure <your-Tcl-installation>
6     # see mktcltk for hints on building the tcl/tk
7     # ./configure /opt/TclTk/8.4.7
8     #
9     # actually used are:
10     # TCL_SHARED_BUILD 0 or 1
11     # TCL_LD_FLAGS e.g. -rdynamic to enable explit loading of extensions
12     # TCL_DL_LIBS e.g. -ldl for the same reason
13     # TCL_LIB_SPEC e.g. -L/opt/TclTk/8.3.5.t.so/lib -ltcl8.3
14     # TCL_LD_SEARCH_FLAGS e.g. -Wl,-rpath,${LIB_RUNTIME_DIR}
15     # TCL_LIBS e.g. -lpthread -lieee -lm
16     # TCL_DEFS lots of -Defines like -D_REENTRANT=1 or -DSTATIC_BUILD=1
17     # TK_LIB_SPEC -L/opt/TclTk/8.3.5.t.so/lib -ltk8.3
18     # TK_LIBS -L/usr/X11R6/lib -lX11 -ldl -lpthread -lieee -lm
19    
20     ifndef WIN32
21     include ../tcl/tclconfig.mk
22     UNIX=unix
23     else
24     # ./configure -mingw /opt/TclTk/8.3.5.w
25     include ../tcl/tclconfig.w.mk
26     UNIX=
27     endif
28     # maletecl features
29     ifeq (,$(wildcard crypto.c))
30     MALETCLDEFS=-DBUILD_NOCRYPTO
31     else
32     CRYPTO=crypto
33     endif
34    
35     MALETECL=maletecl uticl $(UNIX) $(CRYPTO)
36     maletecl: $(MALETECL:%=$(O)/%.o)
37     .PHONY: maletecl
38    
39     $(O)/%.o: ../tcl/%.c ../tcl/maletecl.h ../pw/pw.h ../core/core.h
40     @- [ -d $(O) ] || mkdir $(O)
41     $(CC) -c $(CPPFLAGS) $(TCL_INCLUDE_SPEC) $(MALETCLDEFS) $(CFLAGS) \
42     $(TCL_DEFS) $(TKHDEF) $(TIXDEF) \
43     -o $@ $<

  ViewVC Help
Powered by ViewVC 1.1.26