servlib/Makefile
changeset 55 1938118cd06c
parent 5 1849bf57d910
child 56 76420d9f6e62
equal deleted inserted replaced
54:4122c50abb39 55:1938118cd06c
    26     bundling/APIBlockProcessor.cc       \
    26     bundling/APIBlockProcessor.cc       \
    27 	bundling/BlockInfo.cc			    \
    27 	bundling/BlockInfo.cc			    \
    28 	bundling/BlockProcessor.cc		    \
    28 	bundling/BlockProcessor.cc		    \
    29     bundling/BPQBlockProcessor.cc       \
    29     bundling/BPQBlockProcessor.cc       \
    30     bundling/BPQBlock.cc                \
    30     bundling/BPQBlock.cc                \
       
    31     bundling/BPQCache.cc				\
    31     bundling/BPQResponse.cc             \
    32     bundling/BPQResponse.cc             \
    32 	bundling/Bundle.cc			        \
    33 	bundling/Bundle.cc			        \
    33 	bundling/BundleActions.cc		    \
    34 	bundling/BundleActions.cc		    \
    34 	bundling/BundleDaemon.cc		    \
    35 	bundling/BundleDaemon.cc		    \
    35 	bundling/BundleEventHandler.cc		\
    36 	bundling/BundleEventHandler.cc		\
   256 ifeq ($(SERVLIB_MAKEFILE_INCLUDE),)
   257 ifeq ($(SERVLIB_MAKEFILE_INCLUDE),)
   257 
   258 
   258 #
   259 #
   259 # Default target is to build the library
   260 # Default target is to build the library
   260 #
   261 #
   261 LIBFILES := libdtnserv.a
   262 LIBFILES := libdtnserv.a 
   262 all: $(LIBFILES)
   263 all: $(LIBFILES)
   263 
   264 
   264 servlib: libdtnserv.a
   265 servlib: libdtnserv.a 
   265 libdtnserv.a: $(SERVLIB_OBJS)
   266 libdtnserv.a: $(SERVLIB_OBJS)
   266 	rm -f $@
   267 	rm -f $@
   267 	$(AR) ruc $@ $^
   268 	$(AR) ruc $@ $^
   268 	$(RANLIB) $@ || true
   269 	$(RANLIB) $@ || true
   269 
   270