blob: fd71b00b86fb3098e0a2224a94220705a75dcc27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# libvnc makefile
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 =
LIBS = -ldl -lcrypto
CC = gcc
all: xrdp-keygen
xrdp-keygen: $(KEYGENOBJ)
$(CC) $(LDFLAGS) -o xrdp-keygen $(KEYGENOBJ) $(LIBS)
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
|