srcdir=../../src prefix=/usr/local PROGRAM=hpgs SLIB=libhpgs.so$(VERSION) SLIBALIAS1=libhpgs.so$(MVERSION) SLIBALIAS2=libhpgs.so slibsfx=lib OBJ=o CC=gcc STRIP=strip LNS=ln -sf COPT=-g -O2 #COPT=-g #COPT=-O3 -march=pentium4 -msse2 -mfpmath=sse CFLAGS=$(COPT) -Wall -DHPGS_SHARED -I$(srcdir) -I/usr/include/freetype2 -DHPGS_HAVE_FREETYPE -DHPGS_HAVE_GETTEXT LIBCFLAGS=-DHPGS_BUILD_SLIB LDFLAGS=-Wl,-rpath,/usr/local/lib LIBS=-lfreetype -lpng -lm -lpthread -ldl SLD=gcc SLDFLAGS=-shared -Wl,-soname=$(SLIBALIAS1) EXTRA_INSTALL_RULES=install-po include $(srcdir)/include.mak