mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
- Added support for the linenoise library, which allows line-editing
and path completion when entering filenames for receive- and send- file operations. Support can be compiled-out if you wish. See Makefile. - When entering a filename for receive- or send- file operations, pressing C-c cancels the operation. This works regardless of whether linenoise support (see above) has been compiled in or not - Use debian's xmltoman to convert manual page form xml to man.
This commit is contained in:
30
Makefile
30
Makefile
@ -1,40 +1,52 @@
|
||||
|
||||
VERSION=1.8
|
||||
|
||||
UUCP_LOCK_DIR=/var/lock
|
||||
|
||||
# CC = gcc
|
||||
CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" \
|
||||
-DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\" \
|
||||
-DHIGH_BAUD
|
||||
CPPFLAGS=-DVERSION_STR=\"$(VERSION)\"
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
# LD = gcc
|
||||
LDFLAGS = -g
|
||||
LDLIBS =
|
||||
|
||||
## Comment this out to disable high-baudrate support
|
||||
CPPFLAGS += -DHIGH_BAUD
|
||||
|
||||
## Comment these out to disable UUCP-style lockdirs
|
||||
UUCP_LOCK_DIR=/var/lock
|
||||
CPPFLAGS += -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\"
|
||||
|
||||
## Comment these out to disable "linenoise"-library support
|
||||
SEND_RECEIVE_HISTFILE = .picocom_send_receive
|
||||
CPPFLAGS += -DSEND_RECEIVE_HISTFILE=\"$(SEND_RECEIVE_HISTFILE)\" \
|
||||
-DLINENOISE
|
||||
picocom : linenoise-1.0/linenoise.o
|
||||
linenoise-1.0/linenoise.o : linenoise-1.0/linenoise.c linenoise-1.0/linenoise.h
|
||||
|
||||
|
||||
picocom : picocom.o term.o
|
||||
# $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
|
||||
|
||||
picocom.o : picocom.c term.h
|
||||
term.o : term.c term.h
|
||||
|
||||
|
||||
doc : picocom.8 picocom.8.html picocom.8.ps
|
||||
|
||||
changes :
|
||||
changes :
|
||||
svn log -v . > CHANGES
|
||||
|
||||
picocom.8 : picocom.8.xml
|
||||
xmlmp2man < $< > $@
|
||||
xmltoman $< > $@
|
||||
|
||||
picocom.8.html : picocom.8.xml
|
||||
xmlmp2html < $< > $@
|
||||
xmlmantohtml $< > $@
|
||||
|
||||
picocom.8.ps : picocom.8
|
||||
groff -mandoc -Tps $< > $@
|
||||
|
||||
clean:
|
||||
rm -f picocom.o term.o
|
||||
rm -f picocom.o term.o linenoise-1.0/linenoise.o
|
||||
rm -f *~
|
||||
rm -f \#*\#
|
||||
|
||||
|
Reference in New Issue
Block a user