Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuichiro Nakada committed Nov 23, 2023
0 parents commit 792fe4b
Show file tree
Hide file tree
Showing 37 changed files with 35,938 additions and 0 deletions.
6 changes: 6 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Whiz -Input Method Engine for Japanese-
(C)2003-2007 Yuichiro Nakada

This software, Whiz, is freeware.
You can redistribute except for commercial use.
Thank you for using.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ©2023 YUICHIRO NAKADA

define MAKECMD
g++ -o whizserver ./server/whizserver.cpp ./engine/libwhiz.a -Os -I.
g++ -o whizkill ./server/whizkill.c ./debug/debug.cpp -Os -I.
gcc -o gim.so immodule/_ng/im.c ./debug/debug.cpp ./jrkanji/jrkanji.cpp ./jrkanji/whiz_conv_table.cpp ./engine/libwhiz.a -I. -I./immodule/_ng -Os -shared -fPIC -DPIC -Wno-write-strings `pkg-config gtk+-3.0 --cflags --libs`
gcc -o gim2.so immodule/_ng/im.c ./debug/debug.cpp ./jrkanji/jrkanji.cpp ./jrkanji/whiz_conv_table.cpp ./engine/libwhiz.a -I. -I./immodule/_ng -Os -shared -fPIC -DPIC -Wno-write-strings `pkg-config gtk+-2.0 --cflags --libs`
endef
export MAKECMD

.PHONY: all
all::
@echo "$${MAKECMD}" > /tmp/$$$$ ; $(SHELL) /tmp/$$$$ ; rm -f /tmp/$$$$

.PHONY: clean
clean:
$(RM) $(PROGRAM) $(OBJS) _depend.inc

.PHONY: depend
depend: $(OBJS:.o=.c)
-@ $(RM) _depend.inc
-@ for i in $^; do cpp -MM $$i | sed "s/\ [_a-zA-Z0-9][_a-zA-Z0-9]*\.c//g" >> _depend.inc; done

-include _depend.inc
Loading

0 comments on commit 792fe4b

Please sign in to comment.