blob: ea9ed0027d8aae9f553625016afeecf8cb2d6a0f (
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
|
--- popt/Makefile.in.orig Wed May 27 16:49:44 1998
+++ popt/Makefile.in Wed Jul 29 12:46:56 1998
@@ -24,17 +24,16 @@
CFLAGS = @CFLAGS@ @DEFS@ $(OPTS)
-ifeq ($(RANLIB),)
-RANLIB=ranlib
-endif
+RANLIB ?= ranlib
-ifeq (.depend-done,$(wildcard .depend-done))
+.if exists(.depend-done)
TARGET=allprogs
-else
+.else
TARGET=@TARGET@
-endif
+.endif
-$(LIBPOPT): $(LIBPOPT)($(LIBOBJECTS))
+$(LIBPOPT): $(LIBOBJECTS)
+ $(AR) r $@ $(LIBOBJECTS)
$(RANLIB) $@
distclean: clean
@@ -67,6 +66,6 @@
@rm -rf /tmp/popt-$(VERSION)
@echo "The archive is in popt-$(VERSION).tar.gz"
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
+.if exists(.depend)
+.include ".depend"
+.endif
|