X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=069147938a138f4e7d5b8f1c9af48d3958262739;hp=f612cf2f49eb97bed9dc76761e81487d1aeec37e;hb=4aa6c51696d2b11c572eccd37238db1691785573;hpb=9a15bd649b2fd1a3d950c43f099a3da147ad8cf7 diff --git a/sources/Makefile b/sources/Makefile index f612cf2..0691479 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -9,11 +9,11 @@ CFLAGJ= -L./ -lgapil LIB = libgapil.so OBJ = FullRead.o FullWrite.o SigHand.o Mutex.o SharedMem.o LockFile.o \ - DirScan.o endian.o SockUtil.o full_fread.o full_fwrite.o + DirScan.o endian.o SockUtil.o full_fread.o full_fwrite.o is_closing.o -FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ +FINAL = forktest errcode techo uecho echod daytimed iterdaytimed daytime \ testren fortune fortuned mqfortune mqfortuned flock myls dirmonitor \ - readmon ipctestid writeshm #readshm + readmon ipctestid writeshm getcap testfopen #readshm $(LIB): $(OBJ) gcc -shared -lrt $^ -o $@ @@ -49,6 +49,12 @@ fortune: FortuneClient.c fortuned: FortuneServer.c FortuneParse.c $(CC) $(CFLAGJ) $^ -o $@ +message_setter: message_setter.c + $(CC) $(CFLAGJ) $^ -o $@ + +message_getter: message_getter.c + $(CC) $(CFLAGJ) $^ -o $@ + barcode: BarCode.c $(CC) $^ -o $@ @@ -64,13 +70,13 @@ testfopen: test_fopen.c testren: TestRen.c $(CC) $(CFLAGJ) $^ -o $@ -forktest: ForkTest.c +forktest: fork_test.c $(CC) $(CFLAGJ) $^ -o $@ errcode: ErrCode.c $(CC) $(CFLAGJ) $^ -o $@ -echo: UDP_echo.c +uecho: UDP_echo.c $(CC) $(CFLAGJ) $(CFLAGS) $^ -o $@ techo: TCP_echo.c @@ -108,11 +114,20 @@ endtest: endtest.c readshm: ReadShm.c $(CC) $(CFLAGJ) $^ -o $@ - wwwd: wwwd.c $(CC) $(CFLAGJ) $(CFLAGS) $^ -o $@ +acctctrl: AcctCtrl.c + $(CC) $(CFLAGS) $^ -o $@ + +getcap: getcap.c + $(CC) $(CFLAGS) $^ -lcap -o $@ + +iflist: iflist.c + $(CC) $(CFLAGS) $^ -o $@ +mygetxattr: mygetxattr.c + $(CC) $(CFLAGS) $^ -lattr -o $@ # Macro per la generazione della tarball dei sorgenti