Compare commits

..

2 commits

Author SHA1 Message Date
Hibby 0a9f136eee makefile
Gbp-Pq: Name makefile
2025-10-24 00:37:15 +01:00
Hibby b535455072 spelling-fixes
Gbp-Pq: Name spelling-fixes.patch
2025-10-24 00:37:15 +01:00
2 changed files with 11 additions and 13 deletions

View file

@ -387,7 +387,7 @@ int UZ7HOSetFreq(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESS
if (AGW->CenterFreq == 0) if (AGW->CenterFreq == 0)
{ {
buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r"); buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
return 1; return 1;
} }

View file

@ -2,8 +2,7 @@
# To exclude i2c support run make noi2c # To exclude i2c support run make noi2c
OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pngwutil.o\ OBJS = APRSIconData.o AISCommon.o\
pngread.o pngwrite.o png.o pngerror.o pngget.o pngmem.o APRSIconData.o AISCommon.o\
upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\ upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\
adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \ adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \
Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\ Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\
@ -17,12 +16,12 @@ OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pn
# Configuration: # Configuration:
#Default to Linux CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CC = gcc CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS = -Xlinker -Map=output.map -lrt LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
all: CFLAGS = -DLINBPQ -MMD -g -fcommon -fasynchronous-unwind-tables $(EXTRA_CFLAGS) all: CFLAGS += -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables
all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lm -lz -lpthread -lconfig -lpcap all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng
all: linbpq all: linbpq
#other OS #other OS
@ -74,12 +73,11 @@ noi2c: linbpq
linbpq: $(OBJS) linbpq: $(OBJS)
cc $(OBJS) $(CFLAGS) $(LDFLAGS) $(LIBS) -o linbpq $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(LIBS) -o linbpq
sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
-include *.d -include *.d
clean : install:
rm *.d install -b -m 755 -D -d debian/linbpq/usr/sbin
rm linbpq $(OBJS) install -b -m 755 -p linbpq debian/linbpq/usr/sbin