Skip to content

Commit adfc85d

Browse files
committed
made Makefile.Config autoconf-independent'ish
1 parent 00d5e6b commit adfc85d

File tree

2 files changed

+7
-121
lines changed

2 files changed

+7
-121
lines changed

Makefiles/Makefile.Config

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
#
88
# OS setup:
99
#
10-
OS := darwin12.5.0
11-
ARCH := i386
10+
OS := `uname -s`
11+
OSREV := `uname -r`
12+
ARCH := `arch`
1213

1314
SHELL := /bin/sh
1415

@@ -20,20 +21,6 @@ ifndef SAC2C
2021
SAC2C = sac2c
2122
endif
2223

23-
24-
override CCFLAGS += -DCHECK -DHAVE_PUTENV -D__EXTENSIONS__
25-
override CCFLAGS += -DSAC_RC_METHOD=SAC_RCM_$(shell $(SAC2C) $(CROSS_TARGET) -CRC_METHOD)
26-
27-
#
28-
# enable or disable PHM
29-
#
30-
LIB_PHM :=
31-
32-
#
33-
# set whether to link extra math lib
34-
#
35-
LIB_M := -lm
36-
3724
#
3825
# set specific compiler flags
3926
#
@@ -77,5 +64,8 @@ HOSTLOGIN = $(USER)
7764
endif
7865

7966

67+
ifeq ( $OS), Darwin)
68+
SHARED_LIB_EXT := .so
69+
else
8070
SHARED_LIB_EXT := .dylib
81-
71+
endif

Makefiles/Makefile.Config.in

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)