openbsd-ports/chinese/xcin/patches/patch-src_Makefile_in
jasper cdfdc7d815 fix build on mips64.
no bump, because !mips64 packages didn't change, and mips64 didn't package.

ok mbalmer@
2008-01-30 14:04:18 +00:00

44 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.3 2008/01/30 14:04:18 jasper Exp $
--- src/Makefile.in.orig Wed Feb 24 09:30:33 1999
+++ src/Makefile.in Tue Jan 29 19:11:15 2008
@@ -41,6 +41,9 @@ all: @MAKEALL@
.PHONY: all install install_xcin install_cin2tab install_tsintools \
install_tsintabsrc clean veryclean distclean
+cin2tab.o: cin2tab.c
+ $(CC) -c -o $*.o $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) $(INC_PATH) $<
+
.c.o:
$(CC) -c -o $*.o $(CFLAGS) $(DEFS) $(INC_PATH) $<
@@ -53,14 +56,18 @@ xcin: $(OBJS1) $(OBJS2)
#
tsintab: $(TSINTABS)
-tsin: tsa2d tsin.src
+tsin tsin.idx: tsin_built
+
+tsin_built: tsa2d tsin.src
./tsa2d tsin.src
+ touch tsin_built
+
pho.sel1st: d1st pho1st
./d1st
sample.phs.out: phs_out sample.phs
./phs_out sample.phs
tsin_pin.map: pin2tsin pin_pho
- ./pin2tsin pin_pho
+ ./pin2tsin pin_pho &
tsin.rel: tsa2rel tsin.rel.src
./tsa2rel tsin.rel.src > tsin.rel
@@ -178,7 +185,7 @@ install_tsintabsrc:
done
clean:
- rm -f *.o core filelist $(PROGS) $(TSINTABS) $(KBMS) $(INPUT0)
+ rm -f *.o core filelist tsin_built $(PROGS) $(TSINTABS) $(KBMS) $(INPUT0)
veryclean: clean
rm -f Makefile