diff options
author | jsorg71 <jsorg71> | 2007-10-03 03:33:33 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-10-03 03:33:33 +0000 |
commit | 3f89f4872c52a72d924c8c2d03d57371c423ce3f (patch) | |
tree | 6ea6a852a26eff66a0577a1da9a44469701ef5c5 /xrdp | |
parent | dabc0c0333675aa5c754fda432bda6e8425dd12d (diff) | |
download | xrdp-proprietary-3f89f4872c52a72d924c8c2d03d57371c423ce3f.tar.gz xrdp-proprietary-3f89f4872c52a72d924c8c2d03d57371c423ce3f.zip |
added Makfile.osx
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/Makefile.osx | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/xrdp/Makefile.osx b/xrdp/Makefile.osx new file mode 100644 index 00000000..7fac679f --- /dev/null +++ b/xrdp/Makefile.osx @@ -0,0 +1,53 @@ +# xrdp makefile +XRDPOBJ = xrdp.o xrdp_process.o xrdp_listen.o \ + xrdp_bitmap.o xrdp_wm.o xrdp_painter.o \ + xrdp_region.o xrdp_cache.o xrdp_font.o funcs.o \ + xrdp_login_wnd.o lang.o \ + list.o file.o os_calls.o thread_calls.o \ + xrdp_mm.o + +DESTDIR = /usr/local/xrdp +CFGDIR = /etc/xrdp +PIDDIR = /var/run +MANDIR = /usr/local/man +DOCDIR = /usr/doc/xrdp + +DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \ + -DXRDP_PID_FILE=\"$(PIDDIR)/xrdp.pid\" + +CFLAGS = -Wall -O2 -I../common -I../libxrdp $(DEFINES) +#CFLAGS += -DXRDP_DEBUG +C_OS_FLAGS = $(CFLAGS) -c +LDFLAGS = -L../libxrdp +LIBS = -ldl -lpthread -lxrdp -lcrypto +CC = gcc + +all: xrdp + +xrdp: $(XRDPOBJ) + $(CC) $(LDFLAGS) -o xrdp $(XRDPOBJ) $(LIBS) + +clean: + rm -f $(XRDPOBJ) xrdp + +install: + install ad256.bmp $(DESTDIR)/ad256.bmp + install xrdp256.bmp $(DESTDIR)/xrdp256.bmp + install cursor0.cur $(DESTDIR)/cursor0.cur + install cursor1.cur $(DESTDIR)/cursor1.cur + install sans-10.fv1 $(DESTDIR)/sans-10.fv1 + install xrdp.ini $(CFGDIR)/xrdp.ini + install rsakeys.ini $(CFGDIR)/rsakeys.ini + install xrdp $(DESTDIR)/xrdp + +list.o: ../common/list.c + $(CC) $(C_OS_FLAGS) ../common/list.c + +file.o: ../common/file.c + $(CC) $(C_OS_FLAGS) ../common/file.c + +os_calls.o: ../common/os_calls.c + $(CC) $(C_OS_FLAGS) ../common/os_calls.c + +thread_calls.o: ../common/thread_calls.c + $(CC) $(C_OS_FLAGS) ../common/thread_calls.c |