# # Copyright 2008 Department of Mathematical Sciences, New Mexico State University # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # DEPARTMENT OF MATHEMATICAL SCIENCES OR NEW MEXICO STATE UNIVERSITY BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF # CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # RM = @RM@ CP = @CP@ MKINSTALLDIRS = ./mkinstalldirs CC = @CC@ CFLAGS = @XX_CFLAGS@ @CFLAGS@ DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED SRCS = bdf.c \ bdfcons.c \ bdffnt.c \ bdfgname.c \ @BDFGRABSRC@ \ bdfgrid.c \ bdfotf.c \ bdfpkgf.c \ bdfpsf.c \ fontgrid.c \ gbdfed.c \ gectrl.c \ glyphedit.c \ glyphtest.c \ grayswatch.c \ guiedit.c \ guifile.c \ guigedit.c \ guihelp.c \ guiops.c \ guipref.c \ guiutil.c \ @HBFSRC@ \ labcon.c OBJS = bdf.o \ bdfcons.o \ bdffnt.o \ bdfgname.o \ @BDFGRABOBJ@ \ bdfgrid.o \ bdfotf.o \ bdfpkgf.o \ bdfpsf.o \ fontgrid.o \ gbdfed.o \ gectrl.o \ glyphedit.o \ glyphtest.o \ grayswatch.o \ guiedit.o \ guifile.o \ guigedit.o \ guihelp.o \ guiops.o \ guipref.o \ guiutil.o \ @HBFOBJ@ \ labcon.o # # Point these at the FreeType source directories. # INCS = @CPPFLAGS@ LIBS = @LIBS@ LDFLAGS = @LDFLAGS@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ datarootdir = @datarootdir@ mandir = @mandir@ all: gbdfed gbdfed: $(OBJS) $(CC) $(STATIC) $(LDFLAGS) -o gbdfed $(OBJS) $(LIBS) clean: $(RM) -f *.o *BAK *CKP *~ core realclean: clean $(RM) -f gbdfed distclean: clean $(RM) -rf gbdfed config.* Makefile autom4te.cache .c.o: $(CC) $(DEFINES) $(CFLAGS) $(INCS) -c $< -o $@ install: gbdfed $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(CP) gbdfed $(DESTDIR)$(bindir)/gbdfed $(CP) gbdfed.man $(DESTDIR)$(mandir)/man1/gbdfed.1 uninstall: $(RM) -f $(DESTDIR)$(bindir)/gbdfed $(RM) -f $(DESTDIR)$(mandir)/man1/gbdfed.1 # # Dependencies. # bdf.o: bdf.c bdfP.h bdf.h bdfcons.o: bdfcons.c bdfP.h bdf.h bdffnt.o: bdffnt.c bdfP.h bdf.h bdfgname.o: bdfgname.c bdfP.h bdf.h bdfgrab.o: bdfgrab.c bdfP.h bdf.h bdfgrid.o: bdfgrid.c bdfP.h bdf.h bdfotf.o: bdfotf.c bdfpkgf.o: bdfpkgf.c bdfP.h bdf.h bdfpsf.o: bdfpsf.c bdfP.h bdf.h fontgrid.o: fontgrid.c fontgrid.h bdfP.h bdf.h gbdfed.o: gbdfed.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h gectrl.o: gectrl.c gectrl.h bdfP.h bdf.h gectrlbmaps.h glyphedit.o: glyphedit.c glyphedit.h bdfP.h bdf.h glyphtest.o: glyphtest.c glyphtest.h bdfP.h bdf.h grayswatch.o: grayswatch.c grayswatch.h guiedit.o: guiedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h guifile.o: guifile.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h guigedit.o: guigedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \ glyphedit.h labcon.h gectrl.h guihelp.o: guihelp.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h htext.h guiops.o: guiops.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h guipref.o: guipref.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h guiutil.o: guiutil.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h hbf.o: hbf.c hbf.h labcon.o: labcon.c labcon.h # end of Makefile