Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 4 files changed
  • 0 comments
  • 1 contributor
2  Makefile
@@ -2,7 +2,7 @@ MISPDIR=.
2 2
 include $(MISPDIR)/common.mak
3 3
 
4 4
 OBJECTS=crt0.o isr.o luainit.o main.o
5  
-OURLIBS=m mm yaffs2 glue lua lfs
  5
+OURLIBS=m mm yaffs2 glue lua lfs freetype
6 6
 
7 7
 CFLAGS+=-I$(MISPDIR)/libm/include -I$(MISPDIR)/libmm/include -I$(MISPDIR)/libglue/include -I$(LUADIR)/src -I$(MISPDIR)/liblfs/include
8 8
 
5  README
@@ -10,8 +10,9 @@
10 10
 2. Download source code of external libs and set environment variables
11 11
    to the root of each source distribution, as follows:
12 12
      M2DIR          milkymist-ng      http://milkymist.org
13  
-     LUADIR         Lua (5.2.0)       http://www.lua.org/
14  
-     YAFFSDIR       YAFFS             http://www.yaffs.net/
  13
+     LUADIR         Lua (5.2.0)       http://lua.org
  14
+     YAFFSDIR       YAFFS             http://yaffs.net
  15
+     FTDIR          Freetype (2.4.9)  http://freetype.org
15 16
    The CRTDIR environment variable is still needed (and is the only one
16 17
    which should not point to the root of the source distribution, but to
17 18
    where the .a binary is located)
46  libfreetype/Makefile
... ...
@@ -0,0 +1,46 @@
  1
+MISPDIR=..
  2
+include $(MISPDIR)/common.mak
  3
+
  4
+CFLAGS+=-I$(FTDIR)/include -include $(FTDIR)/include/freetype/internal/internal.h
  5
+
  6
+FTSRC=$(FTDIR)/src
  7
+
  8
+OBJECTS=ftadvanc.o ftcalc.o ftdbgmem.o ftgloadr.o ftobjs.o ftoutln.o ftrfork.o ftsnames.o ftstream.o fttrigon.o ftutil.o
  9
+OBJECTS+=ftbbox.o ftfstype.o ftgasp.o ftglyph.o ftgxval.o ftlcdfil.o ftmm.o ftotval.o ftstroke.o ftbitmap.o ftsynth.o
  10
+OBJECTS+=ftsystem.o ftdebug.o ftinit.o
  11
+%.o: $(FTSRC)/base/%.c
  12
+	$(compile-dep)
  13
+
  14
+OBJECTS+=ttdriver.o ttgload.o ttgxvar.o ttinterp.o ttobjs.o ttpic.o ttpload.o
  15
+%.o: $(FTSRC)/truetype/%.c
  16
+	$(compile-dep)
  17
+
  18
+OBJECTS+=afangles.o afcjk.o afdummy.o afglobal.o afhints.o afindic.o aflatin.o afloader.o afmodule.o afpic.o afwarp.o
  19
+%.o: $(FTSRC)/autofit/%.c
  20
+	$(compile-dep)
  21
+
  22
+OBJECTS+=ftraster.o ftrend1.o rastpic.o
  23
+%.o: $(FTSRC)/raster/%.c
  24
+	$(compile-dep)
  25
+
  26
+OBJECTS+=ftgrays.o ftsmooth.o ftspic.o
  27
+%.o: $(FTSRC)/smooth/%.c
  28
+	$(compile-dep)
  29
+
  30
+OBJECTS+=ftcbasic.o ftccache.o ftccmap.o ftcglyph.o ftcimage.o ftcmanag.o ftcmru.o ftcsbits.o
  31
+%.o: $(FTSRC)/cache/%.c
  32
+	$(compile-dep)
  33
+
  34
+all: libfreetype.a
  35
+
  36
+# pull in dependency info for *existing* .o files
  37
+-include $(OBJECTS:.o=.d)
  38
+
  39
+libfreetype.a: $(OBJECTS)
  40
+	$(AR) clr libfreetype.a $(OBJECTS)
  41
+	$(RANLIB) libfreetype.a
  42
+
  43
+.PHONY: clean
  44
+
  45
+clean:
  46
+	rm -f $(OBJECTS) $(OBJECTS:.o=.d) libfreetype.a .*~ *~
3  liblua/Makefile
@@ -5,9 +5,6 @@ CFLAGS+=-I. -DLUA_IEEEENDIAN=1 -Dstrcoll=strcmp
5 5
 
6 6
 OBJECTS=lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lbaselib.o lbitlib.o lcorolib.o ldblib.o lmathlib.o lstrlib.o ltablib.o loadlib.o lauxlib.o
7 7
 
8  
-# later:
9  
-#OBJECTS+=liolib.o
10  
-
11 8
 all: liblua.a
12 9
 
13 10
 # pull in dependency info for *existing* .o files

No commit comments for this range

Something went wrong with that request. Please try again.