diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-02-07 17:27:05 -0600 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-02-07 17:27:05 -0600 |
commit | c4fab650136590fb6d6b4c612aa429d1d398caad (patch) | |
tree | 6b5dcd6406b79bf63ef2f01217bf66714509eb8e /utils/sysdeps/Makefile | |
parent | 4a99e1a61d2767dcf87367480b029ff0f3bc32e7 (diff) | |
download | open-iscsi-c4fab650136590fb6d6b4c612aa429d1d398caad.tar.gz |
iscsi tools: convert from strncat to strlcat
We messed up strncat in so many different ways that strlat could
fix. This patch converts the userspace uses of strncat to strlcat.
Diffstat (limited to 'utils/sysdeps/Makefile')
-rw-r--r-- | utils/sysdeps/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/sysdeps/Makefile b/utils/sysdeps/Makefile new file mode 100644 index 0000000..53c10e5 --- /dev/null +++ b/utils/sysdeps/Makefile @@ -0,0 +1,15 @@ +# This Makefile will work only with GNU make. + +CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -O2 -fno-inline -Wall -Wstrict-prototypes -g + +SYSDEPS_OBJS=sysdeps.o + +all: $(SYSDEPS_OBJS) + +clean: + rm -f *.o .depend + +depend: + gcc $(CFLAGS) -M `ls *.c` > .depend + +-include .depend |