From: sopwith Date: Fri, 28 Dec 2001 19:29:00 +0000 (+0000) Subject: As part of #47655 fixes, don't build whiptcl.so by default. X-Git-Tag: r0-50-35~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6521a0b0de9c99009f7ad7def6c92f008a9f56fe;p=thirdparty%2Fnewt.git As part of #47655 fixes, don't build whiptcl.so by default. --- diff --git a/Makefile.in b/Makefile.in index c7d1c6b..8b92f26 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,7 +12,10 @@ VERSION = @VERSION@ CVSTAG = r$(subst .,-,$(VERSION)) SONAME = @SONAME@ -PROGS = test whiptail whiptcl.so testgrid testtree +WHIPTCLSO= +#WHIPTCLSO=whiptcl.so + +PROGS = test whiptail $(WHIPTCLSO) testgrid testtree TESTOBJS = test.o NDIALOGOBJS = whiptail.o dialogboxes.o WHIPTCLOBJS = whiptcl.o dialogboxes.o @@ -107,11 +110,11 @@ install: $(LIBNEWT) install-sh whiptail install -m 644 $(LIBNEWT) $(instroot)/$(libdir) install -s -m 755 whiptail $(instroot)/$(bindir) -install-sh: sharedlib whiptcl.so _snackmodule.so +install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) install -s -m 755 $(LIBNEWTSH) $(instroot)/$(libdir) ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so - install -s -m 755 whiptcl.so $(instroot)/$(libdir) + [ -n "$(WHIPTCLSO)" ] && install -s -m 755 whiptcl.so $(instroot)/$(libdir) [ -d $(instroot)/$(pythonbindir) ] || install -m 755 -d $(instroot)/$(pythonbindir) install -s -m 755 _snackmodule.so $(instroot)/$(pythonbindir) install -m 755 snack.py $(instroot)/$(pythondir)