makefile.mk (1b8c19f4) makefile.mk (d48bb178)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34
35.IF "$(ENABLE_HUNSPELL)" != "YES"
36
37all:
38 @echo "hunspell is disabled"
39
40.ELSE
41
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34
35.IF "$(ENABLE_HUNSPELL)" != "YES"
36
37all:
38 @echo "hunspell is disabled"
39
40.ELSE
41
42TARFILE_NAME=hunspell-1.3.2
43TARFILE_MD5=3121aaf3e13e5d88dfff13fb4a5f1ab8
42TARFILE_NAME=hunspell-1.3.3
43TARFILE_MD5=4967da60b23413604c9e563beacc63b4
44
45PATCH_FILES= \
46 hunspell-cxx11-literal.patch \
47 hunspell-solaris.patch \
48 hunspell-bash.patch \
44
45PATCH_FILES= \
46 hunspell-cxx11-literal.patch \
47 hunspell-solaris.patch \
48 hunspell-bash.patch \
49 hunspell-1.3.2-overflow.patch
49 hunspell-1.3.3-overflow.patch
50
51.IF "$(GUI)"=="UNX"
52
53#relative to CONFIGURE_DIR
54CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) configure
55CONFIGURE_FLAGS= --disable-shared --with-pic
56.IF "$(COMNAME)"=="sunpro5"
57CONFIGURE_FLAGS+= CFLAGS="-xc99=none" CXXFLAGS="-I$(SOLARVER)/$(INPATH)/inc/stl -library=no%Cstd" LDFLAGS="-L$(SOLARVER)/$(INPATH)/lib -lstlport_sunpro"

--- 13 unchanged lines hidden (view full) ---

71
72OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.3.a
73
74.ENDIF # "$(GUI)"=="UNX"
75
76
77.IF "$(GUI)"=="WNT"
78.IF "$(COM)"=="GCC"
50
51.IF "$(GUI)"=="UNX"
52
53#relative to CONFIGURE_DIR
54CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) configure
55CONFIGURE_FLAGS= --disable-shared --with-pic
56.IF "$(COMNAME)"=="sunpro5"
57CONFIGURE_FLAGS+= CFLAGS="-xc99=none" CXXFLAGS="-I$(SOLARVER)/$(INPATH)/inc/stl -library=no%Cstd" LDFLAGS="-L$(SOLARVER)/$(INPATH)/lib -lstlport_sunpro"

--- 13 unchanged lines hidden (view full) ---

71
72OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.3.a
73
74.ENDIF # "$(GUI)"=="UNX"
75
76
77.IF "$(GUI)"=="WNT"
78.IF "$(COM)"=="GCC"
79PATCH_FILES=\
80 hunspell-mingw.patch
81
82CONFIGURE_ACTION=configure
83CONFIGURE_FLAGS= --disable-shared --with-pic
84# LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2
85BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
86OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.3.a
87.ELSE # GCC
88BUILD_ACTION= cd src/hunspell && cp ../win_api/config.h . && CDEFS_PRESET=-DBUILDING_LIBHUNSPELL dmake

--- 17 unchanged lines hidden ---
79
80CONFIGURE_ACTION=configure
81CONFIGURE_FLAGS= --disable-shared --with-pic
82# LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2
83BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
84OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.3.a
85.ELSE # GCC
86BUILD_ACTION= cd src/hunspell && cp ../win_api/config.h . && CDEFS_PRESET=-DBUILDING_LIBHUNSPELL dmake

--- 17 unchanged lines hidden ---