]>
Commit | Line | Data |
---|---|---|
41a2c555 A |
1 | Project = w |
2 | Install_Dir = /usr/bin | |
44bd5ea7 A |
3 | |
4 | HFILES = extern.h | |
44bd5ea7 | 5 | CFILES = fmt.c proc_compare.c pr_time.c w.c |
41a2c555 | 6 | MANPAGES = uptime.1 w.1 |
44bd5ea7 | 7 | |
41a2c555 | 8 | Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) |
44bd5ea7 | 9 | |
41a2c555 A |
10 | Extra_CC_Flags = -Wall -mdynamic-no-pic \ |
11 | -no-cpp-precomp -Wno-error -DHAVE_KVM=0 -DHAVE_UTMPX=1 | |
12 | Extra_LD_Flags = -dead_strip | |
13 | ifeq ($(Embedded),NO) | |
14 | Extra_LD_Flags += -lresolv | |
15 | endif | |
44bd5ea7 | 16 | |
41a2c555 | 17 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make |
44bd5ea7 | 18 | |
41a2c555 A |
19 | after_install: |
20 | $(LN) $(DSTROOT)/$(Install_Dir)/w $(DSTROOT)/$(Install_Dir)/uptime |