4 HFILES = locate.h pathnames.h
5 CFILES = util.c locate.c
6 MANPAGES = locate.1 locate.updatedb.8
7 #OTHERSRCS = Makefile Makefile.preamble Makefile.postamble \
9 locate.1 locate.updatedb.8 locate.rc \
10 concatdb.sh mklocatedb.sh updatedb.sh
11 LAUNCHD_PLISTS = com.apple.locate.plist
13 Extra_CC_Flags = -Wall -mdynamic-no-pic
14 Extra_LD_Flags = -dead_strip
16 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
19 $(INSTALL_DIRECTORY) $(DSTROOT)/usr/libexec
20 $(INSTALL_SCRIPT) concatdb.sh $(DSTROOT)/usr/libexec/locate.concatdb
21 $(INSTALL_SCRIPT) mklocatedb.sh $(DSTROOT)/usr/libexec/locate.mklocatedb
22 $(INSTALL_SCRIPT) updatedb.sh $(DSTROOT)/usr/libexec/locate.updatedb
23 $(LN) $(DSTROOT)/usr/share/man/man8/locate.updatedb.8 $(DSTROOT)/usr/share/man/man8/locate.concatdb.8
24 $(LN) $(DSTROOT)/usr/share/man/man8/locate.updatedb.8 $(DSTROOT)/usr/share/man/man8/locate.mklocatedb.8
25 $(INSTALL_DIRECTORY) $(DSTROOT)/private/etc
26 $(INSTALL_FILE) locate.rc $(DSTROOT)/private/etc