Hi, I am attaching the rules file for make. It shows, as you requested, how to setup/use configure. I am not sure if this shall help, as I do not understand why the linking to the non-free lib is being done. However, this is the best I can do with the data on hand ;-(
manoj -- Trying to shoot yourself in the foot in: Prolog: You attempt to shoot yourself in the foot, but the bullet, failing to find its mark, backtracks into the gun which then explodes in your face. BG Manoj Srivastava <[EMAIL PROTECTED]> <http://www.datasync.com/%7Esrivasta/> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E #! /usr/bin/make -f ############################ -*- Mode: Makefile -*- ########################### ## rules --- ## Author : Manoj Srivastava ( [EMAIL PROTECTED] ) ## Created On : Tue Mar 4 10:49:39 1997 ## Created On Node : tiamat.datasync.com ## Last Modified By : Manoj Srivastava ## Last Modified On : Fri Feb 27 16:25:58 1998 ## Last Machine Used: tiamat.datasync.com ## Update Count : 26 ## Status : Unknown, Use with caution! ## HISTORY : ## Description : ## ############################################################################### # The name of the package (for example, `emacs'). package := make d_package := make-doc # Configuration variables (these should be pretty generic) CC = cc CFLAGS = -O2 LDFLAGS = -s PREFIX = /usr BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/man MAN1DIR = $(MANDIR)/man1 DOCDIR = $(PREFIX)/doc/$(package) # Package specific stuff. The idea is to try to make the rules # generic (gradually). FILES_TO_CLEAN = TAGS tags make.aux make.cp make.cps make.fn \ make.fns make.toc debian/files config.cache \ make.dvi make.ps DIRS_TO_CLEAN = debian/tmp debian/tmp-doc debian/html STAMPS_TO_CLEAN = stamp-configure stamp-build stamp-binary stamp-doc \ stamp-html install_file= install -p -o root -g root -m 644 install_program= install -p -o root -g root -m 755 make_directory= install -d -o root -g root -m 755 all build: stamp-build # Builds the binary package. configure: stamp-configure stamp-configure: ./configure --verbose --prefix=$(PREFIX) && touch stamp-configure stamp-build: # Builds the binary package. $(checkdir) -test -f stamp-configure || $(MAKE) -f debian/rules configure $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" touch stamp-build clean: # Undoes the effect of `$(MAKE) -f debian/rules build'. $(checkdir) -test -f Makefile && $(MAKE) distclean -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) -rm -rf $(DIRS_TO_CLEAN) -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS binary: binary-indep binary-arch binary-indep: html stamp-doc stamp-doc: html @test root = "`whoami`" || (echo need root priviledges; exit 1) $(checkdir) test -f stamp-configure|| $(MAKE) -f debian/rules configure rm -rf debian/tmp-doc debian/tmp-doc.deb $(make_directory) debian/tmp-doc/DEBIAN $(make_directory) debian/tmp-doc/usr/doc/$(d_package) $(make_directory) debian/tmp-doc/usr/lib/menu $(MAKE) make.ps $(install_file) make.ps debian/tmp-doc/usr/doc/$(d_package) $(install_file) ChangeLog \ debian/tmp-doc/usr/doc/$(d_package)/changelog $(install_file) NEWS \ debian/tmp-doc/usr/doc/$(d_package)/NEWS $(install_file) debian/changelog \ debian/tmp-doc/usr/doc/$(d_package)/changelog.Debian gzip -9fqr debian/tmp-doc/usr/doc/$(d_package)/ # Make sure the copyright file is not compressed $(install_file) debian/copyright \ debian/tmp-doc/usr/doc/$(d_package)/copyright $(install_file) debian/html/make_*.html \ debian/tmp-doc/usr/doc/$(d_package)/ $(install_file) debian/menuentry \ debian/tmp-doc/usr/lib/menu/$(d_package) $(install_program) debian/doc.postinst \ debian/tmp-doc/DEBIAN/postinst $(install_program) debian/doc.postrm \ debian/tmp-doc/DEBIAN/postrm dpkg-gencontrol -pmake-doc -Pdebian/tmp-doc chown -R root.root debian/tmp-doc dpkg --build debian/tmp-doc .. touch stamp-doc binary-arch: build stamp-binary stamp-binary: # Makes a binary package. @test root = "`whoami`" || (echo need root priviledges; exit 1) $(checkdir) test -f stamp-build || $(MAKE) -f debian/rules build rm -rf debian/tmp debian/tmp.deb $(make_directory) debian/tmp $(make_directory) debian/tmp/DEBIAN $(make_directory) debian/tmp/usr $(make_directory) debian/tmp/usr/bin $(make_directory) debian/tmp/usr/info $(make_directory) debian/tmp/usr/man/man1 $(make_directory) debian/tmp/usr/doc $(make_directory) debian/tmp/usr/doc/$(package) $(MAKE) install prefix=debian/tmp/usr $(install_file) ChangeLog \ debian/tmp/usr/doc/$(package)/changelog $(install_file) README \ debian/tmp/usr/doc/$(package)/README $(install_file) NEWS \ debian/tmp/usr/doc/$(package)/NEWS $(install_file) debian/changelog \ debian/tmp/usr/doc/$(package)/changelog.Debian rm -f debian/tmp/usr/info/$(package).info*.gz gzip -9frq debian/tmp/usr/doc/$(package)/ # Make sure the copyright file is not compressed $(install_file) debian/copyright \ debian/tmp/usr/doc/$(package)/copyright test -f debian/tmp/usr/man/man1/make.1 || \ $(install_file) make.man debian/tmp/usr/man/man1/make.1 gzip -9fq debian/tmp/usr/man/man1/make.1 gzip -9fq debian/tmp/usr/info/$(package).info* $(install_program) debian/postinst debian/tmp/DEBIAN/postinst $(install_program) debian/prerm debian/tmp/DEBIAN/prerm dpkg-shlibdeps debian/tmp/usr/bin/make dpkg-gencontrol -pmake -Pdebian/tmp chown -R root.root debian/tmp dpkg --build debian/tmp .. touch stamp-binary html: stamp-html stamp-html: $(checkdir) $(make_directory) debian/html (cd debian/html; \ texi2html -doctype html2 -expandinfo -glossary -menu \ -split_chapter -verbose ../../make.texinfo) touch stamp-html checkroot: @test root = "`whoami`" || (echo need root priviledges; exit 1) define checkdir test -f make.h -a -f debian/rules endef source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false .PHONY: binary binary-arch binary-indep clean -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]