Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Upstream-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 |