Allow to compile with both GCC 2.95 and 3.1.
This commit is contained in:
parent
a48ca36999
commit
d2c10ccbd8
@ -11,7 +11,7 @@ MAN= lukemftpd.8 ftpd.conf.5 ftpusers.5
|
||||
SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c
|
||||
|
||||
WFORMAT= 0
|
||||
CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} #-I${LUKEMFTPD}/src
|
||||
CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src
|
||||
YFLAGS=
|
||||
|
||||
LDADD= -lmd -lcrypt -lutil
|
||||
@ -30,7 +30,8 @@ LDADD+= -lm
|
||||
|
||||
CLEANFILES+= ls-unmain.c
|
||||
ls-unmain.c: ls.c
|
||||
sed -e 's/^main(/ls_main(/g' ${.ALLSRC} > ${.TARGET}
|
||||
sed -e 's/^main(/ls_main(/g' -e 's,extern.h,${LSDIR}/extern.h,' \
|
||||
${.ALLSRC} > ${.TARGET}
|
||||
|
||||
.if !defined(NOPAM)
|
||||
CFLAGS+= -DUSE_PAM
|
||||
|
Loading…
x
Reference in New Issue
Block a user