]>
Commit | Line | Data |
---|---|---|
1 | Project = w | |
2 | Install_Dir = /usr/bin | |
3 | ||
4 | HFILES = extern.h | |
5 | CFILES = fmt.c proc_compare.c pr_time.c w.c | |
6 | MANPAGES = uptime.1 w.1 | |
7 | ||
8 | Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) | |
9 | ||
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 | |
16 | ||
17 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make | |
18 | ||
19 | after_install: | |
20 | $(LN) $(DSTROOT)/$(Install_Dir)/w $(DSTROOT)/$(Install_Dir)/uptime |