tftpd: Canonicalize myaddr before address_is_local()
[tftp-hpa.git] / MCONFIG.in
blob2660f7e3dd3acc270ad47da2d31c47f1cd228b66
1 ## -*- makefile -*- ------------------------------------------------------
2 ##   
3 ##   Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
4 ##
5 ##   This program is free software available under the same license
6 ##   as the "OpenBSD" operating system, distributed at
7 ##   http://www.openbsd.org/.
8 ##
9 ## ----------------------------------------------------------------------- 
12 ## MCONFIG.in
14 ## Basic Makefile definitions
17 # Source and object root
18 SRCROOT     = @SRCROOT@
19 OBJROOT     = @OBJROOT@
21 # Prefixes
22 prefix      = @prefix@
23 exec_prefix = @exec_prefix@
25 # Directory for user binaries
26 BINDIR  = @bindir@
28 # Man page tree
29 MANDIR  = @mandir@
31 # System binaries
32 SBINDIR = @sbindir@
34 # Data root directory
35 datarootdir = @datarootdir@
37 # Binary suffixes
38 O = @OBJEXT@
39 X = @EXEEXT@
41 # Install into alternate root area, e.g. for package generation
42 INSTALLROOT = 
44 # Link
45 LN_S            = @LN_S@
47 # Install program
48 INSTALL         = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA    = @INSTALL_DATA@
52 # Compiler and compiler flags
53 CC      = @CC@
54 CFLAGS  = @CFLAGS@ -I$(SRCROOT)
56 # Link flags
57 LDFLAGS = @LDFLAGS@
59 # Libraries (client and server)
60 TFTP_LIBS  = ../common/libcommon.a @TFTP_LIBS@
61 TFTPD_LIBS = ../common/libcommon.a @TFTPD_LIBS@
63 # Additional library we need to build
64 LIBOBJS = @LIBOBJS@
66 # Additional tftpd objects we need to build
67 TFTPDOBJS = @TFTPDOBJS@
69 # ar and ranlib (for making libraries)
70 AR      = ar cq
71 RANLIB  = @RANLIB@