diff --git a/src/conio/GNUmakefile b/src/conio/GNUmakefile
new file mode 100644
index 0000000000000000000000000000000000000000..bcbf85616d35a099ef1d9eb9277296633e367950
--- /dev/null
+++ b/src/conio/GNUmakefile
@@ -0,0 +1,34 @@
+# smblib/Makefile
+
+#########################################################################
+# Makefile for Synchronet Message Base Library (SMBLIB)					#
+# For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32      #
+# @format.tab-size 4													#
+#																		#
+# usage: make															#
+#########################################################################
+
+# $Id$
+
+# Macros
+#DEBUG	=	1				# Comment out for release (non-debug) version
+
+SRC_ROOT = ..
+# Cross platform/compiler definitions
+include $(SRC_ROOT)/build/Common.gmake	# defines clean and output directory rules
+
+CFLAGS += -I$(XPDEV_SRC) -I$(CIOLIB_SRC)
+OBJS	+=	$(OBJODIR)$(DIRSEP)curs_cio$(OFILE)
+ifndef NO_X
+ CFLAGS	+=	-I/usr/X11R6/include
+ OBJS	+=	$(OBJODIR)$(DIRSEP)console$(OFILE) \
+			$(OBJODIR)$(DIRSEP)x_cio$(OFILE)
+endif
+
+
+# CIOLIB Library Link Rule
+$(CIOLIB): $(OBJS)
+	@echo Creating $@ ...
+	$(QUIET)ar rc $@ $^
+	$(QUIET)ranlib $@
+
diff --git a/src/conio/Makefile b/src/conio/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..c6545f88a03c624fb115672395c96d248071d6b9
--- /dev/null
+++ b/src/conio/Makefile
@@ -0,0 +1,32 @@
+# smblib/Makefile
+
+#########################################################################
+# Makefile for Synchronet Message Base Library (SMBLIB)					#
+# For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32      #
+# @format.tab-size 4													#
+#																		#
+# usage: make															#
+#########################################################################
+
+# $Id$
+
+# Macros
+#DEBUG	=	1				# Comment out for release (non-debug) version
+
+# Enable auto-dependency checking
+.autodepend
+.cacheautodepend	
+
+SRC_ROOT = ..
+# Cross platform/compiler definitions
+!include ..\build\Common.bmake	# defines clean and output directory rules
+
+CFLAGS = $(CFLAGS) -I$(XPDEV_SRC) -I$(CIOLIB_SRC)
+
+# SBBS DLL Link Rule
+$(CIOLIB): $(OBJS)
+    @echo Creating $< ...
+	-$(QUIET)$(DELETE) $@
+	$(QUIET)for %f in ($(OBJS)) do $(QUIET)tlib $@ +%f
+
+
diff --git a/src/conio/objects.mk b/src/conio/objects.mk
new file mode 100644
index 0000000000000000000000000000000000000000..093c4e0f1440f366d6befded19a79a4fa5abbc20
--- /dev/null
+++ b/src/conio/objects.mk
@@ -0,0 +1,12 @@
+# smblib/objects.mk
+
+# Make 'include file' listing object files for SMBLIB
+
+# $Id$
+
+# OBJODIR, DIRSEP, and OFILE must be pre-defined
+
+OBJS	=	$(OBJODIR)$(DIRSEP)ansi_cio$(OFILE)\
+			$(OBJODIR)$(DIRSEP)ciolib$(OFILE)\
+			$(OBJODIR)$(DIRSEP)cterm$(OFILE)\
+			$(OBJODIR)$(DIRSEP)mouse$(OFILE)
diff --git a/src/conio/targets.mk b/src/conio/targets.mk
new file mode 100644
index 0000000000000000000000000000000000000000..efb82b8c5469f70e62ef45181a1ba23b0cd48420
--- /dev/null
+++ b/src/conio/targets.mk
@@ -0,0 +1,3 @@
+# conio/targets.mk
+CIOLIB	=	$(LIBODIR)$(DIRSEP)$(LIBPREFIX)ciolib$(LIBFILE)
+default: $(OBJODIR) $(LIBODIR) $(CIOLIB)