added mc
This commit is contained in:
parent
829a1bb00d
commit
abbcc9c02e
22
mc/Makefile
Normal file
22
mc/Makefile
Normal 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
25
mc/mc.c
Normal 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
21
mc/mc.h
Normal 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
|
||||
|
||||
*/
|
Loading…
Reference in New Issue
Block a user