Integrate with autotools

This commit is contained in:
Dmitry Podgorny
2020-05-31 00:09:21 +03:00
parent bfbe6ba67a
commit 448fea22c2
19 changed files with 83 additions and 17 deletions

16
.gitignore vendored
View File

@@ -1,3 +1,19 @@
Makefile
Makefile.in
configure
install-sh
missing
compile
aclocal.m4
config.log
config.status
config.guess
config.sub
depcomp
autom4te.cache
.dirstamp
.deps
*.o
ipx_configure
ipx_interface
ipx_internal_net

2
AUTHORS Normal file
View File

@@ -0,0 +1,2 @@
Original work: Greg Page
Further development since version 1.2: Dmitry Podgorny <pasis.ua@gmail.com>

7
ChangeLog Normal file
View File

@@ -0,0 +1,7 @@
1.2
- ipx_interface: fixed type mismatch error which leads to infinite
loop on arm64 board
- Updated paths to procfs files (patch from Gentoo)
1.1
- Original ipx-1.1 package downloaded from a Gentoo distfiles mirror

0
INSTALL Normal file
View File

View File

@@ -1,17 +0,0 @@
CFLAGS = -O2 -Wall
UTILS = ipx_configure ipx_interface ipx_internal_net ipx_route
CC=gcc
all: $(UTILS)
clean:
rm -f $(UTILS) *.o rip sap ipxrcv ipxsend
install: $(UTILS)
for i in $(UTILS); \
do \
install $$i ${DESTDIR}/sbin; \
install $$i.8 ${DESTDIR}/usr/share/man/man8; \
done
# install init.ipx /etc/rc.d/init.d/ipx
# install -m 0644 config.ipx /etc/sysconfig/ipx

38
Makefile.am Normal file
View File

@@ -0,0 +1,38 @@
AM_CFLAGS = -Wall -Wextra
bin_PROGRAMS = \
ipx_configure \
ipx_interface \
ipx_internal_net \
ipx_route
ipx_configure_SOURCES = \
src/ipx_configure.c
ipx_interface_SOURCES = \
src/ipx_interface.c
ipx_internal_net_SOURCES = \
src/ipx_internal_net.c
ipx_route_SOURCES = \
src/ipx_route.c
man_MANS = \
docs/ipx_configure.8 \
docs/ipx_interface.8 \
docs/ipx_internal_net.8 \
docs/ipx_route.8
samples_files = \
Samples/ipxrcv.c \
Samples/ipxsend.c \
Samples/rip.c \
Samples/sap.c
EXTRA_DIST = \
$(man_MANS) \
$(samples_files) \
autogen.sh \
scripts/config.ipx \
scripts/init.ipx

8
NEWS Normal file
View File

@@ -0,0 +1,8 @@
29 May 2020
-----------
ipx-utils continues development of usersapce IPX utilities for Linux. Since
sunsite.unc.edu is not available anymore, latest version of the utilities can
be downloaded at https://github.com/pasis/ipx-utils. Also, IPX support was
removed in Linux 4.18 and for newer kernels you will need external ipx module
which can be downloaded at https://github.com/pasis/ipx.

3
autogen.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
autoreconf -i

9
configure.ac Normal file
View File

@@ -0,0 +1,9 @@
AC_INIT([ipx-utils], [1.2], [pasis.ua@gmail.com])
AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_FILES([Makefile])
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT