+include $(TOPDIR)/libcmdline.vars.mk
+
+LIB = libcmdline
+
+INSTALL_HEADERS = cmdline.h
+INSTALL_HEADERS += cmdline_cirbuf.h
+INSTALL_HEADERS += cmdline_parse_etheraddr.h
+INSTALL_HEADERS += cmdline_parse_file.h
+INSTALL_HEADERS += cmdline_parse.h
+INSTALL_HEADERS += cmdline_parse_ipaddr.h
+INSTALL_HEADERS += cmdline_parse_num.h
+INSTALL_HEADERS += cmdline_parse_string.h
+INSTALL_HEADERS += cmdline_rdline.h
+INSTALL_HEADERS += cmdline_socket.h
+INSTALL_HEADERS += cmdline_vt100.h
+
+SRCS = cmdline_vt100.c cmdline_cirbuf.c
+SRCS += cmdline.c cmdline_socket.c
+SRCS += cmdline_parse.c cmdline_parse_num.c
+SRCS += cmdline_parse_string.c cmdline_rdline.c
+SRCS += cmdline_parse_ipaddr.c
+SRCS += cmdline_parse_etheraddr.c
+SRCS += cmdline_parse_file.c
+
+include $(TOPDIR)/libcmdline.lib.mk