blob: 01fcdda63f5a98aae19452de94472d3dd0c2dd83 (
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
|
$NetBSD: patch-ar,v 1.2 2004/03/08 23:40:18 wiz Exp $
--- utils/util1/cs/Makefile.orig Wed Feb 26 04:24:01 2003
+++ utils/util1/cs/Makefile
@@ -10,7 +10,7 @@ OBJ1 = cs.o
all: $(PGM1)
$(PGM1): $(OBJ1)
- $(LD) $(CFLAGS) -o $@ $(OBJ1) $(LIBS)
+ $(LD) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ1) $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) $(C_FLAGS) -c $< -o $@
@@ -19,10 +19,10 @@ $(BINDIR):
mkdir -p -m 0755 $@
install: $(PGM1) $(PGM2) $(BINDIR)
- install -p -m 0755 $(PGM1) $(BINDIR)
+ $(BSD_INSTALL_PROGRAM) $(PGM1) $(BINDIR)
install-strip: $(PGM1) $(PGM2) $(BINDIR)
- install -p -m 0755 -s $(PGM1) $(BINDIR)
+ $(BSD_INSTALL_PROGRAM) $(PGM1) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PGM1)
|