forked from blackav/ejudge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcsp_header.make.in
More file actions
58 lines (50 loc) · 1.56 KB
/
Copy pathcsp_header.make.in
File metadata and controls
58 lines (50 loc) · 1.56 KB
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
# -*- Makefile -*-
# Copyright (C) 2014-2018 Alexander Chernov <cher@ejudge.ru> */
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
datarootdir=@datarootdir@
datadir=@datadir@
includedir=@includedir@
libdir=@libdir@
libexecdir=@libexecdir@
cgibindir=@cgibindir@
lib32dir=@lib32dir@
CGI_PROG_SUFFIX=@ac_cv_cgi_suffix@
STATIC=@ac_cv_static@
NO_KERNEL=@ac_cv_no_kernel@
ENABLE_NLS=@ac_cv_nls@
NO_RPATH=@ac_cv_no_rpath@
WPTRSIGN=@ac_cv_gcc_wno_pointer_sign@ @ac_cv_gcc_wno_format_truncation@
XGETTEXT=@XGETTEXT@
MSGMERGE=@MSGMERGE@
MSGFMT=@MSGFMT@
WERROR=@ac_cv_werror_flag@
NEED32=@ac_cv_need_32@
NEED64=@ac_cv_need_64@
ifdef RELEASE
CDEBUGFLAGS=-O2 -Wall -DNDEBUG -DRELEASE ${WERROR}
else
CDEBUGFLAGS=-g -Wall ${WERROR}
endif
CEXTRAFLAGS=
LDEXTRAFLAGS=
EXTRALIBS=
CCOMPFLAGS=-D_GNU_SOURCE -std=gnu11 -I$(includedir) -g -DPIC -fPIC
LDCOMPFLAGS= -g -shared
EXESFX=
LDLIBS=${EXTRALIBS} -lz $(LIBINTL) $(LIBICONV) $(LIBLIBICONV) -lm
CFLAGS=${CDEBUGFLAGS} ${CCOMPFLAGS} ${CEXTRAFLAGS} ${WPTRSIGN}
LDFLAGS=${CDEBUGFLAGS} ${LDCOMPFLAGS} ${LDEXTRAFLAGS}
CC=gcc
LD=gcc
EXPAT_LIB=-lexpat