# # cd /usr/src # # ARCHIVE=/mo/apps/ghostscript # tar xvzf $ARCHIVE/ghostscript-5.10.tar.gz # tar xvzf $ARCHIVE/ghostscript-5.10gnu.tar.gz # cd gs5.10 # tar xvzf $ARCHIVE/ghostscript-5.10jpeg.tar.gz # tar xvzf $ARCHIVE/ghostscript-5.10libpng.tar.gz # tar xvzf $ARCHIVE/ghostscript-5.10zlib.tar.gz # ln -s jpeg-6a jpeg # ln -s libpng-0.96 libpng # ln -s zlib-1.0.4 zlib # tar xvzf $ARCHIVE/ghostscript/gs5.10-vflib-1.1.tar.gz # patch < gs5.10-vflib-1.1/gs5.10-vflib-1.1.diff # tar xvzf $ARCHIVE/gs5.10-jpdf-0.2.tar.gz # patch < gs5.10-jpdf-0.2/gs5.10-jpdf-0.2.diff # zcat $ARCHIVE/gs5.10-VFlibBM-PL1.diff.gz | patch # tar xvzf $ARCHIVE/gs_jpdf.tar.gz # patch < gs_jpdf.diff # cp $ARCHIVE/pdf_sec.ps . # cp unix-gcc.mak Makefile # # kfVFlibBM.mak の内容を使うMakefile(ここではunix-gcc.mak)に反映させる # # 他にもCFLAGS等、必要に応じて変更。 # # unix-gcc.mak では以下のようなdiffになった。 # # ちなみに、このままだと逆になってます… # vi Makefile # make # make install *** Makefile.gs5.10 Mon Mar 30 22:36:38 1998 --- Makefile Mon Mar 30 22:36:32 1998 *************** *** 206,212 **** # gcc to accept ANSI-style function prototypes and function definitions. XCFLAGS= ! CFLAGS=-O3 -mpentium -fomit-frame-pointer -ffast-math $(GCFLAGS) $(XCFLAGS) # Define platform flags for ld. # SunOS 4.n may need -Bstatic. --- 206,212 ---- # gcc to accept ANSI-style function prototypes and function definitions. XCFLAGS= ! CFLAGS=-O $(GCFLAGS) $(XCFLAGS) # Define platform flags for ld. # SunOS 4.n may need -Bstatic. *************** *** 5458,5471 **** # ---------------- Kanji Font Utility ---------------- # ! kanji_=kfutil.$(OBJ) zkfimpath.$(OBJ) kanji.dev: $(kanji_) $(SETMOD) kanji $(kanji_) - $(ADDMOD) kanji -oper zkfimagepath kfutil.$(OBJ): kfutil.c $(OP) $(gsmatrix_h) - zkfimpath.$(OBJ): zkfimpath.c $(OP) $(gsmatrix_h) $(gspath_h) \ - $(igstate_h) $(store_h) # ---------------- Kanji Font(VFlib) ---------------- # --- 5458,5468 ---- # ---------------- Kanji Font Utility ---------------- # ! kanji_=kfutil.$(OBJ) kanji.dev: $(kanji_) $(SETMOD) kanji $(kanji_) kfutil.$(OBJ): kfutil.c $(OP) $(gsmatrix_h) # ---------------- Kanji Font(VFlib) ---------------- # *************** *** 5473,5480 **** kfvflib.dev: $(kfvflib_) kanji.dev $(SETMOD) kfvflib $(kfvflib_) $(ADDMOD) kfvflib -oper zkfVFlib ! $(ADDMOD) kfvflib -ps kfvflib kfvfbm ! $(ADDMOD) kfvflib -lib ttf $(ADDMOD) kfvflib -lib VFlib zkfvflib.$(OBJ): zkfvflib.c --- 5470,5476 ---- kfvflib.dev: $(kfvflib_) kanji.dev $(SETMOD) kfvflib $(kfvflib_) $(ADDMOD) kfvflib -oper zkfVFlib ! $(ADDMOD) kfvflib -ps kfvflib $(ADDMOD) kfvflib -lib VFlib zkfvflib.$(OBJ): zkfvflib.c