mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
36 lines
967 B
Plaintext
36 lines
967 B
Plaintext
*** src/makefiles/Makefile.fbs.orig Tue Aug 12 07:43:39 1997
|
|
--- src/makefiles/Makefile.fbs Tue Sep 9 20:10:33 1997
|
|
***************
|
|
*** 4,11 ****
|
|
#CC = cc
|
|
IFLAGS = -I.. -I../support
|
|
LFLAGS = -L../support -s
|
|
! CFLAGS = -O ${IFLAGS} ${LFLAGS}
|
|
! LIBES = -lsupport -lutil -lcrypt
|
|
LIBC = /usr/lib/libc.a
|
|
LINTFLAGS=
|
|
LKERB = -lauth -lckrb -lkrb -ldes
|
|
--- 4,11 ----
|
|
#CC = cc
|
|
IFLAGS = -I.. -I../support
|
|
LFLAGS = -L../support -s
|
|
! CFLAGS += ${IFLAGS} ${LFLAGS}
|
|
! LIBES = -lsupport -lutil -lcrypt -lskey -lmd
|
|
LIBC = /usr/lib/libc.a
|
|
LINTFLAGS=
|
|
LKERB = -lauth -lckrb -lkrb -ldes
|
|
***************
|
|
*** 27,33 ****
|
|
--- 27,37 ----
|
|
${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES}
|
|
|
|
ftpd: ${OBJS} ${LIBC}
|
|
+ .if defined(PACKAGE_BUILDING)
|
|
${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES}
|
|
+ .else
|
|
+ ${CC} -static ${CFLAGS} -o $@ ${OBJS} ${LIBES}
|
|
+ .endif
|
|
|
|
ckconfig: ckconfig.c
|
|
${CC} ${CFLAGS} -o $@ ckconfig.c
|