summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-06-03 07:14:10 +0000
committerjsorg71 <jsorg71>2007-06-03 07:14:10 +0000
commitabbcc9c02e5e8681d938b01d36151da6346f0429 (patch)
treed9cad5c3504c21c3381594394806790a4ac65224
parent829a1bb00d10fe6b1acc53fe7464479f58ecc22e (diff)
downloadxrdp-proprietary-abbcc9c02e5e8681d938b01d36151da6346f0429.tar.gz
xrdp-proprietary-abbcc9c02e5e8681d938b01d36151da6346f0429.zip
added mc
-rw-r--r--mc/Makefile22
-rw-r--r--mc/mc.c25
-rw-r--r--mc/mc.h21
3 files changed, 68 insertions, 0 deletions
diff --git a/mc/Makefile b/mc/Makefile
new file mode 100644
index 00000000..bc1fc12e
--- /dev/null
+++ b/mc/Makefile
@@ -0,0 +1,22 @@
+# libmc makefile
+MCOBJ = os_calls.o mc.o
+
+DEFINES =
+
+CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
+#CFLAGS += -DXRDP_DEBUG
+C_OS_FLAGS = $(CFLAGS) -c
+LDFLAGS = -shared
+LIBS = -ldl
+CC = gcc
+
+all: mc1
+
+mc1: $(MCOBJ)
+ $(CC) $(LDFLAGS) -o libmc.so $(MCOBJ) $(LIBS)
+
+clean:
+ rm -f $(MCOBJ) libmc.so
+
+os_calls.o: ../common/os_calls.c
+ $(CC) $(C_OS_FLAGS) ../common/os_calls.c
diff --git a/mc/mc.c b/mc/mc.c
new file mode 100644
index 00000000..5ed7888f
--- /dev/null
+++ b/mc/mc.c
@@ -0,0 +1,25 @@
+/*
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ xrdp: A Remote Desktop Protocol server.
+ Copyright (C) Jay Sorg 2007
+
+ media center
+
+*/
+
+#include "libmc.h"
+
+/*****************************************************************************/
diff --git a/mc/mc.h b/mc/mc.h
new file mode 100644
index 00000000..acd73ca6
--- /dev/null
+++ b/mc/mc.h
@@ -0,0 +1,21 @@
+/*
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ xrdp: A Remote Desktop Protocol server.
+ Copyright (C) Jay Sorg 2007
+
+ media center
+
+*/