]> git.karo-electronics.de Git - gbdfed.git/blob - Makefile.in
Fixup several compile faults due to changes in recent distributions,
[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@
31 # -DG_DISABLE_DEPRECATED \
32 #       -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
33 #       -DGTK_DISABLE_DEPRECATED
34
35 SRCS = bdf.c \
36        bdfcons.c \
37        bdffnt.c \
38        bdfgname.c \
39        @BDFGRABSRC@ \
40        bdfgrid.c \
41        bdfotf.c \
42        bdfpkgf.c \
43        bdfpsf.c \
44        fontgrid.c \
45        gbdfed.c \
46        gectrl.c \
47        glyphedit.c \
48        glyphtest.c \
49        grayswatch.c \
50        guiedit.c \
51        guifile.c \
52        guigedit.c \
53        guihelp.c \
54        guiops.c \
55        guipref.c \
56        guiutil.c \
57        @HBFSRC@ \
58        labcon.c
59
60 OBJS = bdf.o \
61        bdfcons.o \
62        bdffnt.o \
63        bdfgname.o \
64        @BDFGRABOBJ@ \
65        bdfgrid.o \
66        bdfotf.o \
67        bdfpkgf.o \
68        bdfpsf.o \
69        fontgrid.o \
70        gbdfed.o \
71        gectrl.o \
72        glyphedit.o \
73        glyphtest.o \
74        grayswatch.o \
75        guiedit.o \
76        guifile.o \
77        guigedit.o \
78        guihelp.o \
79        guiops.o \
80        guipref.o \
81        guiutil.o \
82        @HBFOBJ@ \
83        labcon.o
84
85 #
86 # Point these at the FreeType source directories.
87 #
88 INCS = @CPPFLAGS@
89 LIBS = @LIBS@
90 LDFLAGS = @LDFLAGS@
91
92 prefix = @prefix@
93 exec_prefix = @exec_prefix@
94 bindir = @bindir@
95 datarootdir = @datarootdir@
96 mandir = @mandir@
97
98 all: gbdfed
99
100 gbdfed: $(OBJS)
101         $(CC) $(STATIC) $(LDFLAGS) -o gbdfed $(OBJS) $(LIBS)
102
103 clean:
104         $(RM) -f *.o *BAK *CKP *~ core
105
106 realclean: clean
107         $(RM) -f gbdfed
108
109 distclean: clean
110         $(RM) -rf gbdfed config.* Makefile autom4te.cache
111
112 .c.o:
113         $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $@
114
115 install: gbdfed
116         $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
117         $(CP) gbdfed $(DESTDIR)$(bindir)/gbdfed
118         $(CP) gbdfed.man $(DESTDIR)$(mandir)/man1/gbdfed.1
119
120 uninstall:
121         $(RM) -f $(DESTDIR)$(bindir)/gbdfed
122         $(RM) -f $(DESTDIR)$(mandir)/man1/gbdfed.1
123
124 #
125 # Dependencies.
126 #
127 bdf.o: bdf.c bdfP.h bdf.h
128 bdfcons.o: bdfcons.c bdfP.h bdf.h
129 bdffnt.o: bdffnt.c bdfP.h bdf.h
130 bdfgname.o: bdfgname.c bdfP.h bdf.h
131 bdfgrab.o: bdfgrab.c bdfP.h bdf.h
132 bdfgrid.o: bdfgrid.c bdfP.h bdf.h
133 bdfotf.o: bdfotf.c
134 bdfpkgf.o: bdfpkgf.c bdfP.h bdf.h
135 bdfpsf.o: bdfpsf.c bdfP.h bdf.h
136 fontgrid.o: fontgrid.c fontgrid.h bdfP.h bdf.h
137 gbdfed.o: gbdfed.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
138 gectrl.o: gectrl.c gectrl.h bdfP.h bdf.h gectrlbmaps.h
139 glyphedit.o: glyphedit.c glyphedit.h bdfP.h bdf.h
140 glyphtest.o: glyphtest.c glyphtest.h bdfP.h bdf.h
141 grayswatch.o: grayswatch.c grayswatch.h
142 guiedit.o: guiedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
143 guifile.o: guifile.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
144 guigedit.o: guigedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \
145 glyphedit.h labcon.h gectrl.h
146 guihelp.o: guihelp.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h htext.h
147 guiops.o: guiops.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
148 guipref.o: guipref.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
149 guiutil.o: guiutil.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
150 hbf.o: hbf.c hbf.h
151 labcon.o: labcon.c labcon.h
152
153 # end of Makefile