blob: 27bc1be01d1d78cca6adadc118bc110553675844 (
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
|
$NetBSD: patch-aa,v 1.9 2008/03/05 15:01:06 jlam Exp $
--- src/Makefile.in.orig 2007-04-28 16:02:22.000000000 -0400
+++ src/Makefile.in
@@ -26,9 +26,9 @@ SRCS = $(OBJS:.o=.c) comptime.c
all: dep ekg @ioctld@
-ekg: $(OBJS) comptime.c @libgadu_a@
+ekg: $(OBJS) comptime.c
$(CC) $(CFLAGS) -c -o comptime.o comptime.c
- $(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o -L../lib @lgadu@ @libgadu_a@ $(LDFLAGS) $(LIBS)
+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o ../lib/libgadu.la $(LDFLAGS) $(LIBS)
ioctld: ioctld.c
$(CC) $(CFLAGS) ioctld.c -o ioctld $(LIBS) @IOCTLD_OBJS@
@@ -42,9 +42,9 @@ dep: .depend
install: all install-ekg @install_ioctld@
-install-ekg: @strip_ekg@
+install-ekg:
$(INSTALL) -d $(DESTDIR)$(bindir)
- $(INSTALL) -m 755 ekg $(DESTDIR)$(bindir)
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} ekg $(DESTDIR)$(bindir)
install-ioctld: @strip_ioctld@
$(INSTALL) -d $(DESTDIR)$(libexecdir)
|