xrdp/vnc/Makefile

37 lines
660 B
Makefile
Raw Normal View History

2005-12-02 11:24:41 +08:00
# libvnc makefile
2005-03-13 09:17:30 +08:00
VNCOBJ = vnc.o os_calls.o d3des.o
2005-12-02 11:24:41 +08:00
DESTDIR = /usr/local/xrdp
CFGDIR = /etc/xrdp
PIDDIR = /var/run
MANDIR = /usr/local/man
DOCDIR = /usr/doc/xrdp
DEFINES =
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
2005-03-13 09:17:30 +08:00
C_OS_FLAGS = $(CFLAGS) -c
2004-11-28 12:56:58 +08:00
LDFLAGS = -shared
LIBS = -ldl
CC = gcc
all: vnc
vnc: $(VNCOBJ)
$(CC) $(LDFLAGS) -o libvnc.so $(VNCOBJ) $(LIBS)
clean:
2005-01-07 09:05:30 +08:00
rm -f $(VNCOBJ) libvnc.so
2005-03-13 09:17:30 +08:00
2005-12-10 09:40:09 +08:00
os_calls.o: ../common/os_calls.c
2005-03-13 09:17:30 +08:00
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
2005-12-10 09:40:09 +08:00
d3des.o: ../common/d3des.c
2005-03-13 09:17:30 +08:00
$(CC) $(C_OS_FLAGS) ../common/d3des.c
2005-12-02 11:24:41 +08:00
install:
install libvnc.so $(DESTDIR)/libvnc.so
2006-03-04 09:02:09 +08:00
installdeb:
2006-08-07 14:03:29 +08:00
install libvnc.so $(DESTDIRDEB)/usr/lib/xrdp/libvnc.so