pjs/layout/build/Makefile

74 строки
1.5 KiB
Makefile

#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../..
include $(DEPTH)/config/config.mk
LCFLAGS=-D_IMPL_NS_HTML
LIBRARY_NAME = raptorhtml
MODULE=raptor
REQUIRES=xpcom raptor dom js
CPPSRCS=dlldeps.cpp nsLayoutFactory.cpp
EXPORTS=nsLayoutCID.h
INCLUDES += -I../html/base/src
ifeq ($(OS_ARCH),IRIX)
LD_ALL = -all
LD_NONE = -none
endif
ifeq ($(USE_NGLAYOUT_GTK),1)
BASE_DSO_FLAGS = -lgmbasegtk
else
BASE_DSO_FLAGS = -lgmbasemotif
endif
EXTRA_DSO_LDOPTS = \
$(LD_ALL) \
-L$(DIST)/lib \
-lraptorhtmldoc_s \
-lnglhtmlcon_s \
-lraptorhtmlforms_s \
-lraptorhtmlbase_s \
-lraptorhtmlstyle_s \
-lraptorhtmltable_s \
-lraptorlayout_s \
-lraptorevents_s \
$(LD_NONE) \
-L$(DIST)/bin \
-lraptorhtmlpars \
-lraptorgfx \
-lraptorbase \
$(BASE_DSO_FLAGS) \
-ljsdom \
-ljs \
-lnetlib \
-lxpcom \
-lnspr21 \
-lplds21 \
-lplc21 \
$(NULL)
include $(DEPTH)/config/rules.mk