summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-11-19 04:21:26 +0000
committerjsorg71 <jsorg71>2005-11-19 04:21:26 +0000
commit55c9687858b1c2153c89e178ff26181dc162fb09 (patch)
tree113157ee808fe1453fdec84a8946ab6079c7bf00 /libxrdp
parent7c69e43493504bcb966638cbf77b421634e58b0c (diff)
downloadxrdp-proprietary-55c9687858b1c2153c89e178ff26181dc162fb09.tar.gz
xrdp-proprietary-55c9687858b1c2153c89e178ff26181dc162fb09.zip
Makefile changes
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/libxrdp/Makefile b/libxrdp/Makefile
index 6d2fe72e..5eedcd18 100644
--- a/libxrdp/Makefile
+++ b/libxrdp/Makefile
@@ -2,13 +2,12 @@
LIBXRDPOBJ = libxrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o \
xrdp_sec.o xrdp_rdp.o xrdp_orders.o \
xrdp_bitmap_compress.o \
- ../common/os_calls.o \
- ../common/ssl_calls.o \
- ../common/file.o
+ os_calls.o ssl_calls.o file.o
CFLAGS = -Wall -O2 -I../common -fPIC
-LDFLAGS = -shared
-LIBS = -ldl -lcrypto
+C_OS_FLAGS = $(CFLAGS) -c
+LDFLAGS = -ldl -shared
+LIBS = -lcrypto
CC = gcc
all: libxrdp
@@ -24,3 +23,12 @@ libxrdp: $(LIBXRDPOBJ)
clean:
rm -f $(LIBXRDPOBJ) libxrdp.a libxrdp.so
+file.o:
+ $(CC) $(C_OS_FLAGS) ../common/file.c
+
+os_calls.o:
+ $(CC) $(C_OS_FLAGS) ../common/os_calls.c
+
+ssl_calls.o:
+ $(CC) $(C_OS_FLAGS) ../common/ssl_calls.c
+