893484bf10
on non-i386 platforms - there is no need to be MD - Change wrong LIB_DEPENDS to BUILD_DEPENDS because these libraries are all static. - Add 'test' target and turn it into a regress target for the port, using the provided test. - Add appropriate REGRESS_DEPENDS XXX regress currently fails on at least powerpc.
24 lines
542 B
Plaintext
24 lines
542 B
Plaintext
--- Makefile.orig Thu Feb 13 08:04:39 2003
|
|
+++ Makefile Sun Mar 2 13:57:31 2003
|
|
@@ -10,7 +10,7 @@ OBJTYPE!=uname -m | sed 's;i.86;386;; s;
|
|
# the gnu rules will mess up bsd but not vice versa,
|
|
# hence the gnu rules come first.
|
|
|
|
-include Make.$(SYSNAME)-$(OBJTYPE)
|
|
+include Make.$(SYSNAME)
|
|
|
|
PREFIX=/usr/local
|
|
|
|
@@ -80,9 +80,11 @@ strtod.$O: nan.h
|
|
|
|
test: $(LIB) test.$O
|
|
$(CC) -o test test.$O $(LIB) -L$(PREFIX)/lib -lutf
|
|
+ ./test
|
|
|
|
$(LIB): $(OFILES)
|
|
$(AR) $(ARFLAGS) $(LIB) $(OFILES)
|
|
+ $(RANLIB) $(LIB)
|
|
|
|
NUKEFILES+=$(LIB)
|
|
.c.$O:
|