# # 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) 2000 SUN # Microsystems, Inc. All Rights Reserved. # # This module 'XPCTL Interface' is based on Pango (www.pango.org) # by Red Hat Software. Portions created by Redhat are Copyright (C) # 1999 Red Hat Software. # # Contributor(s): # Prabhat Hegde (prabhat.hegde@sun.com) # DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = ctl LIBRARY_NAME = ctl EXPORT_LIBRARY = 1 IS_COMPONENT = 1 MODULE_NAME = nsCtlLEModule PACKAGE_FILE = ctl.pkg REQUIRES = \ xpcom \ string \ uconv \ locale \ $(NULL) EXTRA_DSO_LIBS = mozpango CPPSRCS = \ nsULE.cpp \ nsUnicodeToTIS620.cpp \ nsUnicodeToSunIndic.cpp \ nsUnicodeToThaiTTF.cpp \ nsCtlLEModule.cpp \ $(NULL) include $(topsrcdir)/config/rules.mk LOCAL_INCLUDES += -I$(srcdir)/pangoLite EXTRA_DSO_LDOPTS = $(LIBS_DIR) ifdef MOZ_ENABLE_GTK2 CXXFLAGS += $(MOZ_GTK2_CFLAGS) EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS) else CXXFLAGS += $(GLIB_CFLAGS) EXTRA_DSO_LDOPTS += $(GLIB_GMODULE_LIBS) endif EXTRA_DSO_LDOPTS += \ $(MOZ_COMPONENT_LIBS) \ $(EXTRA_DSO_LIBS) \ $(NULL)