--- newt-0.52.2/Makefile.in.notcl 2005-11-22 09:39:14.000000000 +0100 +++ newt-0.52.2/Makefile.in 2006-01-17 02:50:07.000000000 +0100 @@ -14,7 +14,7 @@ WHIPTCLSO=whiptcl.so -PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey +PROGS = test whiptail testgrid testtree showchars showkey TESTOBJS = test.o NDIALOGOBJS = whiptail.o dialogboxes.o WHIPTCLOBJS = whiptcl.o dialogboxes.o @@ -78,15 +78,15 @@ whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt $(LIBS) -lpopt -whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) - $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm +#whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) +# $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm # Ensure dialogboxes is compiled -fPIC dialogboxes.o: dialogboxes.c $(CC) $(CFLAGS) $(SHCFLAGS) -c dialogboxes.c -whiptcl.o: whiptcl.c - $(CC) -I/usr/include/tcl8.4 $(SHCFLAGS) $(CFLAGS) -c whiptcl.c +#whiptcl.o: whiptcl.c +# $(CC) -I/usr/include/tcl8.4 $(SHCFLAGS) $(CFLAGS) -c whiptcl.c $(LIBNEWT): $(LIBOBJS) @@ -129,11 +129,11 @@ install -m 644 $(LIBNEWT) $(instroot)/$(libdir) install -m 755 whiptail $(instroot)/$(bindir) -install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so +install-sh: sharedlib _snackmodule.so [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir) ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so - [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || : +# [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || : for ver in $(PYTHONVERS) ; do \ [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\ install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\