From: Ezra Peisach Date: Thu, 26 Sep 1996 15:32:57 +0000 (+0000) Subject: Link with -ltcl (depends on /mit/gnu/lib - yuck). X-Git-Tag: krb5-1.0-freeze1~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c97f227b388766820ce191f6ce8556c4d78e77f1;p=krb5.git Link with -ltcl (depends on /mit/gnu/lib - yuck). Reorder Makefile so programs are built. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9116 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/testing/util/ChangeLog b/src/kadmin/testing/util/ChangeLog index 0ef8dae60..5d72e6de5 100644 --- a/src/kadmin/testing/util/ChangeLog +++ b/src/kadmin/testing/util/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 26 11:31:57 1996 Ezra Peisach (epeisach@kangaroo.mit.edu) + + * Makefile.in: Link with -ltcl -lm. Order the Makefile so programs + are built. + Tue Sep 24 13:29:14 1996 Barry Jaspan * create Makefile.in and configure.in diff --git a/src/kadmin/testing/util/Makefile.in b/src/kadmin/testing/util/Makefile.in index f368bd4f5..ad6649fd4 100644 --- a/src/kadmin/testing/util/Makefile.in +++ b/src/kadmin/testing/util/Makefile.in @@ -1,21 +1,24 @@ # XXX Buzz! TCLINC = /mit/gnu/include +#TCLLIB=-ltcl7.5 -lm +TCLLIB=-L/mit/gnu/lib -ltcl -lm CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) -I$(TCLINC) -all:: $(CLNTPROG) $(SRVPROG) - SRCS = tcl_ovsec_kadm.c tcl_kadm5.c test.c OBJS = tcl_ovsec_kadm.o tcl_kadm5.o test.o CLNTPROG= ovsec_kadm_clnt_tcl SRVPROG = ovsec_kadm_srv_tcl + +all:: $(CLNTPROG) $(SRVPROG) + $(SRVPROG): $(OBJS) $(SRVDEPLIBS) - $(CC) $(LDFLAGS) $(LDARGS) -o $(SRVPROG) $(OBJS) $(SRVLIBS) + $(CC) $(LDFLAGS) $(LDARGS) -o $(SRVPROG) $(OBJS) $(SRVLIBS) $(TCLLIB) $(CLNTPROG): $(OBJS) $(CLNTDEPLIBS) - $(CC) $(LDFLAGS) $(LDARGS) -o $(CLNTPROG) $(OBJS) $(CLNTLIBS) + $(CC) $(LDFLAGS) $(LDARGS) -o $(CLNTPROG) $(OBJS) $(CLNTLIBS) (TCLLIB) bsddb_dump: bsddb_dump.o $(CC) $(LDFLAGS) $(LDARGS) -o bsddb_dump bsddb_dump.o $(SRVLIBS)