fix #394 (debian/rules)

This commit is contained in:
Max G 2015-09-01 19:41:34 +03:00
parent 50ba60b528
commit 0ead150172

View File

@ -43,207 +43,207 @@ COMPILE_C = \
$(C_INCLUDES) -O2 -o $@
MAKELIB = ar crs $@
OBJ = .o
LIB = .a
OBJSUF = .o
LIBSUF = .a
.PHONY: all
all: softfloat$(LIB)
all: softfloat$(LIBSUF)
OBJS_PRIMITIVES = \
s_compare96M$(OBJ) \
s_compare128M$(OBJ) \
s_shortShiftLeft64To96M$(OBJ) \
s_shortShiftLeftM$(OBJ) \
s_shiftLeftM$(OBJ) \
s_shortShiftRightM$(OBJ) \
s_shortShiftRightJam64$(OBJ) \
s_shortShiftRightJamM$(OBJ) \
s_shiftRightJam32$(OBJ) \
s_shiftRightJam64$(OBJ) \
s_shiftRightJamM$(OBJ) \
s_shiftRightM$(OBJ) \
s_countLeadingZeros8$(OBJ) \
s_countLeadingZeros32$(OBJ) \
s_countLeadingZeros64$(OBJ) \
s_addM$(OBJ) \
s_addCarryM$(OBJ) \
s_addComplCarryM$(OBJ) \
s_negXM$(OBJ) \
s_sub1XM$(OBJ) \
s_subM$(OBJ) \
s_mul64To128M$(OBJ) \
s_mul128MTo256M$(OBJ) \
s_approxRecip32_1$(OBJ) \
s_approxRecipSqrt32_1$(OBJ) \
s_remStepMBy32$(OBJ) \
s_compare96M$(OBJSUF) \
s_compare128M$(OBJSUF) \
s_shortShiftLeft64To96M$(OBJSUF) \
s_shortShiftLeftM$(OBJSUF) \
s_shiftLeftM$(OBJSUF) \
s_shortShiftRightM$(OBJSUF) \
s_shortShiftRightJam64$(OBJSUF) \
s_shortShiftRightJamM$(OBJSUF) \
s_shiftRightJam32$(OBJSUF) \
s_shiftRightJam64$(OBJSUF) \
s_shiftRightJamM$(OBJSUF) \
s_shiftRightM$(OBJSUF) \
s_countLeadingZeros8$(OBJSUF) \
s_countLeadingZeros32$(OBJSUF) \
s_countLeadingZeros64$(OBJSUF) \
s_addM$(OBJSUF) \
s_addCarryM$(OBJSUF) \
s_addComplCarryM$(OBJSUF) \
s_negXM$(OBJSUF) \
s_sub1XM$(OBJSUF) \
s_subM$(OBJSUF) \
s_mul64To128M$(OBJSUF) \
s_mul128MTo256M$(OBJSUF) \
s_approxRecip32_1$(OBJSUF) \
s_approxRecipSqrt32_1$(OBJSUF) \
s_remStepMBy32$(OBJSUF) \
OBJS_SPECIALIZE = \
softfloat_raiseFlags$(OBJ) \
s_f32UIToCommonNaN$(OBJ) \
s_commonNaNToF32UI$(OBJ) \
s_propagateNaNF32UI$(OBJ) \
s_f64UIToCommonNaN$(OBJ) \
s_commonNaNToF64UI$(OBJ) \
s_propagateNaNF64UI$(OBJ) \
extF80M_isSignalingNaN$(OBJ) \
s_extF80MToCommonNaN$(OBJ) \
s_commonNaNToExtF80M$(OBJ) \
s_propagateNaNExtF80M$(OBJ) \
f128M_isSignalingNaN$(OBJ) \
s_f128MToCommonNaN$(OBJ) \
s_commonNaNToF128M$(OBJ) \
s_propagateNaNF128M$(OBJ) \
softfloat_raiseFlags$(OBJSUF) \
s_f32UIToCommonNaN$(OBJSUF) \
s_commonNaNToF32UI$(OBJSUF) \
s_propagateNaNF32UI$(OBJSUF) \
s_f64UIToCommonNaN$(OBJSUF) \
s_commonNaNToF64UI$(OBJSUF) \
s_propagateNaNF64UI$(OBJSUF) \
extF80M_isSignalingNaN$(OBJSUF) \
s_extF80MToCommonNaN$(OBJSUF) \
s_commonNaNToExtF80M$(OBJSUF) \
s_propagateNaNExtF80M$(OBJSUF) \
f128M_isSignalingNaN$(OBJSUF) \
s_f128MToCommonNaN$(OBJSUF) \
s_commonNaNToF128M$(OBJSUF) \
s_propagateNaNF128M$(OBJSUF) \
OBJS_OTHERS = \
s_roundPackToUI32$(OBJ) \
s_roundPackMToUI64$(OBJ) \
s_roundPackToI32$(OBJ) \
s_roundPackMToI64$(OBJ) \
s_normSubnormalF32Sig$(OBJ) \
s_roundPackToF32$(OBJ) \
s_normRoundPackToF32$(OBJ) \
s_addMagsF32$(OBJ) \
s_subMagsF32$(OBJ) \
s_mulAddF32$(OBJ) \
s_normSubnormalF64Sig$(OBJ) \
s_roundPackToF64$(OBJ) \
s_normRoundPackToF64$(OBJ) \
s_addMagsF64$(OBJ) \
s_subMagsF64$(OBJ) \
s_mulAddF64$(OBJ) \
s_tryPropagateNaNExtF80M$(OBJ) \
s_invalidExtF80M$(OBJ) \
s_normExtF80SigM$(OBJ) \
s_roundPackMToExtF80M$(OBJ) \
s_normRoundPackMToExtF80M$(OBJ) \
s_addExtF80M$(OBJ) \
s_compareNonnormExtF80M$(OBJ) \
s_isNaNF128M$(OBJ) \
s_tryPropagateNaNF128M$(OBJ) \
s_invalidF128M$(OBJ) \
s_shiftNormSigF128M$(OBJ) \
s_roundPackMToF128M$(OBJ) \
s_normRoundPackMToF128M$(OBJ) \
s_addF128M$(OBJ) \
s_mulAddF128M$(OBJ) \
softfloat_state$(OBJ) \
ui32_to_f32$(OBJ) \
ui32_to_f64$(OBJ) \
ui32_to_extF80M$(OBJ) \
ui32_to_f128M$(OBJ) \
ui64_to_f32$(OBJ) \
ui64_to_f64$(OBJ) \
ui64_to_extF80M$(OBJ) \
ui64_to_f128M$(OBJ) \
i32_to_f32$(OBJ) \
i32_to_f64$(OBJ) \
i32_to_extF80M$(OBJ) \
i32_to_f128M$(OBJ) \
i64_to_f32$(OBJ) \
i64_to_f64$(OBJ) \
i64_to_extF80M$(OBJ) \
i64_to_f128M$(OBJ) \
f32_to_ui32$(OBJ) \
f32_to_ui64$(OBJ) \
f32_to_i32$(OBJ) \
f32_to_i64$(OBJ) \
f32_to_ui32_r_minMag$(OBJ) \
f32_to_ui64_r_minMag$(OBJ) \
f32_to_i32_r_minMag$(OBJ) \
f32_to_i64_r_minMag$(OBJ) \
f32_to_f64$(OBJ) \
f32_to_extF80M$(OBJ) \
f32_to_f128M$(OBJ) \
f32_roundToInt$(OBJ) \
f32_add$(OBJ) \
f32_sub$(OBJ) \
f32_mul$(OBJ) \
f32_mulAdd$(OBJ) \
f32_div$(OBJ) \
f32_rem$(OBJ) \
f32_sqrt$(OBJ) \
f32_eq$(OBJ) \
f32_le$(OBJ) \
f32_lt$(OBJ) \
f32_eq_signaling$(OBJ) \
f32_le_quiet$(OBJ) \
f32_lt_quiet$(OBJ) \
f32_isSignalingNaN$(OBJ) \
f64_to_ui32$(OBJ) \
f64_to_ui64$(OBJ) \
f64_to_i32$(OBJ) \
f64_to_i64$(OBJ) \
f64_to_ui32_r_minMag$(OBJ) \
f64_to_ui64_r_minMag$(OBJ) \
f64_to_i32_r_minMag$(OBJ) \
f64_to_i64_r_minMag$(OBJ) \
f64_to_f32$(OBJ) \
f64_to_extF80M$(OBJ) \
f64_to_f128M$(OBJ) \
f64_roundToInt$(OBJ) \
f64_add$(OBJ) \
f64_sub$(OBJ) \
f64_mul$(OBJ) \
f64_mulAdd$(OBJ) \
f64_div$(OBJ) \
f64_rem$(OBJ) \
f64_sqrt$(OBJ) \
f64_eq$(OBJ) \
f64_le$(OBJ) \
f64_lt$(OBJ) \
f64_eq_signaling$(OBJ) \
f64_le_quiet$(OBJ) \
f64_lt_quiet$(OBJ) \
f64_isSignalingNaN$(OBJ) \
extF80M_to_ui32$(OBJ) \
extF80M_to_ui64$(OBJ) \
extF80M_to_i32$(OBJ) \
extF80M_to_i64$(OBJ) \
extF80M_to_ui32_r_minMag$(OBJ) \
extF80M_to_ui64_r_minMag$(OBJ) \
extF80M_to_i32_r_minMag$(OBJ) \
extF80M_to_i64_r_minMag$(OBJ) \
extF80M_to_f32$(OBJ) \
extF80M_to_f64$(OBJ) \
extF80M_to_f128M$(OBJ) \
extF80M_roundToInt$(OBJ) \
extF80M_add$(OBJ) \
extF80M_sub$(OBJ) \
extF80M_mul$(OBJ) \
extF80M_div$(OBJ) \
extF80M_rem$(OBJ) \
extF80M_sqrt$(OBJ) \
extF80M_eq$(OBJ) \
extF80M_le$(OBJ) \
extF80M_lt$(OBJ) \
extF80M_eq_signaling$(OBJ) \
extF80M_le_quiet$(OBJ) \
extF80M_lt_quiet$(OBJ) \
f128M_to_ui32$(OBJ) \
f128M_to_ui64$(OBJ) \
f128M_to_i32$(OBJ) \
f128M_to_i64$(OBJ) \
f128M_to_ui32_r_minMag$(OBJ) \
f128M_to_ui64_r_minMag$(OBJ) \
f128M_to_i32_r_minMag$(OBJ) \
f128M_to_i64_r_minMag$(OBJ) \
f128M_to_f32$(OBJ) \
f128M_to_f64$(OBJ) \
f128M_to_extF80M$(OBJ) \
f128M_roundToInt$(OBJ) \
f128M_add$(OBJ) \
f128M_sub$(OBJ) \
f128M_mul$(OBJ) \
f128M_mulAdd$(OBJ) \
f128M_div$(OBJ) \
f128M_rem$(OBJ) \
f128M_sqrt$(OBJ) \
f128M_eq$(OBJ) \
f128M_le$(OBJ) \
f128M_lt$(OBJ) \
f128M_eq_signaling$(OBJ) \
f128M_le_quiet$(OBJ) \
f128M_lt_quiet$(OBJ) \
s_roundPackToUI32$(OBJSUF) \
s_roundPackMToUI64$(OBJSUF) \
s_roundPackToI32$(OBJSUF) \
s_roundPackMToI64$(OBJSUF) \
s_normSubnormalF32Sig$(OBJSUF) \
s_roundPackToF32$(OBJSUF) \
s_normRoundPackToF32$(OBJSUF) \
s_addMagsF32$(OBJSUF) \
s_subMagsF32$(OBJSUF) \
s_mulAddF32$(OBJSUF) \
s_normSubnormalF64Sig$(OBJSUF) \
s_roundPackToF64$(OBJSUF) \
s_normRoundPackToF64$(OBJSUF) \
s_addMagsF64$(OBJSUF) \
s_subMagsF64$(OBJSUF) \
s_mulAddF64$(OBJSUF) \
s_tryPropagateNaNExtF80M$(OBJSUF) \
s_invalidExtF80M$(OBJSUF) \
s_normExtF80SigM$(OBJSUF) \
s_roundPackMToExtF80M$(OBJSUF) \
s_normRoundPackMToExtF80M$(OBJSUF) \
s_addExtF80M$(OBJSUF) \
s_compareNonnormExtF80M$(OBJSUF) \
s_isNaNF128M$(OBJSUF) \
s_tryPropagateNaNF128M$(OBJSUF) \
s_invalidF128M$(OBJSUF) \
s_shiftNormSigF128M$(OBJSUF) \
s_roundPackMToF128M$(OBJSUF) \
s_normRoundPackMToF128M$(OBJSUF) \
s_addF128M$(OBJSUF) \
s_mulAddF128M$(OBJSUF) \
softfloat_state$(OBJSUF) \
ui32_to_f32$(OBJSUF) \
ui32_to_f64$(OBJSUF) \
ui32_to_extF80M$(OBJSUF) \
ui32_to_f128M$(OBJSUF) \
ui64_to_f32$(OBJSUF) \
ui64_to_f64$(OBJSUF) \
ui64_to_extF80M$(OBJSUF) \
ui64_to_f128M$(OBJSUF) \
i32_to_f32$(OBJSUF) \
i32_to_f64$(OBJSUF) \
i32_to_extF80M$(OBJSUF) \
i32_to_f128M$(OBJSUF) \
i64_to_f32$(OBJSUF) \
i64_to_f64$(OBJSUF) \
i64_to_extF80M$(OBJSUF) \
i64_to_f128M$(OBJSUF) \
f32_to_ui32$(OBJSUF) \
f32_to_ui64$(OBJSUF) \
f32_to_i32$(OBJSUF) \
f32_to_i64$(OBJSUF) \
f32_to_ui32_r_minMag$(OBJSUF) \
f32_to_ui64_r_minMag$(OBJSUF) \
f32_to_i32_r_minMag$(OBJSUF) \
f32_to_i64_r_minMag$(OBJSUF) \
f32_to_f64$(OBJSUF) \
f32_to_extF80M$(OBJSUF) \
f32_to_f128M$(OBJSUF) \
f32_roundToInt$(OBJSUF) \
f32_add$(OBJSUF) \
f32_sub$(OBJSUF) \
f32_mul$(OBJSUF) \
f32_mulAdd$(OBJSUF) \
f32_div$(OBJSUF) \
f32_rem$(OBJSUF) \
f32_sqrt$(OBJSUF) \
f32_eq$(OBJSUF) \
f32_le$(OBJSUF) \
f32_lt$(OBJSUF) \
f32_eq_signaling$(OBJSUF) \
f32_le_quiet$(OBJSUF) \
f32_lt_quiet$(OBJSUF) \
f32_isSignalingNaN$(OBJSUF) \
f64_to_ui32$(OBJSUF) \
f64_to_ui64$(OBJSUF) \
f64_to_i32$(OBJSUF) \
f64_to_i64$(OBJSUF) \
f64_to_ui32_r_minMag$(OBJSUF) \
f64_to_ui64_r_minMag$(OBJSUF) \
f64_to_i32_r_minMag$(OBJSUF) \
f64_to_i64_r_minMag$(OBJSUF) \
f64_to_f32$(OBJSUF) \
f64_to_extF80M$(OBJSUF) \
f64_to_f128M$(OBJSUF) \
f64_roundToInt$(OBJSUF) \
f64_add$(OBJSUF) \
f64_sub$(OBJSUF) \
f64_mul$(OBJSUF) \
f64_mulAdd$(OBJSUF) \
f64_div$(OBJSUF) \
f64_rem$(OBJSUF) \
f64_sqrt$(OBJSUF) \
f64_eq$(OBJSUF) \
f64_le$(OBJSUF) \
f64_lt$(OBJSUF) \
f64_eq_signaling$(OBJSUF) \
f64_le_quiet$(OBJSUF) \
f64_lt_quiet$(OBJSUF) \
f64_isSignalingNaN$(OBJSUF) \
extF80M_to_ui32$(OBJSUF) \
extF80M_to_ui64$(OBJSUF) \
extF80M_to_i32$(OBJSUF) \
extF80M_to_i64$(OBJSUF) \
extF80M_to_ui32_r_minMag$(OBJSUF) \
extF80M_to_ui64_r_minMag$(OBJSUF) \
extF80M_to_i32_r_minMag$(OBJSUF) \
extF80M_to_i64_r_minMag$(OBJSUF) \
extF80M_to_f32$(OBJSUF) \
extF80M_to_f64$(OBJSUF) \
extF80M_to_f128M$(OBJSUF) \
extF80M_roundToInt$(OBJSUF) \
extF80M_add$(OBJSUF) \
extF80M_sub$(OBJSUF) \
extF80M_mul$(OBJSUF) \
extF80M_div$(OBJSUF) \
extF80M_rem$(OBJSUF) \
extF80M_sqrt$(OBJSUF) \
extF80M_eq$(OBJSUF) \
extF80M_le$(OBJSUF) \
extF80M_lt$(OBJSUF) \
extF80M_eq_signaling$(OBJSUF) \
extF80M_le_quiet$(OBJSUF) \
extF80M_lt_quiet$(OBJSUF) \
f128M_to_ui32$(OBJSUF) \
f128M_to_ui64$(OBJSUF) \
f128M_to_i32$(OBJSUF) \
f128M_to_i64$(OBJSUF) \
f128M_to_ui32_r_minMag$(OBJSUF) \
f128M_to_ui64_r_minMag$(OBJSUF) \
f128M_to_i32_r_minMag$(OBJSUF) \
f128M_to_i64_r_minMag$(OBJSUF) \
f128M_to_f32$(OBJSUF) \
f128M_to_f64$(OBJSUF) \
f128M_to_extF80M$(OBJSUF) \
f128M_roundToInt$(OBJSUF) \
f128M_add$(OBJSUF) \
f128M_sub$(OBJSUF) \
f128M_mul$(OBJSUF) \
f128M_mulAdd$(OBJSUF) \
f128M_div$(OBJSUF) \
f128M_rem$(OBJSUF) \
f128M_sqrt$(OBJSUF) \
f128M_eq$(OBJSUF) \
f128M_le$(OBJSUF) \
f128M_lt$(OBJSUF) \
f128M_eq_signaling$(OBJSUF) \
f128M_le_quiet$(OBJSUF) \
f128M_lt_quiet$(OBJSUF) \
OBJS_ALL = $(OBJS_PRIMITIVES) $(OBJS_SPECIALIZE) $(OBJS_OTHERS)
@ -255,17 +255,17 @@ $(OBJS_SPECIALIZE) $(OBJS_OTHERS): \
$(SOURCE_DIR)/$(SPECIALIZE_TYPE)/specialize.h \
$(SOURCE_DIR)/include/softfloat.h
$(OBJS_PRIMITIVES) $(OBJS_OTHERS): %$(OBJ): $(SOURCE_DIR)/%.c
$(OBJS_PRIMITIVES) $(OBJS_OTHERS): %$(OBJSUF): $(SOURCE_DIR)/%.c
$(COMPILE_C) $(SOURCE_DIR)/$*.c
$(OBJS_SPECIALIZE): %$(OBJ): $(SOURCE_DIR)/$(SPECIALIZE_TYPE)/%.c
$(OBJS_SPECIALIZE): %$(OBJSUF): $(SOURCE_DIR)/$(SPECIALIZE_TYPE)/%.c
$(COMPILE_C) $(SOURCE_DIR)/$(SPECIALIZE_TYPE)/$*.c
softfloat$(LIB): $(OBJS_ALL)
softfloat$(LIBSUF): $(OBJS_ALL)
$(DELETE) $@
$(MAKELIB) $^
.PHONY: clean
clean:
$(DELETE) $(OBJS_ALL) softfloat$(LIB)
$(DELETE) $(OBJS_ALL) softfloat$(LIBSUF)