+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 <bjaspan@mit.edu>
* create Makefile.in and configure.in
# 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)