]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
As part of #47655 fixes, don't build whiptcl.so by default.
authorsopwith <sopwith>
Fri, 28 Dec 2001 19:29:00 +0000 (19:29 +0000)
committersopwith <sopwith>
Fri, 28 Dec 2001 19:29:00 +0000 (19:29 +0000)
Makefile.in

index c7d1c6b854db8336c8b88d3f3d9d5aee70e3efc5..8b92f26176a6fb47c02e27fb3e2800fb67a2a0c3 100644 (file)
@@ -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)