XRDPOBJ = xrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o xrdp_sec.o \ xrdp_rdp.o xrdp_process.o xrdp_listen.o xrdp_orders.o \ xrdp_bitmap.o xrdp_wm.o xrdp_painter.o xrdp_list.o \ xrdp_region.o xrdp_cache.o xrdp_font.o funcs.o \ xrdp_login_wnd.o xrdp_file.o xrdp_bitmap_compress.o \ xrdp_interface.o \ os_calls.o CFLAGS = -Wall -O2 -I../common C_OS_FLAGS = $(CFLAGS) -DUSE_OPENSSL -DUSE_PTHREAD -c LDFLAGS = -L /usr/gnu/lib LIBS = -lpthread -lcrypto -ldl #CC = g++ CC = gcc all: xrdp xrdp: $(XRDPOBJ) $(CC) $(LDFLAGS) -o xrdp $(XRDPOBJ) $(LIBS) clean: rm -f $(XRDPOBJ) xrdp os_calls.o: $(CC) $(C_OS_FLAGS) ../common/os_calls.c