| CC=gcc |
| all: |
| @echo "Please do one of the following:" |
| @echo "make bsd" |
| @echo "make bsdi" |
| @echo "make freebsd" |
| @echo "make freebsd22" |
| @echo "make netbsd" |
| @echo "make openbsd" |
| @echo "make sunos4" |
| @echo "make sunos5" |
| |
| sunos5: |
| $(CC) -I.. userauth.c -o userauth -lsocket -lnsl |
| $(CC) -I.. proxy.c -o proxy -lsocket -lnsl |
| $(CC) -I.. relay.c -o relay -lsocket -lnsl |
| $(CC) -I.. trans_relay.c -o trans_relay -lsocket -lnsl |
| |
| freebsd freebsd22 netbsd bsd bsdi sunos4 openbsd: |
| $(CC) -I.. userauth.c -o userauth |
| $(CC) -I.. proxy.c -o proxy |
| $(CC) -I.. relay.c -o relay |
| $(CC) -I.. trans_relay.c -o trans_relay |
| |
| clean: |
| /bin/rm -f userauth proxy relay trans_relay |