freebsd-ports/chinese/autoconvert/files/patch-ab
2000-04-02 04:50:22 +00:00

18 lines
515 B
Plaintext

--- hzconvert/Makefile.orig Wed Jan 5 13:12:31 2000
+++ hzconvert/Makefile Sun Apr 2 11:37:24 2000
@@ -1,12 +1,11 @@
CC=gcc -I../include
-CFLAGS=-O2
OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o
+all:libhzconvert
%.o:%c
$(CC) $(CFLAGS) -c $<
-all:libhzconvert
libhzconvert:$(OBJS)
ar rs ../lib/libhz.a $(OBJS)
- gcc -shared -o ../lib/libhz.so $(OBJS) -ldl
+ gcc -shared -o ../lib/libhz.so $(OBJS)
clean:
rm -f *.o *~ ../lib/libhz.a ../lib/libhz.so