mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Changed Makefile to use Nate's selective obj/noobj build scheme.
This commit is contained in:
parent
c921550b27
commit
46d24e563b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109
@ -1,7 +1,12 @@
|
||||
PROG= man
|
||||
SRCS= man.c manpath.c glob.c
|
||||
MAN1= man.1
|
||||
LDADD+= -L${.CURDIR}/../lib -lman
|
||||
|
||||
.if exists(${.CURDIR}/../lib/obj)
|
||||
LDADD= -L${.CURDIR}/../lib/obj -lman
|
||||
.else
|
||||
LDADD= -L${.CURDIR}/../lib/ -lman
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS
|
||||
|
||||
|
@ -1,7 +1,12 @@
|
||||
PROG= manpath
|
||||
MAN1= manpath.1
|
||||
SRCS= manpath.c
|
||||
LDADD+= -L${.CURDIR}/../lib -lman
|
||||
|
||||
.if exists(${.CURDIR}/../lib/obj)
|
||||
LDADD= -L${.CURDIR}/../lib/obj -lman
|
||||
.else
|
||||
LDADD= -L${.CURDIR}/../lib/ -lman
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../lib -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user