root/trunk/freewrt/tools/md5crypt/doit.mk

Revision 3125, 295 bytes (checked in by tg, 5 years ago)

replace mkpasswd and /usr/bin/encrypt by portable md5crypt on
fwwif and mirmake basis; tested on GNU/Linux for now

Line 
1 PROG=           md5crypt
2 SRCS=           main.c md5.c md5crypt.c pwd_gensalt.c
3 NOMAN=          Yes
4
5 .if exists(${.SYSMK}/libmirmake.a)
6 LDFLAGS+=       -L${.SYSMK}
7 LDADD+=         -lmirmake
8 .endif
9
10 .PATH: ${TOPDIR}/tools/md5crypt
11 .PATH: ${TOPDIR}/package/fwwif/extra
12
13 CPPFLAGS+=      -I${TOPDIR}/package/fwwif/extra
14
15 .include <bsd.prog.mk>
Note: See TracBrowser for help on using the browser.