summaryrefslogtreecommitdiffstats
path: root/keygen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keygen/Makefile')
-rwxr-xr-xkeygen/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/keygen/Makefile b/keygen/Makefile
index 59d36bae..fd71b00b 100755
--- a/keygen/Makefile
+++ b/keygen/Makefile
@@ -1,9 +1,11 @@
# libvnc makefile
-KEYGENOBJ = keygen.o os_calls.o ssl_calls.o
+KEYGENOBJ = keygen.o os_calls.o ssl_calls.o list.o file.o
DEFINES =
+BINDIR = /usr/local/bin
+
CFLAGS = -Wall -O2 -I../common $(DEFINES)
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS =
@@ -18,8 +20,17 @@ xrdp-keygen: $(KEYGENOBJ)
clean:
rm -f $(KEYGENOBJ) xrdp-keygen
+install:
+ install xrdp-keygen $(BINDIR)/xrdp-keygen
+
os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
ssl_calls.o: ../common/ssl_calls.c
$(CC) $(C_OS_FLAGS) ../common/ssl_calls.c
+
+list.o: ../common/list.c
+ $(CC) $(C_OS_FLAGS) ../common/list.c
+
+file.o: ../common/file.c
+ $(CC) $(C_OS_FLAGS) ../common/file.c