view miscutil/Makefile @ 619:f82551c77e58

libserial-newlnx: ASYNC_LOW_LATENCY patch reverted Reports from Das Signal indicate that loadtools performance on Debian is about the same as on Slackware, and that including or omitting the ASYNC_LOW_LATENCY patch from Serg makes no difference. Because the patch in question does not appear to be necessary, it is being reverted until and unless someone other than Serg reports an actual real-world system on which loadtools operation times are slowed compared to the Mother's Slackware reference and on which Slackware-like performance can be restored by setting the ASYNC_LOW_LATENCY flag.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 27 Feb 2020 01:09:48 +0000
parents 90d7c360a614
children 89e9e79a7f55
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-fr2tch fc-gsm2vm fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn\
	mokosrec2bin
SCRIPTS=c139explore pirexplore

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROGS}

FR2TCH_OBJS=	fc-fr2tch.o gsm0610.o
GSM2VM_OBJS=	fc-gsm2vm.o gsm0610.o
TCH2FR_OBJS=	fc-tch2fr.o gsm0610.o
SERTERM_OBJS=	fc-serterm.o ttypassthru.o ../libserial/libserial.a

fc-fr2tch:	${FR2TCH_OBJS}
	${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS}

fc-gsm2vm:	${GSM2VM_OBJS}
	${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS}

fc-rgbconv:	fc-rgbconv.c
	${CC} ${CFLAGS} -o $@ $@.c

fc-serterm:	${SERTERM_OBJS}
	${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}

ttypassthru.o:	../loadtools/ttypassthru.c
	${CC} ${CFLAGS} -c -o $@ $<

fc-tch2fr:	${TCH2FR_OBJS}
	${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS}

fc-vm2hex:	fc-vm2hex.c
	${CC} ${CFLAGS} -o $@ $@.c

imei-luhn:	imei-luhn.c
	${CC} ${CFLAGS} -o $@ $@.c

mokosrec2bin:	mokosrec2bin.c
	${CC} ${CFLAGS} -o $@ $@.c

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${SCRIPTS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o *errs *.out