2 # Copyright 2008 Department of Mathematical Sciences, New Mexico State University
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:
11 # The above copyright notice and this permission notice shall be included in
12 # all copies or substantial portions of the Software.
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.
25 MKINSTALLDIRS = ./mkinstalldirs
28 CFLAGS = @XX_CFLAGS@ @CFLAGS@
30 DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
31 -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
32 -DGTK_DISABLE_DEPRECATED
85 # Point these at the FreeType source directories.
92 exec_prefix = @exec_prefix@
94 datarootdir = @datarootdir@
100 $(CC) $(STATIC) $(LDFLAGS) -o gbdfed $(OBJS) $(LIBS)
103 $(RM) -f *.o *BAK *CKP *~ core
109 $(RM) -rf gbdfed config.* Makefile autom4te.cache
112 $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $@
115 $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
116 $(CP) gbdfed $(DESTDIR)$(bindir)/gbdfed
117 $(CP) gbdfed.man $(DESTDIR)$(mandir)/man1/gbdfed.1
120 $(RM) -f $(DESTDIR)$(bindir)/gbdfed
121 $(RM) -f $(DESTDIR)$(mandir)/man1/gbdfed.1
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
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
150 labcon.o: labcon.c labcon.h