# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is mozilla.org code. # The Initial Developer of the Original Code is Sun Microsystems, # Inc. Portions created by SUN are Copyright (C) 2002 SUN # Microsystems, Inc. All Rights Reserved. # # Contributor(s): # Prabhat Hegde (prabhat.hegde@sun.com) # DEPTH = ../../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = mozpango-dvngx LIBRARY_NAME = mozpango-dvngx # See bug 201167 ("No CTL support in StaticBuilds") FORCE_SHARED_LIB = 1 EXTRA_DSO_LIBS = mozpango CSRCS = \ dvng-x.c \ $(NULL) include $(topsrcdir)/config/rules.mk LOCAL_INCLUDES += \ -I$(srcdir)/../pangoLite \ $(NULL) ifdef MOZ_ENABLE_GTK2 CFLAGS += $(MOZ_GTK2_CFLAGS) EXTRA_DSO_LDOPTS += \ -L$(DIST)/lib \ $(EXTRA_DSO_LIBS) \ $(GLIB_LIBS) \ $(MOZ_GTK2_LIBS) \ $(NULL) else CFLAGS += $(GLIB_CFLAGS) EXTRA_DSO_LDOPTS += \ -L$(DIST)/lib \ $(EXTRA_DSO_LIBS) \ $(GLIB_LIBS) \ $(GLIB_GMODULE_LIBS) \ $(NULL) endif