blob: f0a1d33c96b5a96241f0226ffb8ce7b250b49342 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Upstream-Status: Backport [debian]
2
3--- a/src/Makefile
4+++ b/src/Makefile
5@@ -37,16 +37,15 @@
6 # Use the following only on GNU/Linux and only if you need ps listing like "smsd: MAINPROCESS" and "smsd: GSM1"
7 # CFLAGS += -D USE_LINUX_PS_TRICK
8
9-all: smsd
10-
11-smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
12-
13 ifneq (,$(findstring SOLARIS,$(CFLAGS)))
14 ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
15 override LFLAGS += -lsocket -lnsl
16 endif
17 endif
18
19+all: smsd
20+
21+smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
22 ifneq (,$(findstring NOSTATS,$(CFLAGS)))
23 $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)
24 else