143f32c10Smrg# 243f32c10Smrg# Copyright 2005 Red Hat, Inc. 343f32c10Smrg# 443f32c10Smrg# Permission to use, copy, modify, distribute, and sell this software and its 543f32c10Smrg# documentation for any purpose is hereby granted without fee, provided that 643f32c10Smrg# the above copyright notice appear in all copies and that both that 743f32c10Smrg# copyright notice and this permission notice appear in supporting 843f32c10Smrg# documentation, and that the name of Red Hat not be used in 943f32c10Smrg# advertising or publicity pertaining to distribution of the software without 1043f32c10Smrg# specific, written prior permission. Red Hat makes no 1143f32c10Smrg# representations about the suitability of this software for any purpose. It 1243f32c10Smrg# is provided "as is" without express or implied warranty. 1343f32c10Smrg# 1443f32c10Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1543f32c10Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1643f32c10Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1743f32c10Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1843f32c10Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1943f32c10Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2043f32c10Smrg# PERFORMANCE OF THIS SOFTWARE. 2143f32c10Smrg 226ef05171SmrgSUBDIRS = man 2343f32c10Smrgbin_PROGRAMS = fonttosfnt 2443f32c10Smrg 256ef05171SmrgAM_CFLAGS = -DXVENDORNAME=\"X.Org\ Foundation\" $(FONTTOSFNT_CFLAGS) -DXVENDORNAMESHORT=\"X.Org\" -D_DEFAULT_SOURCE -D_GNU_SOURCE $(CWARNFLAGS) 2643f32c10Smrgfonttosfnt_LDADD = $(FONTTOSFNT_LIBS) -lm 2743f32c10Smrg 2843f32c10Smrgfonttosfnt_SOURCES = \ 2943f32c10Smrg fonttosfnt.c \ 3043f32c10Smrg fonttosfnt.h \ 3143f32c10Smrg read.c \ 3243f32c10Smrg struct.c \ 3343f32c10Smrg util.c \ 3443f32c10Smrg write.c 3543f32c10Smrg 3643f32c10Smrgif NEED_SETENV 3743f32c10Smrgfonttosfnt_SOURCES += env.c 3843f32c10SmrgAM_CFLAGS += -DNEED_SETENV 3943f32c10Smrgendif 4043f32c10Smrg 416ef05171SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL 4243f32c10Smrg 436ef05171Smrg.PHONY: ChangeLog INSTALL 4443f32c10Smrg 456ef05171SmrgINSTALL: 466ef05171Smrg $(INSTALL_CMD) 4743f32c10Smrg 4843f32c10SmrgChangeLog: 496ef05171Smrg $(CHANGELOG_CMD) 5043f32c10Smrg 516ef05171Smrgdist-hook: ChangeLog INSTALL 52ea148d1dSmrg 53ea148d1dSmrgEXTRA_DIST = README.md 54