xrdp/rdp/Makefile

40 lines
814 B
Makefile
Raw Normal View History

2005-12-02 06:24:41 +03:00
# librdp makefile
2005-11-03 06:33:23 +03:00
RDPOBJ = ssl_calls.o os_calls.o rdp.o rdp_tcp.o rdp_iso.o rdp_mcs.o rdp_sec.o \
2005-11-03 05:03:46 +03:00
rdp_orders.o rdp_bitmap.o rdp_rdp.o rdp_lic.o
2005-12-02 06:24:41 +03:00
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)
2005-11-03 05:03:46 +03:00
#CFLAGS += -DXRDP_DEBUG
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -shared
2005-11-26 03:57:58 +03:00
LIBS = -ldl
LIBS += -lcrypto
2005-11-03 05:03:46 +03:00
CC = gcc
all: rdp
rdp: $(RDPOBJ)
$(CC) $(LDFLAGS) -o librdp.so $(RDPOBJ) $(LIBS)
clean:
rm -f $(RDPOBJ) librdp.so
2005-12-10 04:32:04 +03:00
os_calls.o: ../common/os_calls.c
2005-11-03 05:03:46 +03:00
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
2005-11-03 06:33:23 +03:00
2005-12-10 04:32:04 +03:00
ssl_calls.o: ../common/ssl_calls.c
2005-11-03 06:33:23 +03:00
$(CC) $(C_OS_FLAGS) ../common/ssl_calls.c
2005-11-19 07:21:26 +03:00
2005-12-02 06:24:41 +03:00
install:
install librdp.so $(DESTDIR)/librdp.so
2006-03-04 04:02:09 +03:00
installdeb:
2006-08-07 10:03:29 +04:00
install librdp.so $(DESTDIRDEB)/usr/lib/xrdp/librdp.so