Hi Ralf, Thanks. Actually i thought as its adding/modifying GNU package task so i ask here. regards, Parag.
On 11/28/05, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > * Parag N wrote on Mon, Nov 28, 2005 at 02:25:23PM CET: > > On 11/28/05, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > > > > > What source rpm? Which package? From where? Name, URL needed. > > > link to source rpm is > > > > http://download.fedora.redhat.com/pub/fedora/linux/core/4/SRPMS/sane-backends-1.0.15-9.src.rpm > > > > then i extract it. I found directory backend which contains many > backend > > > > scanner support files. i also want to add my own backend files so > i add > > > > 2 files in backend directory and modify Makefile. > > > /usr/src/redhat/SOURCES/sane-backends-1.0.15/backend/Makefile.in > > I first change this so that ./configure when generate Makefile it > will > > have my source files also listed. > > > diff -u Makefile.in.orig Makefile.in > > --- Makefile.in.orig 2005-11-28 18:43:07.000000000 +0530 > > +++ Makefile.in 2005-11-28 18:44:38.000000000 +0530 > > @@ -150,7 +150,7 @@ > > umax_pp_low.c umax_pp_low.h umax_pp_mid.c umax_pp_mid.h > umax-scanner.c \ > > umax-scanner.h umax-scsidef.h umax-uc1200s.c umax-uc1200se.c > > umax-uc1260.c \ > > umax-uc630.c umax-uc840.c umax-ug630.c umax-ug80.c umax-usb.c v4l.c \ > > - v4l.conf v4l-frequencies.h v4l.h > > + umax-4100.c umax4100.conf v4l.conf v4l-frequencies.h v4l.h > > > > > > .PHONY: all clean depend dist distclean install uninstall > > @@ -436,6 +436,10 @@ > > libsane-umax1220u.la: ../sanei/sanei_constrain_value.lo > > libsane-umax1220u.la: ../sanei/sanei_usb.lo > > libsane-umax1220u.la: ../sanei/sanei_pv8630.lo > > +libsane-umax4100.la: ../sanei/sanei_config2.lo > > +libsane-umax4100.la: ../sanei/sanei_constrain_value.lo > > +libsane-umax4100.la: ../sanei/sanei_scsi.lo > > +libsane-umax4100.la: ../sanei/sanei_usb.lo > > > > ifneq ($(DLL_PRELOAD),) > > # need to make dll dependent on all sanei files: > > > Most likely all you are missing is adding umax4100 to the list of > backends in configure.in (BACKENDS="..."). Then rerun autoconf. > > This really is not a question for the automake list. In fact, it has > nothing whatsoever to do with neither autotools, but is rather > appropriate on one of the SANE mailing lists. Be sure to read > http://www.sane-project.org/contrib.html > http://www.sane-project.org/backend-writing.txt > and if you ask questions on their lists, it might be helpful to add a > pointer to the archive of this discussion. > > Hope that helps, > Ralf >