"Fossies" - the Fresh Open Source Software Archive

Member "yudit-3.0.7/mytool/mys/Makefile" (6 Jun 2020, 3741 Bytes) of package /linux/misc/yudit-3.0.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 3.0.5_vs_3.0.7.

    1 include ../../Makefile.conf
    2 
    3 #-------------------------------------------------------------------------------
    4 
    5 .SUFFIXES: .o .cpp .h .mys .my
    6 SRC_MAPS=$(basename $(notdir $(wildcard *.mys)))
    7 OUT_MAPS=$(addsuffix .my,$(SRC_MAPS))
    8 
    9 #
   10 # Contains private, unofficial JIS0213-1.TXT JIS0213-2.TXT
   11 # needed for jis-0213-1.mys, jis-0213-2.mys, shift-jis-3.mys
   12 #
   13 JIS0213_1=../../../JISX0213-1.TXT
   14 JIS0213_2=../../../JISX0213-2.TXT
   15 
   16 TARGET = $(OUT_MAPS) 
   17 
   18 
   19 
   20 %.o:%.cpp
   21 	$(CXX)  -c $(ALL_CFLAGS) -o $@ $<
   22 
   23 
   24 all: $(TARGET)
   25 
   26 %.my:%.mys
   27 	@echo "Making $@ ..."
   28 	$(MYTOOL) -convert my -write $@ -mys $<
   29 
   30 Emoji.my:Emoji.mys
   31 	@echo "Making $@ ..."
   32 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   33 
   34 OldHungarian.my:OldHungarian.mys
   35 	@echo "Making $@ ..."
   36 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   37 
   38 OldItalic.my:OldItalic.mys
   39 	@echo "Making $@ ..."
   40 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   41 
   42 Hosszu.my:Hosszu.mys
   43 	@echo "Making $@ ..."
   44 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   45 
   46 IS_AS.my:IS_AS.mys
   47 	@echo "Making $@ ..."
   48 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   49 
   50 IS_BN.my:IS_BN.mys
   51 	@echo "Making $@ ..."
   52 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   53 
   54 IS_DV.my:IS_DV.mys
   55 	@echo "Making $@ ..."
   56 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   57 
   58 IS_GJ.my:IS_GJ.mys
   59 	@echo "Making $@ ..."
   60 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   61 
   62 IS_KN.my:IS_KN.mys
   63 	@echo "Making $@ ..."
   64 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   65 
   66 IS_ML.my:IS_ML.mys
   67 	@echo "Making $@ ..."
   68 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   69 
   70 IS_OR.my:IS_OR.mys
   71 	@echo "Making $@ ..."
   72 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   73 
   74 IS_PJ.my:IS_PJ.mys
   75 	@echo "Making $@ ..."
   76 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   77 
   78 IS_RM.my:IS_RM.mys
   79 	@echo "Making $@ ..."
   80 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   81 
   82 IS_TL.my:IS_TL.mys
   83 	@echo "Making $@ ..."
   84 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   85 
   86 IS_TM.my:IS_TM.mys
   87 	@echo "Making $@ ..."
   88 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   89 
   90 tscii.my:tscii.mys
   91 	@echo "Making $@ ..."
   92 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   93 
   94 nastaliq.my:nastaliq.mys
   95 	@echo "Making $@ ..."
   96 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
   97 
   98 # Make all jis-0213-1.mys, jis-0213-2.mys, shift-jis-3.mys
   99 # This is usually already made.
  100 jisx0213: 
  101 	perl ../../bin/parsejisx0213.pl 2 jis-0213-1.mys  $(JIS0213_1) > jis-0213-1.mys
  102 	perl ../../bin/parsejisx0213.pl 2 jis-0213-2.mys  $(JIS0213_2) > jis-0213-2.mys
  103 	perl ../../bin/parsejisx0213.pl 1 shift-jis-3.mys $(JIS0213_1) $(JIS0213_2) > shift-jis-3.mys
  104 
  105 jis-0213-1.my:jis-0213-1.mys
  106 	@echo "Making $@ ..."
  107 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  108 
  109 jis-0213-2.my:jis-0213-2.mys
  110 	@echo "Making $@ ..."
  111 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  112 
  113 shift-jis-3.my:shift-jis-3.mys
  114 	@echo "Making $@ ..."
  115 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  116 
  117 gb-18030.my:gb-18030.mys
  118 	@echo "Making $@ ..."
  119 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  120 
  121 charclass.my:charclass.mys
  122 	@echo "Making $@ ..."
  123 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  124 
  125 bidiclass.my:bidiclass.mys
  126 	@echo "Making $@ ..."
  127 	$(MYTOOL) -convert my -write $@ -mys $< -rmys $<
  128 
  129 clean:
  130 	rm -f *.my *.o *.bak core message.txt
  131 
  132 depend:
  133 
  134 install: $(TARGET)
  135 	@if test ! -d $(DESTDIR)/$(prefix) ; then mkdir -p $(DESTDIR)/$(prefix); fi
  136 	@if test ! -d $(DESTDIR)/$(datadir) ; then mkdir -p $(DESTDIR)/$(datadir); fi
  137 	@if test ! -d $(DESTDIR)/$(datadir)/yudit ; then mkdir -p $(DESTDIR)/$(datadir)/yudit;fi 
  138 	@if test ! -d $(DESTDIR)/$(datadir)/yudit/data ;then mkdir -p $(DESTDIR)/$(datadir)/yudit/data;fi 
  139 	@echo installing my files...
  140 	@$(INSTALL_DATA) *.my  $(DESTDIR)/$(datadir)/yudit/data
  141 	
  142 
  143 ifeq (.depend, $(wildcard .depend))
  144 include .depend
  145 endif
  146