xrdp/vnc/Makefile.osx

38 lines
678 B
Makefile
Raw Normal View History

2007-09-28 02:09:29 +08:00
# libvnc makefile
VNCOBJ = vnc.o os_calls.o d3des.o
DESTDIR = /usr/local/xrdp
CFGDIR = /etc/xrdp
PIDDIR = /var/run
MANDIR = /usr/local/man
DOCDIR = /usr/doc/xrdp
DEFINES =
VNCLIB = libvnc.dylib
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
C_OS_FLAGS = $(CFLAGS) -c -g
LDFLAGS = -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress
LIBS =
CC = gcc
all: $(VNCLIB)
$(VNCLIB): $(VNCOBJ)
2008-03-17 07:57:20 +08:00
$(CC) $(LDFLAGS) -o $(VNCLIB) $(VNCOBJ) $(LIBS)
2007-09-28 02:09:29 +08:00
clean:
2008-03-17 07:57:20 +08:00
rm -f $(VNCOBJ) $(VNCLIB)
2007-09-28 02:09:29 +08:00
os_calls.o: ../common/os_calls.c
2008-03-17 07:57:20 +08:00
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
2007-09-28 02:09:29 +08:00
d3des.o: ../common/d3des.c
2008-03-17 07:57:20 +08:00
$(CC) $(C_OS_FLAGS) ../common/d3des.c
2007-09-28 02:09:29 +08:00
install:
2008-03-17 07:57:20 +08:00
install $(VNCLIB) $(DESTDIR)/$(VNCLIB)
2007-09-28 02:09:29 +08:00