ulab-original
jsorg71 17 years ago
parent 46058706f7
commit 6385d06f9b

@ -27,51 +27,51 @@ nopam: libscp_ no-pam tools
kerberos: libscp_ kerberos-base tools kerberos: libscp_ kerberos-base tools
no-pam: $(SESMANOBJ) verify_user.o no-pam: $(SESMANOBJ) verify_user.o
$(MAKE) -C libscp $(MAKE) -C libscp
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -lcrypt $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -lcrypt
pam: $(SESMANOBJ) verify_user_pam.o pam: $(SESMANOBJ) verify_user_pam.o
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -lpam $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -lpam
pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -lpam -lpam_userpass $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -lpam -lpam_userpass
kerberos-base: $(SESMANOBJ) verify_user_kerberos.o kerberos-base: $(SESMANOBJ) verify_user_kerberos.o
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -lkrb5 $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -lkrb5
sessvc: $(SESSVCOBJ) sessvc: $(SESSVCOBJ)
$(CC) $(LDFLAGS) -o sessvc $(SESSVCOBJ) $(CC) $(LDFLAGS) -o sessvc $(SESSVCOBJ)
tools: sessvc tools: sessvc
$(MAKE) -C tools -f Makefile.osx $(MAKE) -C tools -f Makefile.osx
libscp_: libscp_:
$(MAKE) -C libscp -f Makefile.osx $(MAKE) -C libscp -f Makefile.osx
clean: clean:
rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman sesrun.o sesrun sessvc.o sessvc rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman sesrun.o sesrun sessvc.o sessvc
$(MAKE) -C tools -f Makefile.osx clean $(MAKE) -C tools -f Makefile.osx clean
$(MAKE) -C libscp -f Makefile.osx clean $(MAKE) -C libscp -f Makefile.osx clean
install: install:
install sesman $(DESTDIR)/sesman install sesman $(DESTDIR)/sesman
install startwm.sh $(DESTDIR)/startwm.sh install startwm.sh $(DESTDIR)/startwm.sh
install sesman.ini $(CFGDIR)/sesman.ini install sesman.ini $(CFGDIR)/sesman.ini
install sessvc $(DESTDIR)/sessvc install sessvc $(DESTDIR)/sessvc
$(MAKE) -C tools install $(MAKE) -C tools install
$(MAKE) -C libscp install $(MAKE) -C libscp install
os_calls.o: ../common/os_calls.c os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c $(CC) $(C_OS_FLAGS) ../common/os_calls.c
d3des.o: ../common/d3des.c d3des.o: ../common/d3des.c
$(CC) $(C_OS_FLAGS) ../common/d3des.c $(CC) $(C_OS_FLAGS) ../common/d3des.c
list.o: ../common/list.c list.o: ../common/list.c
$(CC) $(C_OS_FLAGS) ../common/list.c $(CC) $(C_OS_FLAGS) ../common/list.c
file.o: ../common/file.c file.o: ../common/file.c
$(CC) $(C_OS_FLAGS) ../common/file.c $(CC) $(C_OS_FLAGS) ../common/file.c
log.o: ../common/log.c log.o: ../common/log.c
$(CC) $(C_OS_FLAGS) -DLOG_ENABLE_THREAD ../common/log.c $(CC) $(C_OS_FLAGS) -DLOG_ENABLE_THREAD ../common/log.c

@ -27,19 +27,19 @@ C_OS_FLAGS = $(CFLAGS) -c
CC = gcc CC = gcc
all: $(LIBSCPOBJ) all: $(LIBSCPOBJ)
$(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ) $(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ)
ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME) ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME)
clean: clean:
rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME) rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME)
install: install:
install $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPFNAME) install $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPFNAME)
ln -f -s $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPLNAME) ln -f -s $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPLNAME)
installdeb: installdeb:
install $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPFNAME) install $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPFNAME)
ln -f -s $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPLNAME) ln -f -s $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPLNAME)
os_calls.o: ../../common/os_calls.c os_calls.o: ../../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../../common/os_calls.c $(CC) $(C_OS_FLAGS) ../../common/os_calls.c

@ -24,22 +24,22 @@ CC = gcc
all: stest srun all: stest srun
stest: $(SESTESTOBJ) stest: $(SESTESTOBJ)
$(CC) $(LDFLAGS) -o sestest $(SESTESTOBJ) $(CC) $(LDFLAGS) -o sestest $(SESTESTOBJ)
srun: $(SESRUNOBJ) srun: $(SESRUNOBJ)
$(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ) $(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ)
os_calls.o: ../../common/os_calls.c os_calls.o: ../../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../../common/os_calls.c $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
#d3des.o: ../../common/d3des.c #d3des.o: ../../common/d3des.c
$(CC) $(C_OS_FLAGS) ../../common/d3des.c # $(CC) $(C_OS_FLAGS) ../../common/d3des.c
#list.o: ../../common/list.c #list.o: ../../common/list.c
$(CC) $(C_OS_FLAGS) ../../common/list.c # $(CC) $(C_OS_FLAGS) ../../common/list.c
#file.o: ../../common/file.c #file.o: ../../common/file.c
$(CC) $(C_OS_FLAGS) ../../common/file.c # $(CC) $(C_OS_FLAGS) ../../common/file.c
log.o: ../../common/log.c log.o: ../../common/log.c
$(CC) $(C_OS_FLAGS) ../../common/log.c $(CC) $(C_OS_FLAGS) ../../common/log.c
@ -48,18 +48,18 @@ log.o: ../../common/log.c
# $(CC) $(C_OS_FLAGS) ../tcp.c # $(CC) $(C_OS_FLAGS) ../tcp.c
config.o: ../config.c config.o: ../config.c
$(CC) $(C_OS_FLAGS) ../config.c $(CC) $(C_OS_FLAGS) ../config.c
#libscp_v1c.o: ../libscp_v1c.c #libscp_v1c.o: ../libscp_v1c.c
# $(CC) $(C_OS_FLAGS) ../libscp_v1c.c # $(CC) $(C_OS_FLAGS) ../libscp_v1c.c
clean: clean:
rm -f *.o sestest sesrun rm -f *.o sestest sesrun
install: install:
install sesrun $(DESTDIR)/sesrun install sesrun $(DESTDIR)/sesrun
install sestest $(DESTDIR)/sestest install sestest $(DESTDIR)/sestest
installdeb: installdeb:
install sesrun $(DESTDIRDEB)/usr/lib/xrdp/sesrun install sesrun $(DESTDIRDEB)/usr/lib/xrdp/sesrun
install sestest $(DESTDIRDEB)/usr/lib/xrdp/sestest install sestest $(DESTDIRDEB)/usr/lib/xrdp/sestest

@ -21,17 +21,17 @@ CC = gcc
all: $(VNCLIB) all: $(VNCLIB)
$(VNCLIB): $(VNCOBJ) $(VNCLIB): $(VNCOBJ)
$(CC) $(LDFLAGS) -o $(VNCLIB) $(VNCOBJ) $(LIBS) $(CC) $(LDFLAGS) -o $(VNCLIB) $(VNCOBJ) $(LIBS)
clean: clean:
rm -f $(VNCOBJ) $(VNCLIB) rm -f $(VNCOBJ) $(VNCLIB)
os_calls.o: ../common/os_calls.c os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c $(CC) $(C_OS_FLAGS) ../common/os_calls.c
d3des.o: ../common/d3des.c d3des.o: ../common/d3des.c
$(CC) $(C_OS_FLAGS) ../common/d3des.c $(CC) $(C_OS_FLAGS) ../common/d3des.c
install: install:
install $(VNCLIB) $(DESTDIR)/$(VNCLIB) install $(VNCLIB) $(DESTDIR)/$(VNCLIB)

@ -22,14 +22,14 @@ CC = gcc
all: $(LIBXUP) all: $(LIBXUP)
$(LIBXUP): $(XUPOBJ) $(LIBXUP): $(XUPOBJ)
$(CC) $(LDFLAGS) -o $(LIBXUP) $(XUPOBJ) $(LIBS) $(CC) $(LDFLAGS) -o $(LIBXUP) $(XUPOBJ) $(LIBS)
clean: clean:
rm -f $(XUPOBJ) $(LIBXUP) rm -f $(XUPOBJ) $(LIBXUP)
os_calls.o: ../common/os_calls.c os_calls.o: ../common/os_calls.c
$(CC) $(C_OS_FLAGS) ../common/os_calls.c $(CC) $(C_OS_FLAGS) ../common/os_calls.c
install: install:
install $(LIBXUP) $(DESTDIR)/$(LIBXUP) install $(LIBXUP) $(DESTDIR)/$(LIBXUP)

Loading…
Cancel
Save