mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-07 02:02:54 +03:00
Replaced subscribe.{h,c} by stripped-down async handling.
This commit is contained in:
1 parent
d7b17955a6
commit
5a6f40ae24
1 file changed
+8
-6
+8
-6
@@ -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" >$@
|
||||
Reference in new issue
Block a user