summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakub Sławiński2004-05-31 22:05:30 +0200
committerJoshua Judson Rosen2014-07-17 21:14:58 +0200
commit6525baae022ea244e567e52487bd7a78984ff6a5 (patch)
tree21ac5cfe4c890f3100ce9f7e19be6ea5ac9a0fed /Makefile
parentUpdate copyright statements. (diff)
downloadapf-6525baae022ea244e567e52487bd7a78984ff6a5.tar.gz
v0.5.4
- Fixed: default password incompatibilities - Modified: Server listening behaviour - Added: Module support for client's packet filtering - Modified: client behaviour after unsuccessful connection - Fixed: printing ipv6 addresses - Added: IP protocol family strict choice: 'ipv4' and 'ipv6' - Added: flow control / packet buffering - Fixed: signal handling - Fixed: client freeze in udp reverse mode with zlib enabled
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 5e4463f..f6064d5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,20 +5,18 @@ security=server.rsa client.rsa cacert.pem
all: compi $(programs) ok1 secure
-afserver: afserver.c network.o file.o stats.o
- $(CC) $(CFLAGS) -lssl -lz afserver.c network.o file.o stats.o -o afserver
+afserver: afserver.c network.o file.o stats.o buflist.o
+ $(CC) $(CFLAGS) -lssl -lz afserver.c network.o file.o stats.o buflist.o -o afserver
-afclient: afclient.c network.o stats.o
- $(CC) $(CFLAGS) -lssl -lz afclient.c network.o stats.o -o afclient
+afclient: afclient.c network.o stats.o buflist.o
+ $(CC) $(CFLAGS) -rdynamic -lssl -lz -ldl afclient.c network.o stats.o buflist.o -o afclient
-network.o: network.c network.h
- $(CC) $(CFLAGS) -c network.c
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $*.c
-file.o: file.c file.h
- $(CC) $(CFLAGS) -c file.c
-
-stats.o: stats.c stats.h
- $(CC) $(CFLAGS) -c stats.c
+exmodule: exmodule.c
+ $(CC) -fPIC $(CFLAGS) -c $@.c
+ $(CC) $(CFLAGS) -shared -o $@ $@.o
secure: crea $(security) ok2
@@ -47,4 +45,4 @@ ok2:
.PHONY: clean
clean:
- rm -rf a.out *~ *.o $(programs) $(security)
+ rm -rf a.out *~ *.o $(programs) $(security) exmodule