X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2FMakefile.am;h=92a0e88a76ebccb891428a7aefdcf3c60217b118;hb=d20265fbf33e22b30b5c2879cff7ae5c22d3fc29;hp=a163fd058f7304d27c7d91984d844d481722a5a1;hpb=c41d259a13d31aa9a1698ef5f22e06d2694ba85e;p=sympathy.git diff --git a/src/Makefile.am b/src/Makefile.am index a163fd0..92a0e88 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,6 +8,33 @@ # $Id$ # # $Log$ +# Revision 1.12 2008/02/14 02:46:44 james +# *** empty log message *** +# +# Revision 1.11 2008/02/14 01:55:57 james +# *** empty log message *** +# +# Revision 1.10 2008/02/13 18:05:06 james +# *** empty log message *** +# +# Revision 1.9 2008/02/13 16:57:29 james +# *** empty log message *** +# +# Revision 1.8 2008/02/13 09:12:20 james +# *** empty log message *** +# +# Revision 1.7 2008/02/12 22:36:46 james +# *** empty log message *** +# +# Revision 1.6 2008/02/09 15:47:28 james +# *** empty log message *** +# +# Revision 1.5 2008/02/08 15:06:42 james +# *** empty log message *** +# +# Revision 1.4 2008/02/07 01:04:16 james +# *** empty log message *** +# # Revision 1.3 2008/02/07 00:39:13 james # *** empty log message *** # @@ -21,14 +48,20 @@ # # -INCLUDES = +INCLUDES= + +PROJECTHDRS= crt.h tty.h ansi.h vt102.h keys.h history.h ring.h slide.h log.h ipc.h symsocket.h keydis.h context.h prototypes.h + +HDRS=project.h + +SRCS=ansi.c crt.c html.c libsympathy.c render.c version.c vt102.c tty.c keydis.c \ + history.c ring.c ptty.c terminal.c util.c log.c ipc.c slide.c symsocket.c -SRCS= ansi.c crt.c html.c libsympathy.c render.c testtty.c version.c vt102.c tty.c CPROTO=cproto SYMPATHYSRCS=${SRCS} -noinst_HEADERS= project.h prototypes.h +noinst_HEADERS= prototypes.h ${HDRS} libsympathy_a_SOURCES = ${SYMPATHYSRCS} @@ -36,14 +69,14 @@ libsympathy_la_SOURCES = ${SYMPATHYSRCS} libsympathy_a_CFLAGS = ${AM_CFLAGS} -BUILT_SOURCES = version.h +BUILT_SOURCES = version.h sympathy.h lib_LIBRARIES=libsympathy.a lib_LTLIBRARIES=libsympathy.la include_HEADERS=sympathy.h -AM_CFLAGS=-g +AM_CFLAGS=-g -Werror libsympathy_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ @@ -59,9 +92,15 @@ VDEF=${shell echo `cat ${VFD}/version-major`.`cat ${VFD}/version-minor`.`cat ${V protos: echo > prototypes.h - ${CPROTO} -v ${INCLUDES} ${SRCS} > prototypes.tmp + ${CPROTO} -e -v ${INCLUDES} ${SRCS} > prototypes.tmp mv -f prototypes.tmp prototypes.h +tidy: ${SRCS} ${HDRS} + indent -i2 -ts0 ${SRCS} ${HDRS} + +sympathy.h: ${PROJECTHDRS} sympathy.h.head sympathy.h.tail + cat sympathy.h.head ${PROJECTHDRS} sympathy.h.tail > $@ || /bin/rm -f $@ + version.h: $(VFD)/version-files $(VFD)/version-major \ $(VFD)/version-minor $(VFD)/version-micro \ $(VFD)/version-md5sums ${VFS} Makefile