openbsd-ports/net/ns/patches/patch-indep-utils_cmu-scen-gen_setdest_Makefile_in
sturm 0caceb1c87 update to ns 2.26
note: this is not 64bit clean as this would require a minor rewrite of ns

from Nicolas Baldi <openbsd@softhome.net>
2003-11-01 20:05:01 +00:00

44 lines
1.3 KiB
Plaintext

$OpenBSD: patch-indep-utils_cmu-scen-gen_setdest_Makefile_in,v 1.2 2003/11/01 20:05:01 sturm Exp $
--- indep-utils/cmu-scen-gen/setdest/Makefile.in.orig 2003-02-26 17:08:45.000000000 -0500
+++ indep-utils/cmu-scen-gen/setdest/Makefile.in 2003-08-22 07:45:19.000000000 -0400
@@ -32,7 +32,7 @@ prefix = @prefix@
# Pathname of directory to install the binary
BINDEST = @prefix@/bin
-CCX = @CXX@
+CXX = @CXX@
CC = @CC@
MKDEP = ../../../conf/mkdep
@@ -50,19 +50,19 @@ install: setdest calcdest
$(INSTALL) -m 555 -o bin -g bin calcdest $(DESTDIR)$(BINDEST)
setdest: rng.o setdest.o
- $(CCX) -o setdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
+ $(CXX) -o setdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
$(LIBS)
calcdest: rng.o calcdest.o
- $(CCX) -o calcdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
+ $(CXX) -o calcdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
$(LIBS)
rng.o:
@rm -f $@
- $(CCX) -c $(DEFINE) -I../../.. -o $@ ../../../tools/rng.cc
+ $(CXX) -c $(DEFINE) -I../../.. -o $@ ../../../tools/rng.cc
setbox: setbox.o
- $(CCX) -o setbox $@.o $(LDFLAGS) $(CFLAGS) $(LIBS)
+ $(CXX) -o setbox $@.o $(LDFLAGS) $(CFLAGS) $(LIBS)
clean:
@rm -f setdest setbox *.o *.core
@@ -70,5 +70,5 @@ clean:
.SUFFIXES: .cc
.cc.o:
- $(CCX) -c $(DEFINE) $(CFLAGS) -o $@ $*.cc
+ $(CXX) -c $(DEFINE) $(CFLAGS) -o $@ $*.cc