# Photo Image Print System # Copyright (C) 2000-2004 EPSON KOWA Corporation. # Copyright (C) SEIKO EPSON CORPORATION 2000-2004. # Process this file with automake to produce Makefile.in EKPSTM_PKGNAME = ekpstm-1.0.2 MODEL = pm780c EXTRA_DIST = $(EKPSTM_PKGNAME).tar.gz all-local: if test ! -d $(srcdir)/$(EKPSTM_PKGNAME); then \ cd $(srcdir) ;\ tar xfz $(EKPSTM_PKGNAME).tar.gz ;\ fi cd $(srcdir)/$(EKPSTM_PKGNAME) ;\ if test ! -s Makefile; then \ if test "$(MODEL)" = "sc880" -o "$(MODEL)" = "sc980" \ -o "$(MODEL)" = "pm820cug" -o "$(MODEL)" = "pm3300cug"; then \ ./configure --prefix=$(prefix) --disable-reset ;\ else \ ./configure --prefix=$(prefix) ;\ fi ;\ fi ;\ make clean-local: if test -d $(srcdir)/$(EKPSTM_PKGNAME); then \ cd $(srcdir)/$(EKPSTM_PKGNAME) ;\ make clean ;\ fi install-exec-local: if test -d $(srcdir)/$(EKPSTM_PKGNAME); then \ cd $(srcdir)/$(EKPSTM_PKGNAME) ;\ make install ;\ fi #dist-hook: $(EKPSTM_PKGNAME).tar.gz: if test -d $(srcdir)/$(EKPSTM_PKGNAME); then \ rm $(srcdir)/$(EKPSTM_PKGNAME) ;\ cd $(srcdir)/$(EKPSTM_PKGNAME) ;\ make dist ;\ mv $(srcdir)/$(EKPSTM_PKGNAME).tar.gz ../. ;\ fi