blob: 79a241ff9c5165a6efdbb3fc74bbe2f9c49c1521 (
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
|
--- linux-ftpd-0.17/ftpd/Makefile
+++ linux-ftpd-0.17-patched/ftpd/Makefile
@@ -19,7 +19,11 @@
all: ftpd
%.o: %.c
+ ifdef USE_SHADOW
+ $(CC) $(CFLAGS) -DUSE_SHADOW -DHASSETPROCTITLE $< -c
+ else
$(CC) $(CFLAGS) -DHASSETPROCTITLE $< -c
+ endif
ftpcmd.c: %.c: %.y
$(YACC) $<
--- linux-ftpd-0.17/support/Makefile
+++ linux-ftpd-0.17-patched/support/Makefile
@@ -5,7 +5,11 @@
all: libsupport.a
%.o: %.c
+ ifdef USE_SHADOW
+ $(CC) $(CFLAGS) -DUSE_SHADOW -DHASSETPROCTITLE $< -c
+ else
$(CC) $(CFLAGS) -DHASSETPROCTITLE $< -c
+ endif
libsupport.a: $(OBJS)
ar -cruv $@ $^
|