You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/rdp/Makefile

34 lines
676 B

19 years ago
# librdp makefile
19 years ago
RDPOBJ = ssl_calls.o os_calls.o rdp.o rdp_tcp.o rdp_iso.o rdp_mcs.o rdp_sec.o \
19 years ago
rdp_orders.o rdp_bitmap.o rdp_rdp.o rdp_lic.o
19 years ago
LIBDIR = /usr/local/lib/xrdp
19 years ago
DEFINES =
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
19 years ago
#CFLAGS += -DXRDP_DEBUG
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -shared
LIBS = -ldl
LIBS += -lcrypto
19 years ago
CC = gcc
17 years ago
all: librdp.so
19 years ago
17 years ago
librdp.so: $(RDPOBJ)
19 years ago
$(CC) $(LDFLAGS) -o librdp.so $(RDPOBJ) $(LIBS)
clean:
rm -f $(RDPOBJ) librdp.so
os_calls.o: ../common/os_calls.c
19 years ago
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
19 years ago
ssl_calls.o: ../common/ssl_calls.c
19 years ago
$(CC) $(C_OS_FLAGS) ../common/ssl_calls.c
19 years ago
19 years ago
install:
install librdp.so $(LIBDIR)/librdp.so