Added target "dist". Fixed .PHONY.

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-01-08 19:06:54 +00:00
rodzic b124d9710f
commit c1b967a5d6
9 zmienionych plików z 247 dodań i 9 usunięć

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -70,6 +74,54 @@ LIBLIB_FUNCS = alloca getenv getopt getopt1 isfdtype sigprocmask snprintf \
strdup strndup strsep usleep vsyslog inet_ntop
LIBOBJS = $(addprefix ../lib/,$(addsuffix .lo,$(LIBLIB_FUNCS)))
DISTFILES = Makefile.in abaton.c abaton.conf abaton.desc abaton.h \
agfafocus.c agfafocus.conf agfafocus.desc agfafocus.h apple.c \
apple.conf apple.desc apple.h artec.c artec.conf artec.desc artec.h \
as6e.c as6e.desc as6e.h avision.c avision.conf avision.desc \
avision.h bh.c bh.conf bh.desc bh.h canon-sane.c canon-scsi.c \
canon.c canon.conf canon.desc canon.h canon_pp.desc cderror.h \
cdjpeg.h coolscan-scsidef.h coolscan.c coolscan.conf coolscan.desc \
coolscan.h dc210.c dc210.conf dc210.desc dc210.h dc240.c dc240.conf \
dc240.desc dc240.h dc25.c dc25.conf dc25.desc dc25.h djpeg.README \
djpeg.c dll.aliases dll.c dll.conf dll.desc dmc.c dmc.conf dmc.desc \
dmc.h epson.c epson.conf epson.desc epson.h gphoto2.c gphoto2.conf \
gphoto2.desc gphoto2.h hp-accessor.c hp-accessor.h hp-device.c \
hp-device.h hp-handle.c hp-handle.h hp-hpmem.c hp-option.c \
hp-option.h hp-scl.c hp-scl.h hp-scsi.h hp.README hp.TODO hp.c \
hp.conf hp.desc hp.h hp4200.desc ibm.desc jinclude.h lhii.desc \
m3091.desc m3096g-scsi.h m3096g.c m3096g.conf m3096g.desc m3096g.h \
microtek.c microtek.conf microtek.desc microtek.h microtek2.c \
microtek2.conf microtek2.desc microtek2.h mustek.c mustek.conf \
mustek.desc mustek.h mustek_pp.c mustek_pp.conf mustek_pp.desc \
mustek_pp.h mustek_usb.c mustek_usb.conf mustek_usb.desc \
mustek_usb.h mustek_usb_high.c mustek_usb_high.h mustek_usb_low.c \
mustek_usb_low.h mustek_usb_mid.c mustek_usb_mid.h nec.c nec.conf \
nec.desc nec.h net.c net.conf net.desc net.h pie-scsidef.h pie.c \
pie.conf pie.desc pint.c pint.desc pint.h plustek-devs.c \
plustek-pp.c plustek-share.h plustek-usb.c plustek-usb.h \
plustek-usbhw.c plustek-usbimg.c plustek-usbio.c plustek-usbmap.c \
plustek-usbscan.c plustek-usbshading.c plustek.c plustek.conf \
plustek.desc plustek.h pnm.c pnm.c-bad pnm.desc qcam.c qcam.conf \
qcam.desc qcam.h ricoh-scsi.c ricoh.c ricoh.conf ricoh.desc ricoh.h \
s9036.c s9036.conf s9036.desc s9036.h sane_strstatus.c saned.conf \
sharp.c sharp.conf sharp.desc sharp.h sm3600-color.c sm3600-gray.c \
sm3600-homerun.c sm3600-scanmtek.c sm3600-scantool.h \
sm3600-scanusb.c sm3600-scanutil.c sm3600.c sm3600.desc sm3600.h \
snapscan-scsi.c snapscan-sources.c snapscan-sources.h snapscan-usb.c \
snapscan-usb.h snapscan-utils.c snapscan.c snapscan.conf \
snapscan.desc snapscan.h sp15c-scsi.h sp15c.c sp15c.conf sp15c.desc \
sp15c.h st400.c st400.conf st400.desc st400.h stubs.c tamarack.c \
tamarack.conf tamarack.desc tamarack.h template.desc. 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.c umax.conf umax.desc umax.h umax1220u-common.c umax1220u.c \
umax1220u.conf umax1220u.desc umax_pp.c umax_pp.conf umax_pp.desc \
umax_pp.h umax_pp_low.c umax_pp_low.h umax_pp_mid.c umax_pp_mid.h \
v4l-frequencies.h v4l-grab.h v4l.c v4l.conf v4l.desc v4l.h v4l2.desc
.PHONY: all clean depend dist distclean install uninstall
libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS)
@$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) \
$(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
@ -308,4 +360,8 @@ clean:
distclean: clean
rm -f Makefile libsane.so
.PHONY: all install depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/backend 2> /dev/null \
|| cp -p $$file $(distdir)/backend ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -58,6 +62,26 @@ MAN2HTML= nroff -man |\
EMACS = xemacs
WWW_PATH= /home/httpd/html/sane/
SUBDIRS = $(BACKDIRS) icons figs
DISTFILES = Makefile.in backend-writing.txt html.sty net.tex \
releases.txt sane-abaton.man sane-agfafocus.man sane-apple.man \
sane-artec.man sane-as6e.man sane-avision.man sane-bh.man \
sane-canon.man sane-coolscan.man sane-dc210.man sane-dc240.man \
sane-dc25.man sane-dll.man sane-dmc.man sane-epson.man \
sane-find-scanner.man sane-fujitsu.man sane-gphoto2.man sane-hp.man \
sane-logo.png sane-logo2.jpg sane-microtek.man sane-microtek2.man \
sane-mustek.man sane-mustek_pp.man sane-mustek_usb.man sane-nec.man \
sane-net.man sane-pie.man sane-pint.man sane-plustek.man \
sane-pnm.man sane-qcam.man sane-ricoh.man sane-s9036.man \
sane-scsi.man sane-sharp.man sane-sm3600.man sane-snapscan.man \
sane-st400.man sane-tamarack.man sane-umax.man sane-umax1220u.man \
sane-umax_pp.man sane-usb.man sane-v4l.man sane.man sane.png \
sane.tex saned.man scanimage.man \
.PHONY: all clean depend dist distclean html html-man install \
install-mostang sane-backends.html sane-html uninstall
all: sane.ps $(MANPAGES)
%.1 %.5 %.7: %.man
@ -185,4 +209,16 @@ distclean: clean
depend:
.PHONY: all install depend clean html html-man sane-html install-mostang uninstall
dist: $(DISTFILES)
for subdir in $(SUBDIRS) ; do \
$(MKDIR) $(distdir)/doc/$${subdir} ; \
for file in $${subdir}/* ; do \
ln $$file $(distdir)/doc/$${subdir} 2> /dev/null \
|| cp -p $$file $(distdir)/doc/$${subdir} ; \
done ; \
done
for file in $(DISTFILES); do \
ln $$file $(distdir)/doc 2> /dev/null \
|| cp -p $$file $(distdir)/doc ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -55,6 +59,10 @@ LIBSANEI = ../sanei/libsanei.a
SCAN_OBJS = scanimage.o stiff.o
DISTFILES = Makefile.in saned.c scanimage.c stiff.c stiff.h test.c
.PHONY: all clean depend dist distclean install uninstall
.c.o:
$(COMPILE) $<
@ -99,4 +107,9 @@ distclean: clean
depend:
makedepend $(INCLUDES) *.c
.PHONY: all install depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/frontend 2> /dev/null \
|| cp -p $$file $(distdir)/frontend ; \
done

Wyświetl plik

@ -9,6 +9,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -63,6 +67,13 @@ CLASSES = SaneDevice.class SaneOption.class SaneRange.class Sane.class \
SaneParameters.class ScanIt.class ImageCanvas.class \
ImageCanvasClient.class
DISTFILES = ImageCanvas.java ImageCanvasClient.java Jscanimage.java \
Makefile.in README.JAVA Sane.c Sane.java SaneDevice.java \
SaneOption.java SaneParameters.java SaneRange.java ScanIt.java \
Test.java
.PHONY: all clean dist distclean install uninstall
.SUFFIXES: .c .o .h .la .lo .java .class
.java.class:
@ -84,11 +95,15 @@ libsanej.la: Sane.lo
-rpath $(libdir) -version-info \
$(V_MAJOR):$(V_MINOR):0 $(LIBSANE)
Sane.lo: Sane.h
clean:
rm -f *.class *.lo *.o *~ *.la *.bak
rm -f Sane.h
rm -rf .libs
distclean: clean
# Install library. Don't know where to install .class files yet.
install:
@ -98,4 +113,12 @@ install:
@$(LIBTOOL) $(MINST) --finish $(libdir)
Sane.c: Sane.h
# fixme
uninstall:
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/japi 2> /dev/null \
|| cp -p $$file $(distdir)/japi ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -52,6 +56,12 @@ LIBLIB_LTOBJS = alloca.lo getopt.lo getopt1.lo sigprocmask.lo strndup.lo \
TARGETS = $(LIBLIB_OBJS)
TARGETS = liblib.a
DISTFILES = Makefile.in alloca.c getenv.c getopt.c getopt1.c \
inet_ntop.c isfdtype.c md5.c sigprocmask.c snprintf.c strdup.c \
strndup.c strsep.c usleep.c vsyslog.c
.PHONY: all check clean depend dist distclean install uninstall
.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
@ -80,4 +90,9 @@ clean:
distclean: clean
rm -f Makefile
.PHONY: all install check depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/lib 2> /dev/null \
|| cp -p $$file $(distdir)/lib ; \
done

Wyświetl plik

@ -20,6 +20,10 @@ gnulocaledir = $(prefix)/share/locale
top_srcdir = @top_srcdir@
srcdir = @srcdir@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
MKDIR = $(top_srcdir)/mkinstalldirs
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@ -30,6 +34,13 @@ TMP_FILE_DIR = .tmp
ALL_POTS =$(foreach be,$(ALL_BACKENDS),$(addprefix $(be),.pot))
INSTALL_TRANSLATIONS = @INSTALL_TRANSLATIONS@
DISTFILES = Makefile.in README epson.de.po mustek.de.po \
mustek_usb.de.po umax.de.po
.PHONY: all clean depend dist distclean install install-translations \
uninstall update-mo update-po update-pot
.SUFFIXES: .po .mo
.po.mo:
@ -77,6 +88,7 @@ install-translations: update-mo
install: $(INSTALL_TRANSLATIONS)
# fixme
uninstall:
clean:
@ -91,6 +103,10 @@ distclean: clean
depend:
.PHONY: all clean distclean depend install uninstall install-translations \
update-pot update-po update-mo
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/po 2> /dev/null \
|| cp -p $$file $(distdir)/po ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -57,6 +61,16 @@ LIBSANEI_LTOBJS = sanei_ab306.lo sanei_constrain_value.lo sanei_init_debug.lo \
TARGETS = libsanei.a
TESTPROGRAMS = test_wire
DISTFILES = Makefile.in linux_sg3_err.h os2_srb.h sanei_DomainOS.c \
sanei_DomainOS.h sanei_ab306.c sanei_auth.c sanei_codec_ascii.c \
sanei_codec_bin.c sanei_config.c sanei_config2.c \
sanei_constrain_value.c sanei_init_debug.c sanei_load_values.c \
sanei_net.c sanei_pa4s2.c sanei_pio.c sanei_pv8630.c \
sanei_save_values.c sanei_scsi.c sanei_thread.c sanei_usb.c \
sanei_wire.c test_wire.c
.PHONY: all check clean depend dist distclean install uninstall
.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
@ -92,4 +106,9 @@ clean:
distclean: clean
rm -f Makefile
.PHONY: all install check depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/sanei 2> /dev/null \
|| cp -p $$file $(distdir)/sanei ; \
done

Wyświetl plik

@ -1,8 +1,47 @@
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
configdir = ${sysconfdir}/sane.d
V_MAJOR = @V_MAJOR@
V_MINOR = @V_MINOR@
DLL_PRELOAD = @DLL_PRELOAD@
MKDIR = $(top_srcdir)/mkinstalldirs
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
RANLIB = @RANLIB@
SCANIMAGE = ../frontend/scanimage
TESTFILE = testfile.pnm
DEVICE = pnm:0
OPTIONS = --filename=$(TESTFILE)
DISTFILES = Makefile.in README testfile.pnm
.PHONY: all dist test test.local
all: Makefile
@echo "Use 'make test' to run the tests."
@ -25,3 +64,10 @@ test.local:
Makefile: Makefile.in ../config.status
cd .. \
&& CONFIG_FILES=testsuite/Makefile CONFIG_HEADERS= /bin/sh ./config.status
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/testsuite 2> /dev/null \
|| cp -p $$file $(distdir)/testsuite ; \
done

Wyświetl plik

@ -6,6 +6,10 @@ top_srcdir = @top_srcdir@
top_builddir = ..
subdir = tools
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -57,6 +61,11 @@ LIBSANEI = ../sanei/libsanei.a
# Library routines that should be part of libc, but aren't on some systems:
LIBLIB = ../lib/liblib.a
DISTFILES = Makefile.in README libtool-get-dll-ext mustek600iin-off.c \
sane-config.in sane-desc.el sane-find-scanner.c umax_pp.c xerox
.PHONY: all clean depend dist distclean install uninstall
.c.o:
$(COMPILE) $<
@ -100,4 +109,9 @@ clean:
distclean: clean
rm -f Makefile $(DESTINATIONS) mustek600iin-off
.PHONY: all install depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/tools 2> /dev/null \
|| cp -p $$file $(distdir)/tools ; \
done