mirror of
https://git.freestone.net/cramer/pcapmirror.git
synced 2026-03-01 09:39:25 +01:00
Compare commits
5 Commits
0.6-rocky1
...
5629b0a6d6
| Author | SHA1 | Date | |
|---|---|---|---|
| 5629b0a6d6 | |||
| 075cdbcdd2 | |||
| 25dc160f11 | |||
| 33237796c2 | |||
| a542f6ff7e |
14
Makefile
14
Makefile
@@ -1,7 +1,7 @@
|
|||||||
# Makefile for pcapmirror
|
# Makefile for pcapmirror
|
||||||
|
|
||||||
# Compiler
|
# Compiler
|
||||||
CC = gcc
|
CC = cc
|
||||||
|
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
CFLAGS = -Wall -g
|
CFLAGS = -Wall -g
|
||||||
@@ -21,6 +21,14 @@ TARGET = pcapmirror
|
|||||||
# Installation directory
|
# Installation directory
|
||||||
PREFIX = /usr
|
PREFIX = /usr
|
||||||
|
|
||||||
|
ifndef BINDIR
|
||||||
|
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef MANDIR
|
||||||
|
MANDIR = $(DESTDIR)$(PREFIX)/share/man
|
||||||
|
endif
|
||||||
|
|
||||||
# Default rule
|
# Default rule
|
||||||
all: $(TARGET) man
|
all: $(TARGET) man
|
||||||
|
|
||||||
@@ -45,8 +53,8 @@ clean:
|
|||||||
# Install the executable
|
# Install the executable
|
||||||
install: $(TARGET)
|
install: $(TARGET)
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
install -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
|
install -s $(TARGET) $(BINDIR)/$(TARGET)
|
||||||
install -D $(TARGET).8 $(DESTDIR)$(PREFIX)/share/man/man8/$(TARGET).8
|
install $(TARGET).8 $(MANDIR)/man8/$(TARGET).8
|
||||||
|
|
||||||
|
|
||||||
# Uninstall the executable
|
# Uninstall the executable
|
||||||
|
|||||||
@@ -54,10 +54,10 @@ On the original download location you will also find several prebuilt packages.
|
|||||||
### Supported Operating Systems
|
### Supported Operating Systems
|
||||||
Source is tested to build and function on the following operating systems
|
Source is tested to build and function on the following operating systems
|
||||||
|
|
||||||
* Debian Linux 12 + unstable (sid)
|
* Debian Linux 12, 13 + unstable (sid)
|
||||||
* Rocky Linux 8 + 9
|
* Rocky Linux 8, 9, 10
|
||||||
* PiOS 12 (bookworm)
|
* PiOS 12 (bookworm)
|
||||||
* OpenBSD 7.6
|
* OpenBSD 7.6, 7.7
|
||||||
* MacOS 15
|
* MacOS 15
|
||||||
|
|
||||||
Compile the program:
|
Compile the program:
|
||||||
|
|||||||
Reference in New Issue
Block a user