xrdp/rdp/Makefile

34 lines
676 B
Makefile
Raw Normal View History

2005-12-02 11:24:41 +08:00
# librdp makefile
2008-04-30 13:29:52 +08:00
2005-11-03 11:33:23 +08: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 10:03:46 +08:00
rdp_orders.o rdp_bitmap.o rdp_rdp.o rdp_lic.o
2005-12-02 11:24:41 +08:00
2008-04-30 13:29:52 +08:00
LIBDIR = /usr/local/lib/xrdp
2005-12-02 11:24:41 +08:00
DEFINES =
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
2005-11-03 10:03:46 +08:00
#CFLAGS += -DXRDP_DEBUG
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -shared
2005-11-26 08:57:58 +08:00
LIBS = -ldl
LIBS += -lcrypto
2005-11-03 10:03:46 +08:00
CC = gcc
2008-04-03 14:24:36 +08:00
all: librdp.so
2005-11-03 10:03:46 +08:00
2008-04-03 14:24:36 +08:00
librdp.so: $(RDPOBJ)
2005-11-03 10:03:46 +08:00
$(CC) $(LDFLAGS) -o librdp.so $(RDPOBJ) $(LIBS)
clean:
rm -f $(RDPOBJ) librdp.so
2005-12-10 09:32:04 +08:00
os_calls.o: ../common/os_calls.c
2005-11-03 10:03:46 +08:00
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
2005-11-03 11:33:23 +08:00
2005-12-10 09:32:04 +08:00
ssl_calls.o: ../common/ssl_calls.c
2005-11-03 11:33:23 +08:00
$(CC) $(C_OS_FLAGS) ../common/ssl_calls.c
2005-11-19 12:21:26 +08:00
2005-12-02 11:24:41 +08:00
install:
2008-04-30 13:29:52 +08:00
install librdp.so $(LIBDIR)/librdp.so