--- ./Makefile.in Mon Aug 21 23:12:47 2000 +++ ../cdk-4.9.10/./Makefile.in Sun Mar 24 14:28:07 2002 @@ -32,6 +32,7 @@ # CDKLIB = libcdk.a +CDKSHLIB = libcdk.so VERSION = 4.9.10 CFLAGS = -Iinclude @CFLAGS@ @DEFS@ CC = @CC@ @@ -45,7 +46,7 @@ LIB_DIR = $(INSTALL_DIR)/lib MAN_DIR = $(INSTALL_DIR)/man/man3 -default:: cdklib +all:: $(CDKLIB) $(CDKSHLIB) demos examples # # Create the file lists. @@ -76,21 +77,29 @@ # # Standard library directive. # -cdklib $(CDKLIB): $(CDKOBJS) +$(CDKLIB): $(CDKOBJS) $(AR) -cr $(CDKLIB) $(CDKOBJS) $(RANLIB) $(CDKLIB) # +# Shared library directive. +# +$(CDKSHLIB): $(CDKOBJS) + $(CC) -shared -no_unresolved $(LDFLAGS) -o $(CDKSHLIB).4 -soname $(CDKSHLIB) -set_version sgi4.0 $(CDKOBJS) $(LIBS) + rm -f $(CDKSHLIB) + ln -s $(CDKSHLIB).4 $(CDKSHLIB) + +# # Make the examples directory. # -examples:: - @(cd examples; make) +examples:: $(CDKLIB) $(CDKSHLIB) + @(cd examples; $(MAKE)) # # Make the demos directory. # -demos:: - @(cd demos; make) +demos:: $(CDKLIB) $(CDKSHLIB) + @(cd demos; $(MAKE)) # # This installs all of the CDK library release. @@ -148,19 +157,19 @@ # Clean up after ourselves... # clean:: - $(RM) *.o $(CDKLIB) Makefile core + rm -f *.o $(CDKLIB) $(CDKSHLIB)* core realclean:: - @(cd examples; make clean; rm Makefile) - @(cd demos; make clean; rm Makefile) - @make clean - @rm Makefile + @(cd examples; $(MAKE) clean; rm -f Makefile) + @(cd demos; $(MAKE) clean; rm -f Makefile) + @$(MAKE) clean + @rm -f Makefile # # Use this to clean the distribution. # distclean:: - $(RM) config.cache config.log config.status + rm -f config.cache config.log config.status $(MAKE) realclean # --- ./examples/bind_ex.c Fri Jul 9 00:37:49 1999 +++ ../cdk-4.9.10/./examples/bind_ex.c Sun Mar 24 14:18:45 2002 @@ -135,7 +135,7 @@ currentTime = localtime(&clck); sprintf (temp, "%d/%d/%d", currentTime->tm_mday, currentTime->tm_mon, - currentTime->tm_year); + 1900 + currentTime->tm_year); info[0] = " Current Date "; info[1] = copyChar (temp); popupLabel (question->screen, info, 2);