]> git.karo-electronics.de Git - gbdfed.git/blob - Makefile.in
Initial import of upstream V1.6 from
[gbdfed.git] / Makefile.in
1 #
2 # Copyright 2008 Department of Mathematical Sciences, New Mexico State University
3 #
4 # Permission is hereby granted, free of charge, to any person obtaining a
5 # copy of this software and associated documentation files (the "Software"),
6 # to deal in the Software without restriction, including without limitation
7 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 # and/or sell copies of the Software, and to permit persons to whom the
9 # Software is furnished to do so, subject to the following conditions:
10 #
11 # The above copyright notice and this permission notice shall be included in
12 # all copies or substantial portions of the Software.
13 #
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17 # DEPARTMENT OF MATHEMATICAL SCIENCES OR NEW MEXICO STATE UNIVERSITY BE
18 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
19 # CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 #
22
23 RM = @RM@
24 CP = @CP@
25 MKINSTALLDIRS = ./mkinstalldirs
26
27 CC = @CC@
28 CFLAGS = @XX_CFLAGS@ @CFLAGS@
29
30 DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
31         -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
32         -DGTK_DISABLE_DEPRECATED
33
34 SRCS = bdf.c \
35        bdfcons.c \
36        bdffnt.c \
37        bdfgname.c \
38        @BDFGRABSRC@ \
39        bdfgrid.c \
40        bdfotf.c \
41        bdfpkgf.c \
42        bdfpsf.c \
43        fontgrid.c \
44        gbdfed.c \
45        gectrl.c \
46        glyphedit.c \
47        glyphtest.c \
48        grayswatch.c \
49        guiedit.c \
50        guifile.c \
51        guigedit.c \
52        guihelp.c \
53        guiops.c \
54        guipref.c \
55        guiutil.c \
56        @HBFSRC@ \
57        labcon.c
58
59 OBJS = bdf.o \
60        bdfcons.o \
61        bdffnt.o \
62        bdfgname.o \
63        @BDFGRABOBJ@ \
64        bdfgrid.o \
65        bdfotf.o \
66        bdfpkgf.o \
67        bdfpsf.o \
68        fontgrid.o \
69        gbdfed.o \
70        gectrl.o \
71        glyphedit.o \
72        glyphtest.o \
73        grayswatch.o \
74        guiedit.o \
75        guifile.o \
76        guigedit.o \
77        guihelp.o \
78        guiops.o \
79        guipref.o \
80        guiutil.o \
81        @HBFOBJ@ \
82        labcon.o
83
84 #
85 # Point these at the FreeType source directories.
86 #
87 INCS = @CPPFLAGS@
88 LIBS = @LIBS@
89 LDFLAGS = @LDFLAGS@
90
91 prefix = @prefix@
92 exec_prefix = @exec_prefix@
93 bindir = @bindir@
94 datarootdir = @datarootdir@
95 mandir = @mandir@
96
97 all: gbdfed
98
99 gbdfed: $(OBJS)
100         $(CC) $(STATIC) $(LDFLAGS) -o gbdfed $(OBJS) $(LIBS)
101
102 clean:
103         $(RM) -f *.o *BAK *CKP *~ core
104
105 realclean: clean
106         $(RM) -f gbdfed
107
108 distclean: clean
109         $(RM) -rf gbdfed config.* Makefile autom4te.cache
110
111 .c.o:
112         $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $@
113
114 install: gbdfed
115         $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
116         $(CP) gbdfed $(DESTDIR)$(bindir)/gbdfed
117         $(CP) gbdfed.man $(DESTDIR)$(mandir)/man1/gbdfed.1
118
119 uninstall:
120         $(RM) -f $(DESTDIR)$(bindir)/gbdfed
121         $(RM) -f $(DESTDIR)$(mandir)/man1/gbdfed.1
122
123 #
124 # Dependencies.
125 #
126 bdf.o: bdf.c bdfP.h bdf.h
127 bdfcons.o: bdfcons.c bdfP.h bdf.h
128 bdffnt.o: bdffnt.c bdfP.h bdf.h
129 bdfgname.o: bdfgname.c bdfP.h bdf.h
130 bdfgrab.o: bdfgrab.c bdfP.h bdf.h
131 bdfgrid.o: bdfgrid.c bdfP.h bdf.h
132 bdfotf.o: bdfotf.c
133 bdfpkgf.o: bdfpkgf.c bdfP.h bdf.h
134 bdfpsf.o: bdfpsf.c bdfP.h bdf.h
135 fontgrid.o: fontgrid.c fontgrid.h bdfP.h bdf.h
136 gbdfed.o: gbdfed.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
137 gectrl.o: gectrl.c gectrl.h bdfP.h bdf.h gectrlbmaps.h
138 glyphedit.o: glyphedit.c glyphedit.h bdfP.h bdf.h
139 glyphtest.o: glyphtest.c glyphtest.h bdfP.h bdf.h
140 grayswatch.o: grayswatch.c grayswatch.h
141 guiedit.o: guiedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
142 guifile.o: guifile.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
143 guigedit.o: guigedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \
144 glyphedit.h labcon.h gectrl.h
145 guihelp.o: guihelp.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h htext.h
146 guiops.o: guiops.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
147 guipref.o: guipref.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
148 guiutil.o: guiutil.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
149 hbf.o: hbf.c hbf.h
150 labcon.o: labcon.c labcon.h
151
152 # end of Makefile