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 + +*/