This commit is contained in:
jsorg71 2007-06-03 07:14:10 +00:00
parent 829a1bb00d
commit abbcc9c02e
3 changed files with 68 additions and 0 deletions

22
mc/Makefile Normal file
View File

@ -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

25
mc/mc.c Normal file
View File

@ -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"
/*****************************************************************************/

21
mc/mc.h Normal file
View File

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