#!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. ####################################################################### # (1) Directory specific info # ####################################################################### DEPTH = ../.. CPPSRCS = efmain.cpp \ $(NULL) PROGRAM = sajava ####################################################################### # (2) Include "component" configuration information. # ####################################################################### include $(DEPTH)/config/config.mk ####################################################################### # (3) Include "local" platform-dependent assignments (OPTIONAL). # ####################################################################### CFLAGS += -DIMPORTING_VM_FILES ifneq ($(OS_ARCH),WINNT) LDFLAGS += -lm endif LDFLAGS += $(EF_LIBS) $(NSPR_LIBS) ####################################################################### # (4) Execute "component" rules. (OPTIONAL) # ####################################################################### include $(DEPTH)/config/rules.mk ####################################################################### # (7) Execute "local" rules. (OPTIONAL). # ####################################################################### program:: $(PROGRAM) ifdef GENERATE_BROWSE_INFO program:: $(BROWSE_INFO_FILE) endif $(PROGRAM): $(EF_LIB_FILES)