2013-08-29 15:21:13 +01:00
|
|
|
# CORE
|
|
|
|
#
|
|
|
|
# Makefile for building netns.
|
|
|
|
#
|
|
|
|
|
2018-03-13 23:20:50 +00:00
|
|
|
AM_CFLAGS = -Wall -fno-strict-aliasing -O3 -g @libev_CFLAGS@
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2018-03-13 23:20:50 +00:00
|
|
|
SRC_COMMON = vnode_msg.c vnode_cmd.c vnode_chnl.c vnode_io.c \
|
|
|
|
vnode_msg.h vnode_cmd.h vnode_chnl.h vnode_io.h \
|
|
|
|
vnode_tlv.h myerr.h netns.h
|
|
|
|
SRC_VNODED = vnoded_main.c vnode_server.c netns.c \
|
|
|
|
vnode_server.h
|
|
|
|
SRC_VCMD = vcmd_main.c vnode_client.c \
|
|
|
|
vnode_client.h
|
|
|
|
SRC_NETNS = netns_main.c netns.c netns.h
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2019-06-04 05:59:29 +01:00
|
|
|
bin_PROGRAMS = vnoded vcmd netns
|
2018-03-13 23:20:50 +00:00
|
|
|
vnoded_LDADD = @libev_LIBS@
|
|
|
|
vnoded_SOURCES = $(SRC_COMMON) $(SRC_VNODED)
|
|
|
|
vcmd_LDADD = @libev_LIBS@
|
|
|
|
vcmd_SOURCES = $(SRC_COMMON) $(SRC_VCMD)
|
|
|
|
netns_SOURCES = $(SRC_NETNS)
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
# extra cruft to remove
|
2018-03-13 23:20:50 +00:00
|
|
|
DISTCLEANFILES = Makefile.in MANIFEST
|