[hamradio-commits] [dump1090] 365/373: restore these from upstream

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch backport
in repository dump1090.

commit 98a9d614094d647429b8f7f4e3adfdcef4939103
Author: Matthew Ernisse <mernisse at ub3rgeek.net>
Date:   Sun Oct 19 14:24:10 2014 -0400

    restore these from upstream
---
 makedump1090 | 27 +++++++++++++++++++++++++++
 makeppup1090 | 27 +++++++++++++++++++++++++++
 makeview1090 | 27 +++++++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/makedump1090 b/makedump1090
new file mode 100644
index 0000000..4d3fccb
--- /dev/null
+++ b/makedump1090
@@ -0,0 +1,27 @@
+#
+# When building a package or installing otherwise in the system, make
+# sure that the variable PREFIX is defined, e.g. make PREFIX=/usr/local
+#
+PROGNAME=dump1090
+
+ifdef PREFIX
+BINDIR=$(PREFIX)/bin
+SHAREDIR=$(PREFIX)/share/$(PROGNAME)
+EXTRACFLAGS=-DHTMLPATH=\"$(SHAREDIR)\"
+endif
+
+CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
+LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
+CC=gcc
+
+
+all: dump1090
+
+%.o: %.c
+	$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
+
+dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
+	$(CC) -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS) $(LDFLAGS)
+
+clean:
+	rm -f *.o dump1090
diff --git a/makeppup1090 b/makeppup1090
new file mode 100644
index 0000000..9df60aa
--- /dev/null
+++ b/makeppup1090
@@ -0,0 +1,27 @@
+#
+# When building a package or installing otherwise in the system, make
+# sure that the variable PREFIX is defined, e.g. make PREFIX=/usr/local
+#
+PROGNAME=ppup1090
+
+ifdef PREFIX
+BINDIR=$(PREFIX)/bin
+SHAREDIR=$(PREFIX)/share/$(PROGNAME)
+EXTRACFLAGS=-DHTMLPATH=\"$(SHAREDIR)\"
+endif
+
+CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
+LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
+CC=gcc
+
+
+all: ppup1090
+
+%.o: %.c
+	$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
+
+ppup1090: ppup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
+	$(CC) -g -o ppup1090 ppup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o coaa1090.obj $(LIBS) $(LDFLAGS)
+
+clean:
+	rm -f *.o ppup1090
diff --git a/makeview1090 b/makeview1090
new file mode 100644
index 0000000..6cb76af
--- /dev/null
+++ b/makeview1090
@@ -0,0 +1,27 @@
+#
+# When building a package or installing otherwise in the system, make
+# sure that the variable PREFIX is defined, e.g. make PREFIX=/usr/local
+#
+PROGNAME=view1090
+
+ifdef PREFIX
+BINDIR=$(PREFIX)/bin
+SHAREDIR=$(PREFIX)/share/$(PROGNAME)
+EXTRACFLAGS=-DHTMLPATH=\"$(SHAREDIR)\"
+endif
+
+CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
+LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
+CC=gcc
+
+
+all: view1090
+
+%.o: %.c
+	$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
+
+view1090: view1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
+	$(CC) -g -o view1090 view1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS) $(LDFLAGS)
+
+clean:
+	rm -f *.o view1090

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list