summaryrefslogtreecommitdiff
path: root/MCONFIG.in
blob: 2660f7e3dd3acc270ad47da2d31c47f1cd228b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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@