jdk/make/java/zip/Makefile
changeset 8993 9076d969ffdf
parent 8583 15dea0fdc2ea
child 9050 26c2c1de1631
equal deleted inserted replaced
8992:6a3062c1416f 8993:9076d969ffdf
     1 #
     1 #
     2 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    48 	java/util/zip/ZipFile.java \
    48 	java/util/zip/ZipFile.java \
    49 	java/util/zip/ZipEntry.java \
    49 	java/util/zip/ZipEntry.java \
    50 	java/util/jar/JarFile.java
    50 	java/util/jar/JarFile.java
    51 
    51 
    52 ifneq ($(PLATFORM), windows)
    52 ifneq ($(PLATFORM), windows)
    53 OTHER_CFLAGS += -DUSE_MMAP
    53   # Use mmap unless explicitly disallowed
       
    54   ifneq ($(LIBZIP_CAN_USE_MMAP),false)
       
    55     OTHER_CFLAGS += -DUSE_MMAP
       
    56   endif
    54 endif
    57 endif
    55 
    58 
    56 #
    59 #
    57 # Library to compile.
    60 # Library to compile.
    58 #
    61 #