suffix.mk (1228B)
1 # 2 # This Source Code Form is subject to the terms of the Mozilla Public 3 # License, v. 2.0. If a copy of the MPL was not distributed with this 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 ####################################################################### 7 # Master "Core Components" suffixes # 8 ####################################################################### 9 10 # 11 # Object suffixes (OS2 and WIN% override this) 12 # 13 ifndef OBJ_SUFFIX 14 OBJ_SUFFIX = .o 15 endif 16 17 # 18 # Assembler source suffixes (OS2 and WIN% override this) 19 # 20 ifndef ASM_SUFFIX 21 ASM_SUFFIX = .s 22 endif 23 24 # 25 # Library suffixes 26 # 27 STATIC_LIB_EXTENSION = 28 29 ifndef DYNAMIC_LIB_EXTENSION 30 DYNAMIC_LIB_EXTENSION = 31 endif 32 33 34 ifndef STATIC_LIB_SUFFIX 35 STATIC_LIB_SUFFIX = .$(LIB_SUFFIX) 36 endif 37 38 39 ifndef DYNAMIC_LIB_SUFFIX 40 DYNAMIC_LIB_SUFFIX = .$(DLL_SUFFIX) 41 endif 42 43 44 ifndef STATIC_LIB_SUFFIX_FOR_LINKING 45 STATIC_LIB_SUFFIX_FOR_LINKING = $(STATIC_LIB_SUFFIX) 46 endif 47 48 49 # WIN% overridese this 50 ifndef DYNAMIC_LIB_SUFFIX_FOR_LINKING 51 DYNAMIC_LIB_SUFFIX_FOR_LINKING = $(DYNAMIC_LIB_SUFFIX) 52 endif 53 54 # 55 # Program suffixes (OS2 and WIN% override this) 56 # 57 58 ifndef PROG_SUFFIX 59 PROG_SUFFIX = 60 endif 61 62 MK_SUFFIX = included