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

40 lines
810 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
DESTDIR = /usr/local/xrdp
CFGDIR = /etc/xrdp
PIDDIR = /var/run
MANDIR = /usr/local/man
DOCDIR = /usr/doc/xrdp
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
all: rdp
rdp: $(RDPOBJ)
$(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 $(DESTDIR)/librdp.so
installdeb:
install librdp.so $(DESTDIRDEB)/usr/xrdp/librdp.so