blob: 63dc0e35c31d1e0781d7f4fa24f6bb3a210fb60c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
*** src/makefiles/Makefile.fbs.orig Thu Jan 16 11:27:58 1997
--- src/makefiles/Makefile.fbs Fri Feb 7 17:04:42 1997
***************
*** 1,8 ****
CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS = -O ${IFLAGS} ${LFLAGS}
! LIBES = -lsupport -lcrypt
LIBC = /usr/lib/libc.a
LINTFLAGS=
LKERB = -lauth -lckrb -lkrb -ldes
--- 1,8 ----
CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS += ${IFLAGS} ${LFLAGS}
! LIBES = -lsupport -lutil -lskey -lmd -lcrypt
LIBC = /usr/lib/libc.a
LINTFLAGS=
LKERB = -lauth -lckrb -lkrb -ldes
***************
*** 10,19 ****
SRCS = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
realpath.c acl.c private.c authenticate.c conversions.c hostacc.c \
! sigfix.c
OBJS = ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o \
realpath.o acl.o private.o authenticate.o conversions.o hostacc.o \
! sigfix.o
all: ftpd ftpcount ftpshut ckconfig
--- 10,19 ----
SRCS = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
realpath.c acl.c private.c authenticate.c conversions.c hostacc.c \
! sigfix.c skey-stuff.c
OBJS = ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o \
realpath.o acl.o private.o authenticate.o conversions.o hostacc.o \
! sigfix.o skey-stuff.o
all: ftpd ftpcount ftpshut ckconfig
***************
*** 24,30 ****
--- 24,34 ----
${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
|