623336526b
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
625 lines
20 KiB
Makefile
625 lines
20 KiB
Makefile
# Makefile.in generated by automake 1.6.3 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
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
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = @program_transform_name@
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
|
|
EXEEXT = @EXEEXT@
|
|
OBJEXT = @OBJEXT@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
AMTAR = @AMTAR@
|
|
AWK = @AWK@
|
|
CC = @CC@
|
|
CVS2CL = @CVS2CL@
|
|
DEFAULT_ASKPASS = @DEFAULT_ASKPASS@
|
|
DEPDIR = @DEPDIR@
|
|
GCRYPT_MAN_STATUS = @GCRYPT_MAN_STATUS@
|
|
GNUTLS_COMMON_O = @GNUTLS_COMMON_O@
|
|
GNUTLS_MAN_STATUS = @GNUTLS_MAN_STATUS@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
|
|
LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
|
|
LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
|
|
LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
|
|
LIBGNUTLS_CONFIG = @LIBGNUTLS_CONFIG@
|
|
LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
SKINDIR = @SKINDIR@
|
|
STRIP = @STRIP@
|
|
VERSION = @VERSION@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
|
X_LIBS = @X_LIBS@
|
|
X_PRE_LIBS = @X_PRE_LIBS@
|
|
am__include = @am__include@
|
|
am__quote = @am__quote@
|
|
install_sh = @install_sh@
|
|
TESTS = test_wmbiff test_tlscomm
|
|
noinst_PROGRAMS = test_wmbiff test_tlscomm
|
|
bin_PROGRAMS = wmbiff
|
|
wmbiff_SOURCES = wmbiff.c socket.c Pop3Client.c mboxClient.c \
|
|
maildirClient.c Imap4Client.c tlsComm.c tlsComm.h ShellClient.c \
|
|
passwordMgr.c passwordMgr.h charutil.c charutil.h Client.h \
|
|
regulo.c regulo.h MessageList.c MessageList.h
|
|
|
|
EXTRA_wmbiff_SOURCES = gnutls-common.c gnutls-common.h
|
|
wmbiff_LDADD = -L../wmgeneral -lwmgeneral @LIBGCRYPT_LIBS@ @GNUTLS_COMMON_O@
|
|
wmbiff_DEPENDENCIES = ../wmgeneral/libwmgeneral.a Makefile @GNUTLS_COMMON_O@
|
|
test_wmbiff_SOURCES = ShellClient.c charutil.c charutil.h Client.h \
|
|
test_wmbiff.c passwordMgr.c Imap4Client.c regulo.c Pop3Client.c \
|
|
tlsComm.c tlsComm.h socket.c
|
|
|
|
test_tlscomm_SOURCES = test_tlscomm.c \
|
|
tlsComm.c tlsComm.h
|
|
|
|
EXTRA_test_wmbiff_SOURCES = gnutls-common.c gnutls-common.h
|
|
test_wmbiff_LDADD = @LIBGCRYPT_LIBS@
|
|
man_MANS = wmbiff.1 wmbiffrc.5
|
|
skindir = $(datadir)/wmbiff/skins
|
|
skin_DATA = wmbiff-master-led.xpm wmbiff-master-contrast.xpm
|
|
|
|
EXTRA_DIST = $(man_MANS) sample.wmbiffrc wmbiff-master-led.xpm
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
subdir = wmbiff
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autoconf/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES = wmbiffrc.5
|
|
bin_PROGRAMS = wmbiff$(EXEEXT)
|
|
noinst_PROGRAMS = test_wmbiff$(EXEEXT) test_tlscomm$(EXEEXT)
|
|
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
|
|
|
am_test_tlscomm_OBJECTS = test_tlscomm.$(OBJEXT) tlsComm.$(OBJEXT)
|
|
test_tlscomm_OBJECTS = $(am_test_tlscomm_OBJECTS)
|
|
test_tlscomm_LDADD = $(LDADD)
|
|
test_tlscomm_DEPENDENCIES =
|
|
test_tlscomm_LDFLAGS =
|
|
am_test_wmbiff_OBJECTS = ShellClient.$(OBJEXT) charutil.$(OBJEXT) \
|
|
test_wmbiff.$(OBJEXT) passwordMgr.$(OBJEXT) \
|
|
Imap4Client.$(OBJEXT) regulo.$(OBJEXT) Pop3Client.$(OBJEXT) \
|
|
tlsComm.$(OBJEXT) socket.$(OBJEXT)
|
|
test_wmbiff_OBJECTS = $(am_test_wmbiff_OBJECTS)
|
|
test_wmbiff_DEPENDENCIES =
|
|
test_wmbiff_LDFLAGS =
|
|
am_wmbiff_OBJECTS = wmbiff.$(OBJEXT) socket.$(OBJEXT) \
|
|
Pop3Client.$(OBJEXT) mboxClient.$(OBJEXT) \
|
|
maildirClient.$(OBJEXT) Imap4Client.$(OBJEXT) tlsComm.$(OBJEXT) \
|
|
ShellClient.$(OBJEXT) passwordMgr.$(OBJEXT) charutil.$(OBJEXT) \
|
|
regulo.$(OBJEXT) MessageList.$(OBJEXT)
|
|
wmbiff_OBJECTS = $(am_wmbiff_OBJECTS)
|
|
wmbiff_LDFLAGS =
|
|
|
|
DEFS = @DEFS@
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
depcomp = $(SHELL) $(top_srcdir)/autoconf/depcomp
|
|
am__depfiles_maybe = depfiles
|
|
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/Imap4Client.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/MessageList.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/Pop3Client.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/ShellClient.Po ./$(DEPDIR)/charutil.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/gnutls-common.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/maildirClient.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/mboxClient.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/passwordMgr.Po ./$(DEPDIR)/regulo.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/socket.Po ./$(DEPDIR)/test_tlscomm.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/test_wmbiff.Po ./$(DEPDIR)/tlsComm.Po \
|
|
@AMDEP_TRUE@ ./$(DEPDIR)/wmbiff.Po
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
CFLAGS = @CFLAGS@
|
|
DIST_SOURCES = $(test_tlscomm_SOURCES) $(test_wmbiff_SOURCES) \
|
|
$(EXTRA_test_wmbiff_SOURCES) $(wmbiff_SOURCES) \
|
|
$(EXTRA_wmbiff_SOURCES)
|
|
|
|
NROFF = nroff
|
|
MANS = $(man_MANS)
|
|
DATA = $(skin_DATA)
|
|
|
|
DIST_COMMON = Makefile.am Makefile.in wmbiffrc.5.in
|
|
SOURCES = $(test_tlscomm_SOURCES) $(test_wmbiff_SOURCES) $(EXTRA_test_wmbiff_SOURCES) $(wmbiff_SOURCES) $(EXTRA_wmbiff_SOURCES)
|
|
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .indent .o .obj
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnu wmbiff/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
wmbiffrc.5: $(top_builddir)/config.status wmbiffrc.5.in
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
if test -f $$p \
|
|
; then \
|
|
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
|
|
$(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
|
done
|
|
|
|
clean-binPROGRAMS:
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
clean-noinstPROGRAMS:
|
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
test_tlscomm$(EXEEXT): $(test_tlscomm_OBJECTS) $(test_tlscomm_DEPENDENCIES)
|
|
@rm -f test_tlscomm$(EXEEXT)
|
|
$(LINK) $(test_tlscomm_LDFLAGS) $(test_tlscomm_OBJECTS) $(test_tlscomm_LDADD) $(LIBS)
|
|
test_wmbiff$(EXEEXT): $(test_wmbiff_OBJECTS) $(test_wmbiff_DEPENDENCIES)
|
|
@rm -f test_wmbiff$(EXEEXT)
|
|
$(LINK) $(test_wmbiff_LDFLAGS) $(test_wmbiff_OBJECTS) $(test_wmbiff_LDADD) $(LIBS)
|
|
wmbiff$(EXEEXT): $(wmbiff_OBJECTS) $(wmbiff_DEPENDENCIES)
|
|
@rm -f wmbiff$(EXEEXT)
|
|
$(LINK) $(wmbiff_LDFLAGS) $(wmbiff_OBJECTS) $(wmbiff_LDADD) $(LIBS)
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.$(OBJEXT) core *.core
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Imap4Client.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MessageList.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Pop3Client.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ShellClient.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/charutil.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gnutls-common.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/maildirClient.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mboxClient.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passwordMgr.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regulo.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socket.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_tlscomm.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_wmbiff.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlsComm.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wmbiff.Po@am__quote@
|
|
|
|
distclean-depend:
|
|
-rm -rf ./$(DEPDIR)
|
|
|
|
.c.o:
|
|
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
|
.c.obj:
|
|
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
CCDEPMODE = @CCDEPMODE@
|
|
uninstall-info-am:
|
|
|
|
man1dir = $(mandir)/man1
|
|
install-man1: $(man1_MANS) $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
1*) ;; \
|
|
*) ext='1' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
uninstall-man1:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
|
|
man5dir = $(mandir)/man5
|
|
install-man5: $(man5_MANS) $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(man5dir)
|
|
@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.5*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
5*) ;; \
|
|
*) ext='5' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
|
|
done
|
|
uninstall-man5:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.5*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man5dir)/$$inst; \
|
|
done
|
|
skinDATA_INSTALL = $(INSTALL_DATA)
|
|
install-skinDATA: $(skin_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(skindir)
|
|
@list='$(skin_DATA)'; for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
echo " $(skinDATA_INSTALL) $$d$$p $(DESTDIR)$(skindir)/$$f"; \
|
|
$(skinDATA_INSTALL) $$d$$p $(DESTDIR)$(skindir)/$$f; \
|
|
done
|
|
|
|
uninstall-skinDATA:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(skin_DATA)'; for p in $$list; do \
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
echo " rm -f $(DESTDIR)$(skindir)/$$f"; \
|
|
rm -f $(DESTDIR)$(skindir)/$$f; \
|
|
done
|
|
|
|
ETAGS = etags
|
|
ETAGSFLAGS =
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
|
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; xfail=0; xpass=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
list='$(TESTS)'; \
|
|
if test -n "$$list"; then \
|
|
for tst in $$list; do \
|
|
if test -f ./$$tst; then dir=./; \
|
|
elif test -f $$tst; then dir=; \
|
|
else dir="$(srcdir)/"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xpass=`expr $$xpass + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "XPASS: $$tst"; \
|
|
;; \
|
|
*) \
|
|
echo "PASS: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xfail=`expr $$xfail + 1`; \
|
|
echo "XFAIL: $$tst"; \
|
|
;; \
|
|
*) \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
if test "$$xfail" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
|
fi; \
|
|
else \
|
|
if test "$$xpass" -eq 0; then \
|
|
banner="$$failed of $$all tests failed"; \
|
|
else \
|
|
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
|
fi; \
|
|
fi; \
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0; \
|
|
else :; fi
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
dir="/$$dir"; \
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
else \
|
|
dir=''; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
check: check-am
|
|
all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) $(DESTDIR)$(skindir)
|
|
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
clean: clean-am
|
|
|
|
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
|
|
mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
distclean-am: clean-am distclean-compile distclean-depend \
|
|
distclean-generic distclean-local distclean-tags
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am:
|
|
|
|
info: info-am
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-man install-skinDATA
|
|
|
|
install-exec-am: install-binPROGRAMS
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man: install-man1 install-man5
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man \
|
|
uninstall-skinDATA
|
|
|
|
uninstall-man: uninstall-man1 uninstall-man5
|
|
|
|
.PHONY: GTAGS all all-am check check-TESTS check-am clean \
|
|
clean-binPROGRAMS clean-generic clean-noinstPROGRAMS distclean \
|
|
distclean-compile distclean-depend distclean-generic \
|
|
distclean-local distclean-tags distdir dvi dvi-am info info-am \
|
|
install install-am install-binPROGRAMS install-data \
|
|
install-data-am install-exec install-exec-am install-info \
|
|
install-info-am install-man install-man1 install-man5 \
|
|
install-skinDATA install-strip installcheck installcheck-am \
|
|
installdirs maintainer-clean maintainer-clean-generic \
|
|
mostlyclean mostlyclean-compile mostlyclean-generic tags \
|
|
uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am \
|
|
uninstall-man uninstall-man1 uninstall-man5 uninstall-skinDATA
|
|
|
|
|
|
# CODING STYLE AND INDENTATION [2001-Mar-12]:
|
|
#
|
|
# There have been some problems with coding style in the past. Many people
|
|
# contributed to wmbiff (thank you!), and the code got really messy. To help
|
|
# resolve this, I used GNU indent with what I believe to be the most
|
|
# widely-accepted coding style options (K&R style) with 4-space TAB indents
|
|
# (because some of the code is highly nested) to clean up the code. Not
|
|
# everyone may be happy with this, but has been determined to be necessary for
|
|
# consistency and legibility.
|
|
#
|
|
# In other words, make sure you run "make clean" and "make indent", and do not
|
|
# change the options on the indent command, before you submit patches against
|
|
# wmbiff. This will make everyone's life easier.
|
|
#
|
|
# -- Dwayne C. Litzenberger <dlitz@dlitz.net>
|
|
indent:
|
|
indent -npro -kr -i4 -ts4 $(wmbiff_SOURCES) test_*.c || true
|
|
|
|
# to perform surgery on a few changed files.
|
|
.c.indent:
|
|
indent -npro -kr -i4 -ts4 $< || true
|
|
|
|
dist-hook-local: indent config-h-check
|
|
|
|
distclean-local:
|
|
-rm -f wmbiff-master-contrast.xpm wmbiff-master.xpm
|
|
|
|
# remove colors, then substitute old colors, then repalletize
|
|
# for some reason $< doesn't always work.
|
|
wmbiff-master-contrast.xpm: wmbiff-master-led.xpm Makefile
|
|
egrep -v '^"[:%][[:space:]]c #' < wmbiff-master-led.xpm | \
|
|
sed -e 's/:/./g' -e 's/%/$$/g' -e 's/ 15 / 13 /' | \
|
|
sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
|
|
> $@ || rm $@
|
|
|
|
# fail if there's a .c file that doesn't include config.h
|
|
config-h-check:
|
|
ls *.c | sort > cfiles
|
|
grep -l config.h *.c | sort | diff - cfiles
|
|
rm cfiles
|
|
|
|
# just a reminder of how to run valgrind to get decent output.
|
|
valgrind:
|
|
valgrind --leak-check=yes ./wmbiff -exit
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|