From 5a6f40ae243f3068cc2a981c4e483ffcfd88ea70 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 13 Jun 2011 02:23:41 +0200 Subject: [PATCH] Replaced subscribe.{h,c} by stripped-down async handling. --- Makefile.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index e1984d70..a8e57829 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,18 +12,18 @@ VERSION:=@PACKAGE_VERSION@ @SET_MAKE@ SHELL = /bin/sh MKDIR = mkdir -ETAGS = etags +ETAGS = @ETAGS@ abs_builddir = @abs_builddir@ top_builddir = @top_builddir@ package = @PACKAGE_TARNAME@-@PACKAGE_VERSION@ # files and flags -SOURCES:= pdu.c net.c debug.c encode.c uri.c list.c subscribe.c resource.c hashkey.c \ - str.c option.c +SOURCES:= pdu.c net.c debug.c encode.c uri.c list.c resource.c hashkey.c \ + str.c option.c async.c OBJECTS:= $(patsubst %.c, %.o, $(SOURCES)) -HEADERS:=coap.h config.h debug.h pdu.h net.h encode.h uri.h list.h mem.h subscribe.h \ - str.h option.h bits.h uthash.h resource.h hashkey.h +HEADERS:=coap.h config.h debug.h pdu.h net.h encode.h uri.h list.h mem.h \ + str.h option.h bits.h uthash.h resource.h hashkey.h async.h CFLAGS:=-Wall -std=c99 -pedantic @CFLAGS@ CPPFLAGS:=@CPPFLAGS@ DISTDIR=$(top_builddir)/$(package) @@ -79,7 +79,9 @@ dist: $(FILES) $(SUBDIRS) tar czf $(package).tar.gz $(DISTDIR) TAGS: - $(ETAGS) -o $@.new $(SOURCES) && mv $@.new $@ + $(ETAGS) -o $@.new $(HEADERS) + $(ETAGS) -a -o $@.new $(SOURCES) + mv $@.new $@ .gitignore: echo "core\n*~\n*.[oa]\n*.gz\n*.cap\n$(PROGRAM)\n$(DISTDIR)\n.gitignore" >$@