config.make.in 2.77 KB
Newer Older
1 2 3
# Makefile settings shared between Makefiles.

CC = @CC@
4
CXX = @CXX@
5
CFLAGS = @CFLAGS@
6
CXXFLAGS = @CXXFLAGS@
7 8 9 10 11 12 13
CCPIC = @CCPIC@
CCPIC_MAYBE = @CCPIC_MAYBE@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
LIBOBJS = @LIBOBJS@
14
EMULATOR = @EMULATOR@
Niels Möller's avatar
Niels Möller committed
15
NM = @NM@
16 17 18 19

OBJEXT = @OBJEXT@
EXEEXT = @EXEEXT@

Niels Möller's avatar
Niels Möller committed
20 21 22
CC_FOR_BUILD = @CC_FOR_BUILD@
EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@

23 24 25 26 27 28 29 30 31 32
DEP_FLAGS = @DEP_FLAGS@
DEP_PROCESS = @DEP_PROCESS@

PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@

SHLIBCFLAGS = @SHLIBCFLAGS@
Niels Möller's avatar
Niels Möller committed
33 34 35

LIBNETTLE_MAJOR = @LIBNETTLE_MAJOR@
LIBNETTLE_MINOR = @LIBNETTLE_MINOR@
36
LIBNETTLE_SONAME = @LIBNETTLE_SONAME@
Niels Möller's avatar
Niels Möller committed
37
LIBNETTLE_FILE = @LIBNETTLE_FILE@
38
LIBNETTLE_FILE_SRC = @LIBNETTLE_FILE_SRC@
Niels Möller's avatar
Niels Möller committed
39 40 41 42 43 44
LIBNETTLE_FORLINK = @LIBNETTLE_FORLINK@
LIBNETTLE_LIBS = @LIBNETTLE_LIBS@
LIBNETTLE_LINK = @LIBNETTLE_LINK@

LIBHOGWEED_MAJOR = @LIBHOGWEED_MAJOR@
LIBHOGWEED_MINOR = @LIBHOGWEED_MINOR@
45
LIBHOGWEED_SONAME = @LIBHOGWEED_SONAME@
Niels Möller's avatar
Niels Möller committed
46
LIBHOGWEED_FILE = @LIBHOGWEED_FILE@
47
LIBHOGWEED_FILE_SRC = @LIBHOGWEED_FILE_SRC@
Niels Möller's avatar
Niels Möller committed
48 49 50
LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@
LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@
LIBHOGWEED_LINK = @LIBHOGWEED_LINK@
51

52 53
GMP_NUMB_BITS = @GMP_NUMB_BITS@

54
AR = @AR@
55 56 57 58 59 60
ARFLAGS = cru
AUTOCONF = autoconf
AUTOHEADER = autoheader
M4 = @M4@
MAKEINFO = makeinfo
RANLIB = @RANLIB@
61
LN_S = @LN_S@
62 63 64

prefix	=	@prefix@
exec_prefix =	@exec_prefix@
65
datarootdir =	@datarootdir@
66 67 68 69 70
bindir =	@bindir@
libdir =	@libdir@
includedir =	@includedir@
infodir =	@infodir@

71 72 73 74
# PRE_CPPFLAGS and PRE_LDFLAGS lets each Makefile.in prepend its own
# flags before CPPFLAGS and LDFLAGS.

COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CCPIC) $(DEP_FLAGS)
75
COMPILE_CXX = $(CXX) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(CCPIC) $(DEP_FLAGS)
76
LINK = $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
77
LINK_CXX = $(CXX) $(CXXFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
78

Niels Möller's avatar
Niels Möller committed
79 80 81 82
# Default rule. Must be here, since config.make is included before the
# usual targets.
default: all

83
# For some reason the suffixes list must be set before the rules.
84 85 86
# Otherwise BSD make won't build binaries e.g. aesdata. On the other
# hand, AIX make has the opposite idiosyncrasies to BSD, and the AIX
# compile was broken when .SUFFIXES was moved here from Makefile.in.
87 88

.SUFFIXES:
89
.SUFFIXES: .asm .s .c .$(OBJEXT) .p$(OBJEXT) .html .dvi .info .exe .pdf .ps .texinfo
90

91 92
# Disable builtin rule
%$(EXEEXT) : %.c
93
.c:
94

95 96 97
# Keep object files
.PRECIOUS: %.o

98 99 100
.PHONY: all check install uninstall clean distclean mostlyclean maintainer-clean distdir \
	all-here check-here install-here clean-here distclean-here mostlyclean-here \
	maintainer-clean-here distdir-here \
101 102 103
	install-shared install-info install-headers \
	uninstall-shared uninstall-info uninstall-headers \
	dist distcleancheck