~ubuntu-branches/ubuntu/jaunty/texlive-bin/jaunty

« back to all changes in this revision

Viewing changes to build/TeX/libs/freetype/lib/arch/os2/Makefile.emx

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-06-26 23:14:59 UTC
  • mfrom: (2.1.30 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080626231459-y02rjsrgtafu83yr
Tags: 2007.dfsg.2-3
add missing source roadmap.fig of roadmap.eps in fontinst documentation
(Closes: #482915) (urgency medium due to RC bug)
(new patch add-missing-fontinst-source)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This file is part of the FreeType project.
2
 
#
3
 
# It builds the library and test programs for emx-gcc under OS/2.
4
 
#
5
 
# You will need GNU make.
6
 
#
7
 
# Use this file while in the lib directory with the following statements:
8
 
#
9
 
#   make -f arch/os2/Makefile.emx depend
10
 
#   make -f arch/os2/Makefile.emx
11
 
#
12
 
#
13
 
# Copyright 1996-2002 by
14
 
# David Turner, Robert Wilhelm, and Werner Lemberg.
15
 
#
16
 
# This file is part of the FreeType project, and may only be used, modified,
17
 
# and distributed under the terms of the FreeType project license,
18
 
# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
19
 
# indicate that you have read the license and understand and accept it
20
 
# fully.
21
 
 
22
 
ARCH = arch/os2
23
 
FT_MAKEFILE = $(ARCH)/Makefile.emx
24
 
 
25
 
CC = gcc
26
 
 
27
 
#CFLAGS = -W -Wall -O0 -g -ansi -pedantic -I$(ARCH) -I. -Iextend
28
 
 
29
 
CFLAGS = -Wall -O3 -fno-inline -fomit-frame-pointer \
30
 
         -g -ansi -pedantic -I$(ARCH) -I. -Iextend
31
 
 
32
 
#CFLAGS = -Wall -ansi -pedantic -O2 -s -I$(ARCH) -I. -Iextend
33
 
 
34
 
TTFILE = $(ARCH)/os2file.c
35
 
TTMEMORY = ./ttmemory.c
36
 
TTMUTEX = ./ttmutex.c
37
 
 
38
 
PORT = $(TTFILE) $(TTMEMORY) $(TTMUTEX)
39
 
 
40
 
SRC_X = extend/ftxgasp.c extend/ftxkern.c  extend/ftxpost.c \
41
 
        extend/ftxcmap.c extend/ftxwidth.c extend/ftxsbit.c \
42
 
        extend/ftxgsub.c extend/ftxgpos.c  extend/ftxopen.c \
43
 
        extend/ftxgdef.c
44
 
OBJS_X = $(SRC_X:.c=.o)
45
 
 
46
 
SRC_M = ttapi.c     ttcache.c   ttcalc.c   ttcmap.c  ttdebug.c \
47
 
        ttgload.c   ttinterp.c  ttload.c   ttobjs.c \
48
 
        ttraster.c  ttextend.c  $(PORT)
49
 
OBJS_M = $(SRC_M:.c=.o) $(OBJS_X)
50
 
 
51
 
SRC_S = $(ARCH)/freetype.c
52
 
OBJ_S = $(SRC_S:.c=.o)
53
 
OBJS_S = $(OBJ_S) $(OBJS_X)
54
 
 
55
 
SRCD_S  = $(ARCH)/freetypd.c
56
 
OBJD_S  = $(SRCD_S:.c=.o)
57
 
OBJDS_S = $(OBJD_S) $(OBJS_X)
58
 
 
59
 
%.o: %.c
60
 
        $(CC) $(CFLAGS) -c -o $@ $<
61
 
 
62
 
.PHONY: all debug clean distclean depend
63
 
 
64
 
 
65
 
all:
66
 
        $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_S libttf.a
67
 
 
68
 
debug:
69
 
        $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_M libttf.a
70
 
 
71
 
debugger:
72
 
        $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJDS_S libttfd.a
73
 
 
74
 
$(OBJ_S): $(SRC_S) $(SRC_M)
75
 
$(OBJD_S): $(SRCD_S) $(SRC_M)
76
 
 
77
 
libttf.a: $($(LIB_FILES))
78
 
        -del $@
79
 
        ar src $@ $^
80
 
 
81
 
libttfd.a: $(OBJDS)
82
 
 
83
 
libttfd.a: $(OBJDS)
84
 
        -del $@
85
 
        ar src $@ $^
86
 
 
87
 
clean:
88
 
        -del $(subst /,\,$(OBJS_S))
89
 
        -del $(subst /,\,$(OBJS_M))
90
 
 
91
 
distclean: clean
92
 
        -del dep.end
93
 
        -del libttf.a
94
 
 
95
 
depend: $(SRC_S) $(SRC_M) $(SRC_X)
96
 
        $(CC) -E -MM -I$(ARCH) -I. -Iextend $^ > dep.end
97
 
 
98
 
ifeq (dep.end,$(wildcard dep.end))
99
 
  include dep.end
100
 
endif
101
 
 
102
 
# end of Makefile.emx