2006-04-02 10:45:10 -04:00
|
|
|
$OpenBSD: patch-Makefile_in,v 1.2 2006/04/02 14:45:10 sturm Exp $
|
|
|
|
--- Makefile.in.orig Sun Sep 10 10:54:27 2000
|
|
|
|
+++ Makefile.in Sun Apr 2 13:24:32 2006
|
|
|
|
@@ -41,8 +41,8 @@ VPATH = @srcdir@
|
2001-01-08 04:04:30 -05:00
|
|
|
|
|
|
|
CC = @CC@
|
2006-04-02 10:45:10 -04:00
|
|
|
PROG = tcpslice
|
2001-01-08 04:04:30 -05:00
|
|
|
-CCOPT = @V_CCOPT@
|
|
|
|
-INCLS = -I. @V_INCLS@
|
|
|
|
+CCOPT = @CFLAGS@
|
2006-04-02 10:45:10 -04:00
|
|
|
+INCLS = -I. -I$(srcdir) -I$(srcdir)/lbl
|
2001-01-08 04:04:30 -05:00
|
|
|
DEFS = @DEFS@
|
|
|
|
|
|
|
|
# Standard CFLAGS
|
2006-04-02 10:45:10 -04:00
|
|
|
@@ -59,9 +59,9 @@ INSTALL = @INSTALL@
|
2001-01-08 04:04:30 -05:00
|
|
|
# Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
|
|
|
|
# Also, gcc does not remove the .o before forking 'as', which can be a
|
|
|
|
# problem if you don't own the file but can write to the directory.
|
|
|
|
-.c.o:
|
|
|
|
- @rm -f $@
|
|
|
|
- $(CC) $(CFLAGS) -c $(srcdir)/$*.c
|
2006-04-02 10:45:10 -04:00
|
|
|
+#.c.o:
|
|
|
|
+# @rm -f $@
|
|
|
|
+# $(CC) $(CFLAGS) -c $(srcdir)/$*.c
|
2001-01-08 04:04:30 -05:00
|
|
|
|
|
|
|
CSRC = tcpslice.c gmt2local.c gwtm2secs.c machdep.c search.c util.c
|
|
|
|
GENSRC = version.c
|
2006-04-02 10:45:10 -04:00
|
|
|
@@ -97,7 +97,7 @@ version.c: $(srcdir)/VERSION
|
|
|
|
sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
|
2001-01-08 04:04:30 -05:00
|
|
|
|
|
|
|
install: force
|
|
|
|
- $(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST)
|
|
|
|
+ $(INSTALL) -s -m 555 -o root -g bin tcpslice $(DESTDIR)$(BINDEST)
|
|
|
|
|
|
|
|
install-man: force
|
2006-04-02 10:45:10 -04:00
|
|
|
$(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
|