mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 07:22:34 +00:00
Makefile.in: Fixed srcdir/; and CC with spaces
This commit is contained in:
parent
efc654f85a
commit
64dc8b2941
2 changed files with 11 additions and 2 deletions
9
CHANGES
9
CHANGES
|
@ -11,6 +11,15 @@ Porting:
|
|||
When NETDB_INTERNAL is not available it should be set to -1.
|
||||
Thanks to Baruch Siach for sending a patch.
|
||||
|
||||
Building:
|
||||
Makefile.in: procan.o build requires srcdir prefix for explicit source
|
||||
file.
|
||||
Thanks to Hongxu Jia and Andrew Schoolman for providing patches.
|
||||
|
||||
Makefile.in: the CC define for procan.o build failed when CC had more
|
||||
than one word.
|
||||
Thanks to Hongxu Jia for providing an inital patch.
|
||||
|
||||
Testing:
|
||||
test.sh: lots of corrections and improvements
|
||||
|
||||
|
|
|
@ -109,8 +109,8 @@ depend: $(CFILES) $(HFILES)
|
|||
socat: socat.o libxio.a
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS)
|
||||
|
||||
procan.o: procan.c
|
||||
$(CC) $(CFLAGS) -c -D CC=\"$(CC)\" -o $@ procan.c
|
||||
procan.o: $(srcdir)/procan.c
|
||||
$(CC) $(CFLAGS) -c -D CC="\"$(CC)\"" -o $@ $(srcdir)/procan.c
|
||||
|
||||
PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o
|
||||
procan: $(PROCAN_OBJS)
|
||||
|
|
Loading…
Reference in a new issue