diff options
Diffstat (limited to 'sesman/libscp')
-rw-r--r-- | sesman/libscp/Makefile | 42 | ||||
-rw-r--r-- | sesman/libscp/Makefile.osx | 45 |
2 files changed, 0 insertions, 87 deletions
diff --git a/sesman/libscp/Makefile b/sesman/libscp/Makefile deleted file mode 100644 index 62702afc..00000000 --- a/sesman/libscp/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# libscp makefile -LIBSCPOBJ = libscp_vX.o libscp_v0.o \ - libscp_v1s.o libscp_v1c.o \ - libscp_init.o libscp_lock.o libscp_tcp.o \ - libscp_session.o libscp_connection.o \ - os_calls.o \ - libscp_v1s_mng.o libscp_v1c_mng.o - -CFGDIR = /etc/xrdp -PIDDIR = /var/run -MANDIR = /usr/local/man -LIBDIR = /usr/local/lib/xrdp - -LIBSCPLNAME = libscp.so -LIBSCPSONAME = $(LIBSCPLNAME).1 -LIBSCPFNAME = $(LIBSCPSONAME).0.0 - -DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \ - -DSESMAN_PID_FILE=\"$(PIDDIR)/xrdp-sesman.pid\" \ - -DSESMAN_SESSVC_FILE=\"xrdp-sessvc\" - -#CFLAGS = -Wall -O2 -I../../common -I/usr/include/nptl -fPIC $(DEFINES) -CFLAGS = -Wall -g -I../../common -I/usr/include/nptl -fPIC $(DEFINES) -LDFLAGS = -shared -L/usr/gnu/lib -L/usr/lib/nptl -lpthread -C_OS_FLAGS = $(CFLAGS) -c -CC = gcc - -all: libscp.so - -libscp.so: $(LIBSCPOBJ) - $(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ) - ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME) - -clean: - rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME) - -install: - install -D $(LIBSCPFNAME) $(LIBDIR)/$(LIBSCPFNAME) - ln -f -s $(LIBSCPFNAME) $(LIBDIR)/$(LIBSCPLNAME) - -os_calls.o: ../../common/os_calls.c - $(CC) $(C_OS_FLAGS) ../../common/os_calls.c diff --git a/sesman/libscp/Makefile.osx b/sesman/libscp/Makefile.osx deleted file mode 100644 index d8750563..00000000 --- a/sesman/libscp/Makefile.osx +++ /dev/null @@ -1,45 +0,0 @@ -# libscp makefile -LIBSCPOBJ = libscp_vX.o libscp_v0.o \ - libscp_v1s.o libscp_v1c.o \ - libscp_init.o libscp_lock.o libscp_tcp.o \ - libscp_session.o libscp_connection.o \ - os_calls.o - -DESTDIR = /usr/local/xrdp -CFGDIR = /etc/xrdp -PIDDIR = /var/run -MANDIR = /usr/local/man -DOCDIR = /usr/doc/xrdp - -DESTDIRDEB = /tmp - -LIBSCPLNAME = libscp.dylib -LIBSCPSONAME = libscp.1.dylib -LIBSCPFNAME = libscp.0.0.dylib - -DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \ - -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \ - -DSESMAN_SESSVC_FILE=\"sessvc\" - -CFLAGS = -Wall -O2 -I../../common -I/usr/include/nptl -fPIC -fno-common $(DEFINES) -LDFLAGS = -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -lpthread -C_OS_FLAGS = $(CFLAGS) -c -CC = gcc - -all: $(LIBSCPOBJ) - $(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ) - ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME) - -clean: - rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME) - -install: - install $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPFNAME) - ln -f -s $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPLNAME) - -installdeb: - install $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPFNAME) - ln -f -s $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPLNAME) - -os_calls.o: ../../common/os_calls.c - $(CC) $(C_OS_FLAGS) ../../common/os_calls.c |