AUTOMAKE_OPTIONS = foreign # Note: .. is included because libinet6/debug.h is included; otherwise this # won't build because there is also the linux/net/ipv6/hip/debug.h include. CFLAGS = $(hipl_common_cflags) # Note: libinet6 cannot be included here because it has a bad dependency # with netlink headers. include_HEADERS = beet.h hadb.h oppdb.h hipd.h netdev.h rvs.h user.h include_HEADERS += bos.h input.h output.h icookie.h xfrm.h include_HEADERS += close.h hi3.h keymat.h timer.h include_HEADERS += cookie.h hidb.h nat.h update.h include_HEADERS += escrow.h reg.h init.h maintenance.h accessor.h INCLUDES = $(hipl_common_include_paths) sbin_PROGRAMS = hipd hipd_SOURCES = rvs.c update.c beet.c hipd.c keymat.c hipd_SOURCES += user.c hadb.c oppdb.c close.c hipd_SOURCES += input.c output.c hidb.c cookie.c netdev.c bos.c nat.c icookie.c hipd_SOURCES += escrow.c reg.c init.c maintenance.c accessor.c # For some weird reason, you cannot use $(HIPL_LIBINET6_LIB_STATIC) below hipd_LDADD = ../libinet6/.libs/libinet6.a ../libhiptool/.libs/libhiptool.a hipd_LDFLAGS = -lcrypto $(HIP_XMLL) if HIP_HI3 hipd_SOURCES += hi3.c INCLUDES += -I../i3/i3_client -I../i3/utils -I../i3/i3 hipd_LDADD += ../i3/i3_client/libi3client.a ../i3/aeshash/libaes.a endif if HIP_OPENDHT hipd_LDADD += ../opendht/.libs/libhipopendht.a endif # KeyNotev2 #INCLUDES += -Ikeynote #hipd_LDADD += keynote/.libs/libkeynote.a #SUBDIRS += keynote ../opendht/.libs/libdhttracker.a: $(MAKE) -C $(HIPL)/opendht ../opendht/.libs/libdhtresolver.a: $(MAKE) -C $(HIPL)/opendht # The sources depend on builder, but it is located elsewhere. Linking is # the best way to access it because the object must be built on this # directory and we don't want to make reduntant copies. # cookie.c: cookie.h hidb.c: hidb.h hadb.c: hadb.h oppdb.c:oppdb.h keymat.c: keymat.h user.c: user.h bos.c: bos.h input.c: input.h output.c: output.h nat.c : nat.h xfrm.c: xfrm.h beet.c: beet.h netdev.c: netdev.h update.c: update.h rvs.c: rvs.h icookie.c: icookie.h escrow.c: escrow.h reg.c: reg.h