|
Lines 1-5
Link Here
|
| 1 |
--- src/Makefile.orig 2010-06-16 14:02:36.000000000 +0200 |
1 |
--- src/Makefile.orig 2010-09-21 11:29:14 UTC |
| 2 |
+++ src/Makefile 2010-07-06 22:00:30.303633098 +0200 |
2 |
+++ src/Makefile |
| 3 |
@@ -1,7 +1,7 @@ |
3 |
@@ -1,7 +1,7 @@ |
| 4 |
# In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf). |
4 |
# In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf). |
| 5 |
|
5 |
|
|
Lines 9-15
Link Here
|
| 9 |
|
9 |
|
| 10 |
# Uncomment for Solaris |
10 |
# Uncomment for Solaris |
| 11 |
# CFLAGS += -D SOLARIS |
11 |
# CFLAGS += -D SOLARIS |
| 12 |
@@ -9,7 +9,7 @@ |
12 |
@@ -9,13 +9,13 @@ CFLAGS = -D NUMBER_OF_MODEMS=64 |
| 13 |
# CC=gcc |
13 |
# CC=gcc |
| 14 |
|
14 |
|
| 15 |
# Comment this out, to enable statistics |
15 |
# Comment this out, to enable statistics |
|
Lines 18-29
Link Here
|
| 18 |
|
18 |
|
| 19 |
# Comment this out if iconv is not available on the system |
19 |
# Comment this out if iconv is not available on the system |
| 20 |
#CFLAGS += -D USE_ICONV |
20 |
#CFLAGS += -D USE_ICONV |
| 21 |
@@ -50,7 +50,7 @@ |
21 |
|
|
|
22 |
# Uncomment this is iconv is used and it's not included in libc: |
| 23 |
-#LFLAGS += -liconv |
| 24 |
+#LDFLAGS += -liconv |
| 25 |
|
| 26 |
# Uncomment this to force smsd to run in terminal mode |
| 27 |
#CFLAGS += -D TERMINAL |
| 28 |
@@ -43,14 +43,14 @@ smsd: smsd.c extras.o locking.o cfgfile. |
| 29 |
|
| 30 |
ifneq (,$(findstring SOLARIS,$(CFLAGS))) |
| 31 |
ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) |
| 32 |
-override LFLAGS += -lsocket -lnsl |
| 33 |
+override LDFLAGS += -lsocket -lnsl |
| 34 |
endif |
| 35 |
endif |
| 36 |
|
| 22 |
ifneq (,$(findstring NOSTATS,$(CFLAGS))) |
37 |
ifneq (,$(findstring NOSTATS,$(CFLAGS))) |
| 23 |
$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) |
38 |
- $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) |
|
|
39 |
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) |
| 24 |
else |
40 |
else |
| 25 |
- $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs` $(LFLAGS) |
41 |
- $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs` $(LFLAGS) |
| 26 |
+ $(CC) `$(LOCALBASE)/bin/mm-config --cflags` $(CFLAGS) -o $@ $^ `$(LOCALBASE)/bin/mm-config --ldflags --libs` $(LFLAGS) |
42 |
+ $(CC) `$(LOCALBASE)/bin/mm-config --cflags` $(CFLAGS) -o $@ $^ `$(LOCALBASE)/bin/mm-config --ldflags --libs` $(LDFLAGS) |
| 27 |
endif |
43 |
endif |
| 28 |
|
44 |
|
| 29 |
clean: |
45 |
clean: |