]> git.ipfire.org Git - thirdparty/git.git/blame - config.mak.uname
path: add is_ntfs_dotgit() helper
[thirdparty/git.git] / config.mak.uname
CommitLineData
e1b6dbb5
JK
1# Platform specific Makefile tweaks based on uname detection
2
3uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
4uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
5uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
6uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
7uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
8uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not')
9
10ifdef MSVC
11 # avoid the MingW and Cygwin configuration sections
12 uname_S := Windows
13 uname_O := Windows
14endif
15
16# We choose to avoid "if .. else if .. else .. endif endif"
17# because maintaining the nesting to match is a pain. If
18# we had "elif" things would have been much nicer...
19
20ifeq ($(uname_M),x86_64)
21 XDL_FAST_HASH = YesPlease
22endif
23ifeq ($(uname_S),OSF1)
24 # Need this for u_short definitions et al
25 BASIC_CFLAGS += -D_OSF_SOURCE
26 SOCKLEN_T = int
27 NO_STRTOULL = YesPlease
28 NO_NSEC = YesPlease
29endif
30ifeq ($(uname_S),Linux)
31 NO_STRLCPY = YesPlease
32 NO_MKSTEMPS = YesPlease
33 HAVE_PATHS_H = YesPlease
34 LIBC_CONTAINS_LIBINTL = YesPlease
35 HAVE_DEV_TTY = YesPlease
36endif
37ifeq ($(uname_S),GNU/kFreeBSD)
38 NO_STRLCPY = YesPlease
39 NO_MKSTEMPS = YesPlease
40 HAVE_PATHS_H = YesPlease
41 DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
42 LIBC_CONTAINS_LIBINTL = YesPlease
43endif
44ifeq ($(uname_S),UnixWare)
45 CC = cc
46 NEEDS_SOCKET = YesPlease
47 NEEDS_NSL = YesPlease
48 NEEDS_SSL_WITH_CRYPTO = YesPlease
49 NEEDS_LIBICONV = YesPlease
50 SHELL_PATH = /usr/local/bin/bash
51 NO_IPV6 = YesPlease
52 NO_HSTRERROR = YesPlease
53 NO_MKSTEMPS = YesPlease
54 BASIC_CFLAGS += -Kthread
55 BASIC_CFLAGS += -I/usr/local/include
56 BASIC_LDFLAGS += -L/usr/local/lib
57 INSTALL = ginstall
58 TAR = gtar
59 NO_STRCASESTR = YesPlease
60 NO_MEMMEM = YesPlease
61endif
62ifeq ($(uname_S),SCO_SV)
63 ifeq ($(uname_R),3.2)
64 CFLAGS = -O2
65 endif
66 ifeq ($(uname_R),5)
67 CC = cc
68 BASIC_CFLAGS += -Kthread
69 endif
70 NEEDS_SOCKET = YesPlease
71 NEEDS_NSL = YesPlease
72 NEEDS_SSL_WITH_CRYPTO = YesPlease
73 NEEDS_LIBICONV = YesPlease
74 SHELL_PATH = /usr/bin/bash
75 NO_IPV6 = YesPlease
76 NO_HSTRERROR = YesPlease
77 NO_MKSTEMPS = YesPlease
78 BASIC_CFLAGS += -I/usr/local/include
79 BASIC_LDFLAGS += -L/usr/local/lib
80 NO_STRCASESTR = YesPlease
81 NO_MEMMEM = YesPlease
82 INSTALL = ginstall
83 TAR = gtar
84endif
85ifeq ($(uname_S),Darwin)
86 NEEDS_CRYPTO_WITH_SSL = YesPlease
87 NEEDS_SSL_WITH_CRYPTO = YesPlease
88 NEEDS_LIBICONV = YesPlease
89 ifeq ($(shell expr "$(uname_R)" : '[15678]\.'),2)
90 OLD_ICONV = UnfortunatelyYes
91 endif
92 ifeq ($(shell expr "$(uname_R)" : '[15]\.'),2)
93 NO_STRLCPY = YesPlease
94 endif
95 NO_MEMMEM = YesPlease
96 USE_ST_TIMESPEC = YesPlease
97 HAVE_DEV_TTY = YesPlease
98 COMPAT_OBJS += compat/precompose_utf8.o
99 BASIC_CFLAGS += -DPRECOMPOSE_UNICODE
a42643aa 100 BASIC_CFLAGS += -DPROTECT_HFS_DEFAULT=1
e1b6dbb5
JK
101endif
102ifeq ($(uname_S),SunOS)
103 NEEDS_SOCKET = YesPlease
104 NEEDS_NSL = YesPlease
105 SHELL_PATH = /bin/bash
106 SANE_TOOL_PATH = /usr/xpg6/bin:/usr/xpg4/bin
107 NO_STRCASESTR = YesPlease
108 NO_MEMMEM = YesPlease
109 NO_MKDTEMP = YesPlease
110 NO_MKSTEMPS = YesPlease
111 NO_REGEX = YesPlease
112 NO_FNMATCH_CASEFOLD = YesPlease
113 NO_MSGFMT_EXTENDED_OPTIONS = YesPlease
114 HAVE_DEV_TTY = YesPlease
115 ifeq ($(uname_R),5.6)
116 SOCKLEN_T = int
117 NO_HSTRERROR = YesPlease
118 NO_IPV6 = YesPlease
119 NO_SOCKADDR_STORAGE = YesPlease
120 NO_UNSETENV = YesPlease
121 NO_SETENV = YesPlease
122 NO_STRLCPY = YesPlease
123 NO_STRTOUMAX = YesPlease
124 GIT_TEST_CMP = cmp
125 endif
126 ifeq ($(uname_R),5.7)
127 NEEDS_RESOLV = YesPlease
128 NO_IPV6 = YesPlease
129 NO_SOCKADDR_STORAGE = YesPlease
130 NO_UNSETENV = YesPlease
131 NO_SETENV = YesPlease
132 NO_STRLCPY = YesPlease
133 NO_STRTOUMAX = YesPlease
134 GIT_TEST_CMP = cmp
135 endif
136 ifeq ($(uname_R),5.8)
137 NO_UNSETENV = YesPlease
138 NO_SETENV = YesPlease
139 NO_STRTOUMAX = YesPlease
140 GIT_TEST_CMP = cmp
141 endif
142 ifeq ($(uname_R),5.9)
143 NO_UNSETENV = YesPlease
144 NO_SETENV = YesPlease
145 NO_STRTOUMAX = YesPlease
146 GIT_TEST_CMP = cmp
147 endif
148 INSTALL = /usr/ucb/install
149 TAR = gtar
150 BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__ -DHAVE_ALLOCA_H
151endif
152ifeq ($(uname_O),Cygwin)
153 ifeq ($(shell expr "$(uname_R)" : '1\.[1-6]\.'),4)
154 NO_D_TYPE_IN_DIRENT = YesPlease
155 NO_D_INO_IN_DIRENT = YesPlease
156 NO_STRCASESTR = YesPlease
157 NO_MEMMEM = YesPlease
158 NO_MKSTEMPS = YesPlease
159 NO_SYMLINK_HEAD = YesPlease
160 NO_IPV6 = YesPlease
161 OLD_ICONV = UnfortunatelyYes
103d530f 162 NO_THREAD_SAFE_PREAD = YesPlease
f593ef77
ML
163 # There are conflicting reports about this.
164 # On some boxes NO_MMAP is needed, and not so elsewhere.
165 # Try commenting this out if you suspect MMAP is more efficient
166 NO_MMAP = YesPlease
92f63d2b
ML
167 else
168 NO_REGEX = UnfortunatelyYes
e1b6dbb5 169 endif
e1b6dbb5
JK
170 NEEDS_LIBICONV = YesPlease
171 NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
e1b6dbb5 172 NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
e1b6dbb5 173 X = .exe
e1b6dbb5
JK
174 UNRELIABLE_FSTAT = UnfortunatelyYes
175 SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
176endif
177ifeq ($(uname_S),FreeBSD)
178 NEEDS_LIBICONV = YesPlease
179 OLD_ICONV = YesPlease
180 NO_MEMMEM = YesPlease
181 BASIC_CFLAGS += -I/usr/local/include
182 BASIC_LDFLAGS += -L/usr/local/lib
183 DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
184 USE_ST_TIMESPEC = YesPlease
185 ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
186 PTHREAD_LIBS = -pthread
187 NO_UINTMAX_T = YesPlease
188 NO_STRTOUMAX = YesPlease
189 endif
190 PYTHON_PATH = /usr/local/bin/python
191 HAVE_PATHS_H = YesPlease
192endif
193ifeq ($(uname_S),OpenBSD)
194 NO_STRCASESTR = YesPlease
195 NO_MEMMEM = YesPlease
196 USE_ST_TIMESPEC = YesPlease
197 NEEDS_LIBICONV = YesPlease
198 BASIC_CFLAGS += -I/usr/local/include
199 BASIC_LDFLAGS += -L/usr/local/lib
200 HAVE_PATHS_H = YesPlease
201endif
202ifeq ($(uname_S),NetBSD)
203 ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
204 NEEDS_LIBICONV = YesPlease
205 endif
206 BASIC_CFLAGS += -I/usr/pkg/include
207 BASIC_LDFLAGS += -L/usr/pkg/lib $(CC_LD_DYNPATH)/usr/pkg/lib
208 USE_ST_TIMESPEC = YesPlease
209 NO_MKSTEMPS = YesPlease
210 HAVE_PATHS_H = YesPlease
211endif
212ifeq ($(uname_S),AIX)
213 DEFAULT_PAGER = more
214 NO_STRCASESTR = YesPlease
215 NO_MEMMEM = YesPlease
216 NO_MKDTEMP = YesPlease
217 NO_MKSTEMPS = YesPlease
218 NO_STRLCPY = YesPlease
219 NO_NSEC = YesPlease
220 FREAD_READS_DIRECTORIES = UnfortunatelyYes
221 INTERNAL_QSORT = UnfortunatelyYes
222 NEEDS_LIBICONV = YesPlease
223 BASIC_CFLAGS += -D_LARGE_FILES
224 ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
225 NO_PTHREADS = YesPlease
226 else
227 PTHREAD_LIBS = -lpthread
228 endif
229 ifeq ($(shell expr "$(uname_V).$(uname_R)" : '5\.1'),3)
230 INLINE = ''
231 endif
232 GIT_TEST_CMP = cmp
233endif
234ifeq ($(uname_S),GNU)
235 # GNU/Hurd
236 NO_STRLCPY = YesPlease
237 NO_MKSTEMPS = YesPlease
238 HAVE_PATHS_H = YesPlease
239 LIBC_CONTAINS_LIBINTL = YesPlease
240endif
241ifeq ($(uname_S),IRIX)
242 NO_SETENV = YesPlease
243 NO_UNSETENV = YesPlease
244 NO_STRCASESTR = YesPlease
245 NO_MEMMEM = YesPlease
246 NO_MKSTEMPS = YesPlease
247 NO_MKDTEMP = YesPlease
248 # When compiled with the MIPSpro 7.4.4m compiler, and without pthreads
249 # (i.e. NO_PTHREADS is set), and _with_ MMAP (i.e. NO_MMAP is not set),
250 # git dies with a segmentation fault when trying to access the first
251 # entry of a reflog. The conservative choice is made to always set
252 # NO_MMAP. If you suspect that your compiler is not affected by this
253 # issue, comment out the NO_MMAP statement.
254 NO_MMAP = YesPlease
255 NO_REGEX = YesPlease
256 NO_FNMATCH_CASEFOLD = YesPlease
257 SNPRINTF_RETURNS_BOGUS = YesPlease
258 SHELL_PATH = /usr/gnu/bin/bash
259 NEEDS_LIBGEN = YesPlease
260endif
261ifeq ($(uname_S),IRIX64)
262 NO_SETENV = YesPlease
263 NO_UNSETENV = YesPlease
264 NO_STRCASESTR = YesPlease
265 NO_MEMMEM = YesPlease
266 NO_MKSTEMPS = YesPlease
267 NO_MKDTEMP = YesPlease
268 # When compiled with the MIPSpro 7.4.4m compiler, and without pthreads
269 # (i.e. NO_PTHREADS is set), and _with_ MMAP (i.e. NO_MMAP is not set),
270 # git dies with a segmentation fault when trying to access the first
271 # entry of a reflog. The conservative choice is made to always set
272 # NO_MMAP. If you suspect that your compiler is not affected by this
273 # issue, comment out the NO_MMAP statement.
274 NO_MMAP = YesPlease
275 NO_REGEX = YesPlease
276 NO_FNMATCH_CASEFOLD = YesPlease
277 SNPRINTF_RETURNS_BOGUS = YesPlease
278 SHELL_PATH = /usr/gnu/bin/bash
279 NEEDS_LIBGEN = YesPlease
280endif
281ifeq ($(uname_S),HP-UX)
282 INLINE = __inline
283 NO_IPV6 = YesPlease
284 NO_SETENV = YesPlease
285 NO_STRCASESTR = YesPlease
286 NO_MEMMEM = YesPlease
287 NO_MKSTEMPS = YesPlease
288 NO_STRLCPY = YesPlease
289 NO_MKDTEMP = YesPlease
290 NO_UNSETENV = YesPlease
291 NO_HSTRERROR = YesPlease
292 NO_SYS_SELECT_H = YesPlease
293 NO_FNMATCH_CASEFOLD = YesPlease
294 SNPRINTF_RETURNS_BOGUS = YesPlease
295 NO_NSEC = YesPlease
296 ifeq ($(uname_R),B.11.00)
297 NO_INET_NTOP = YesPlease
298 NO_INET_PTON = YesPlease
299 endif
300 ifeq ($(uname_R),B.10.20)
301 # Override HP-UX 11.x setting:
302 INLINE =
303 SOCKLEN_T = size_t
304 NO_PREAD = YesPlease
305 NO_INET_NTOP = YesPlease
306 NO_INET_PTON = YesPlease
307 endif
308 GIT_TEST_CMP = cmp
309endif
310ifeq ($(uname_S),Windows)
311 GIT_VERSION := $(GIT_VERSION).MSVC
312 pathsep = ;
313 NO_PREAD = YesPlease
314 NEEDS_CRYPTO_WITH_SSL = YesPlease
315 NO_LIBGEN_H = YesPlease
316 NO_POLL = YesPlease
317 NO_SYMLINK_HEAD = YesPlease
318 NO_IPV6 = YesPlease
319 NO_UNIX_SOCKETS = YesPlease
320 NO_SETENV = YesPlease
321 NO_UNSETENV = YesPlease
322 NO_STRCASESTR = YesPlease
323 NO_STRLCPY = YesPlease
e1b6dbb5
JK
324 NO_FNMATCH = YesPlease
325 NO_MEMMEM = YesPlease
326 # NEEDS_LIBICONV = YesPlease
327 NO_ICONV = YesPlease
328 NO_STRTOUMAX = YesPlease
e1b6dbb5
JK
329 NO_MKDTEMP = YesPlease
330 NO_MKSTEMPS = YesPlease
331 SNPRINTF_RETURNS_BOGUS = YesPlease
332 NO_SVN_TESTS = YesPlease
333 NO_PERL_MAKEMAKER = YesPlease
334 RUNTIME_PREFIX = YesPlease
335 NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
336 NO_NSEC = YesPlease
337 USE_WIN32_MMAP = YesPlease
338 # USE_NED_ALLOCATOR = YesPlease
339 UNRELIABLE_FSTAT = UnfortunatelyYes
340 OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
341 NO_REGEX = YesPlease
342 NO_CURL = YesPlease
bad866a2 343 NO_GETTEXT = YesPlease
e1b6dbb5
JK
344 NO_PYTHON = YesPlease
345 BLK_SHA1 = YesPlease
e0492c5b 346 ETAGS_TARGET = ETAGS
4ab75274
RJ
347 NO_INET_PTON = YesPlease
348 NO_INET_NTOP = YesPlease
e1b6dbb5
JK
349 NO_POSIX_GOODIES = UnfortunatelyYes
350 NATIVE_CRLF = YesPlease
351 DEFAULT_HELP_FORMAT = html
352
353 CC = compat/vcbuild/scripts/clink.pl
354 AR = compat/vcbuild/scripts/lib.pl
355 CFLAGS =
356 BASIC_CFLAGS = -nologo -I. -I../zlib -Icompat/vcbuild -Icompat/vcbuild/include -DWIN32 -D_CONSOLE -DHAVE_STRING_H -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE
357 COMPAT_OBJS = compat/msvc.o compat/winansi.o \
358 compat/win32/pthread.o compat/win32/syslog.o \
359 compat/win32/dirent.o
360 COMPAT_CFLAGS = -D__USE_MINGW_ACCESS -DNOGDI -DHAVE_STRING_H -DHAVE_ALLOCA_H -Icompat -Icompat/regex -Icompat/win32 -DSTRIP_EXTENSION=\".exe\"
361 BASIC_LDFLAGS = -IGNORE:4217 -IGNORE:4049 -NOLOGO -SUBSYSTEM:CONSOLE -NODEFAULTLIB:MSVCRT.lib
362 EXTLIBS = user32.lib advapi32.lib shell32.lib wininet.lib ws2_32.lib
363 PTHREAD_LIBS =
364 lib =
365ifndef DEBUG
366 BASIC_CFLAGS += -GL -Os -MT
367 BASIC_LDFLAGS += -LTCG
368 AR += -LTCG
369else
370 BASIC_CFLAGS += -Zi -MTd
371endif
372 X = .exe
373endif
374ifeq ($(uname_S),Interix)
375 NO_INITGROUPS = YesPlease
376 NO_IPV6 = YesPlease
377 NO_MEMMEM = YesPlease
378 NO_MKDTEMP = YesPlease
379 NO_STRTOUMAX = YesPlease
380 NO_NSEC = YesPlease
381 NO_MKSTEMPS = YesPlease
382 ifeq ($(uname_R),3.5)
383 NO_INET_NTOP = YesPlease
384 NO_INET_PTON = YesPlease
385 NO_SOCKADDR_STORAGE = YesPlease
386 NO_FNMATCH_CASEFOLD = YesPlease
387 endif
388 ifeq ($(uname_R),5.2)
389 NO_INET_NTOP = YesPlease
390 NO_INET_PTON = YesPlease
391 NO_SOCKADDR_STORAGE = YesPlease
392 NO_FNMATCH_CASEFOLD = YesPlease
393 endif
394endif
395ifeq ($(uname_S),Minix)
396 NO_IPV6 = YesPlease
397 NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
398 NO_NSEC = YesPlease
399 NEEDS_LIBGEN =
400 NEEDS_CRYPTO_WITH_SSL = YesPlease
401 NEEDS_IDN_WITH_CURL = YesPlease
402 NEEDS_SSL_WITH_CURL = YesPlease
403 NEEDS_RESOLV =
404 NO_HSTRERROR = YesPlease
405 NO_MMAP = YesPlease
406 NO_CURL =
407 NO_EXPAT =
408endif
409ifeq ($(uname_S),NONSTOP_KERNEL)
410 # Needs some C99 features, "inline" is just one of them.
411 # INLINE='' would just replace one set of warnings with another and
412 # still not compile in c89 mode, due to non-const array initializations.
413 CC = cc -c99
414 # Disable all optimization, seems to result in bad code, with -O or -O2
415 # or even -O1 (default), /usr/local/libexec/git-core/git-pack-objects
416 # abends on "git push". Needs more investigation.
417 CFLAGS = -g -O0
418 # We'd want it to be here.
419 prefix = /usr/local
420 # Our's are in ${prefix}/bin (perl might also be in /usr/bin/perl).
421 PERL_PATH = ${prefix}/bin/perl
422 PYTHON_PATH = ${prefix}/bin/python
423
424 # As detected by './configure'.
425 # Missdetected, hence commented out, see below.
426 #NO_CURL = YesPlease
427 # Added manually, see above.
428 NEEDS_SSL_WITH_CURL = YesPlease
429 HAVE_LIBCHARSET_H = YesPlease
430 HAVE_STRINGS_H = YesPlease
431 NEEDS_LIBICONV = YesPlease
432 NEEDS_LIBINTL_BEFORE_LIBICONV = YesPlease
433 NO_SYS_SELECT_H = UnfortunatelyYes
434 NO_D_TYPE_IN_DIRENT = YesPlease
435 NO_HSTRERROR = YesPlease
436 NO_STRCASESTR = YesPlease
437 NO_FNMATCH_CASEFOLD = YesPlease
438 NO_MEMMEM = YesPlease
439 NO_STRLCPY = YesPlease
440 NO_SETENV = YesPlease
441 NO_UNSETENV = YesPlease
442 NO_MKDTEMP = YesPlease
443 NO_MKSTEMPS = YesPlease
444 # Currently libiconv-1.9.1.
445 OLD_ICONV = UnfortunatelyYes
446 NO_REGEX = YesPlease
447 NO_PTHREADS = UnfortunatelyYes
448
449 # Not detected (nor checked for) by './configure'.
450 # We don't have SA_RESTART on NonStop, unfortunalety.
451 COMPAT_CFLAGS += -DSA_RESTART=0
452 # Apparently needed in compat/fnmatch/fnmatch.c.
453 COMPAT_CFLAGS += -DHAVE_STRING_H=1
454 NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
455 NO_NSEC = YesPlease
456 NO_PREAD = YesPlease
457 NO_MMAP = YesPlease
458 NO_POLL = YesPlease
459 NO_INTPTR_T = UnfortunatelyYes
460 # Bug report 10-120822-4477 submitted to HP NonStop development.
461 MKDIR_WO_TRAILING_SLASH = YesPlease
462 # RFE 10-120912-4693 submitted to HP NonStop development.
463 NO_SETITIMER = UnfortunatelyYes
464 SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
465 SHELL_PATH = /usr/local/bin/bash
466 # as of H06.25/J06.14, we might better use this
467 #SHELL_PATH = /usr/coreutils/bin/bash
468endif
469ifneq (,$(findstring MINGW,$(uname_S)))
470 pathsep = ;
471 NO_PREAD = YesPlease
472 NEEDS_CRYPTO_WITH_SSL = YesPlease
473 NO_LIBGEN_H = YesPlease
474 NO_POLL = YesPlease
475 NO_SYMLINK_HEAD = YesPlease
476 NO_UNIX_SOCKETS = YesPlease
477 NO_SETENV = YesPlease
478 NO_UNSETENV = YesPlease
479 NO_STRCASESTR = YesPlease
480 NO_STRLCPY = YesPlease
e1b6dbb5
JK
481 NO_FNMATCH = YesPlease
482 NO_MEMMEM = YesPlease
483 NEEDS_LIBICONV = YesPlease
e1b6dbb5
JK
484 NO_STRTOUMAX = YesPlease
485 NO_MKDTEMP = YesPlease
486 NO_MKSTEMPS = YesPlease
487 NO_SVN_TESTS = YesPlease
488 NO_PERL_MAKEMAKER = YesPlease
489 RUNTIME_PREFIX = YesPlease
490 NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
491 NO_NSEC = YesPlease
492 USE_WIN32_MMAP = YesPlease
493 USE_NED_ALLOCATOR = YesPlease
494 UNRELIABLE_FSTAT = UnfortunatelyYes
495 OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
496 NO_REGEX = YesPlease
497 NO_PYTHON = YesPlease
498 BLK_SHA1 = YesPlease
499 ETAGS_TARGET = ETAGS
500 NO_INET_PTON = YesPlease
501 NO_INET_NTOP = YesPlease
502 NO_POSIX_GOODIES = UnfortunatelyYes
65db0443 503 DEFAULT_HELP_FORMAT = html
fa93bb20 504 COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -DNOGDI -Icompat -Icompat/win32
e1b6dbb5
JK
505 COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
506 COMPAT_OBJS += compat/mingw.o compat/winansi.o \
507 compat/win32/pthread.o compat/win32/syslog.o \
508 compat/win32/dirent.o
fb990703 509 BASIC_LDFLAGS += -Wl,--large-address-aware
e1b6dbb5 510 EXTLIBS += -lws2_32
ce39c2e0 511 GITLIBS += git.res
e1b6dbb5 512 PTHREAD_LIBS =
ce39c2e0 513 RC = windres -O coff
95f31e9a 514 NATIVE_CRLF = YesPlease
e1b6dbb5
JK
515 X = .exe
516 SPARSE_FLAGS = -Wno-one-bit-signed-bitfield
517ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
518 htmldir = doc/git/html/
519 prefix =
520 INSTALL = /bin/install
521 EXTLIBS += /mingw/lib/libz.a
522 NO_R_TO_GCC_LINKER = YesPlease
523 INTERNAL_QSORT = YesPlease
524 HAVE_LIBCHARSET_H = YesPlease
ca354871 525 NO_GETTEXT = YesPlease
e1b6dbb5
JK
526else
527 NO_CURL = YesPlease
528endif
529endif
530ifeq ($(uname_S),QNX)
531 COMPAT_CFLAGS += -DSA_RESTART=0
081fd8d0 532 EXPAT_NEEDS_XMLPARSE_H = YesPlease
e1b6dbb5
JK
533 HAVE_STRINGS_H = YesPlease
534 NEEDS_SOCKET = YesPlease
535 NO_FNMATCH_CASEFOLD = YesPlease
536 NO_GETPAGESIZE = YesPlease
537 NO_ICONV = YesPlease
538 NO_MEMMEM = YesPlease
539 NO_MKDTEMP = YesPlease
540 NO_MKSTEMPS = YesPlease
541 NO_NSEC = YesPlease
542 NO_PTHREADS = YesPlease
543 NO_R_TO_GCC_LINKER = YesPlease
544 NO_STRCASESTR = YesPlease
545 NO_STRLCPY = YesPlease
546endif