mirror of
https://kernel.googlesource.com/pub/scm/network/tftp/tftp-hpa
synced 2025-04-26 01:49:52 +03:00
autoconf: modernize and modularize
Use my modular m4 library used for other things as well; update autoconf macros to 2.71 standard. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
33051a296c
commit
fefaa2cc5c
35 changed files with 680 additions and 461 deletions
71
config/MCONFIG.in
Normal file
71
config/MCONFIG.in
Normal file
|
@ -0,0 +1,71 @@
|
|||
## -*- makefile -*- ------------------------------------------------------
|
||||
##
|
||||
## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
|
||||
##
|
||||
## This program is free software available under the same license
|
||||
## as the "OpenBSD" operating system, distributed at
|
||||
## http://www.openbsd.org/.
|
||||
##
|
||||
## -----------------------------------------------------------------------
|
||||
|
||||
##
|
||||
## MCONFIG.in
|
||||
##
|
||||
## Basic Makefile definitions
|
||||
##
|
||||
|
||||
# Source and object root
|
||||
SRCROOT = @SRCROOT@
|
||||
OBJROOT = @OBJROOT@
|
||||
|
||||
# Prefixes
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
# Directory for user binaries
|
||||
BINDIR = @bindir@
|
||||
|
||||
# Man page tree
|
||||
MANDIR = @mandir@
|
||||
|
||||
# System binaries
|
||||
SBINDIR = @sbindir@
|
||||
|
||||
# Data root directory
|
||||
datarootdir = @datarootdir@
|
||||
|
||||
# Binary suffixes
|
||||
O = @OBJEXT@
|
||||
X = @EXEEXT@
|
||||
|
||||
# Install into alternate root area, e.g. for package generation
|
||||
INSTALLROOT =
|
||||
|
||||
# Link
|
||||
LN_S = @LN_S@
|
||||
|
||||
# Install program
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
# Compiler and compiler flags
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@ -I$(SRCROOT)
|
||||
|
||||
# Link flags
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
# Libraries (client and server)
|
||||
TFTP_LIBS = ../common/libcommon.a @TFTP_LIBS@
|
||||
TFTPD_LIBS = ../common/libcommon.a @TFTPD_LIBS@
|
||||
|
||||
# Additional library we need to build
|
||||
LIBOBJS = @LIBOBJS@
|
||||
|
||||
# Additional tftpd objects we need to build
|
||||
TFTPDOBJS = @TFTPDOBJS@
|
||||
|
||||
# ar and ranlib (for making libraries)
|
||||
AR = ar cq
|
||||
RANLIB = @RANLIB@
|
Loading…
Add table
Add a link
Reference in a new issue