[BACK]Return to common.am CVS log [TXT][DIR] Up to [Development] / failsafe / FailSafe-mgr

File: [Development] / failsafe / FailSafe-mgr / common.am (download)

Revision 1.5, Tue Aug 1 07:25:53 2000 UTC (17 years, 2 months ago) by rusty
Branch: MAIN
Changes since 1.4: +0 -20 lines

Removed stuff for building PRODUCT_FILES, as it's no longer needed.
(This was the building-cxmgr-and-fsmgr-from-the-same-tree stuff.)

#  Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.

#  Automake's dependency tracking claims to run one compiler command, but
#  instead runs another which croaks non-GNU compilers.  It would be nice
#  if this was only set when we were using g++.
AUTOMAKE_OPTIONS = no-dependencies

rhlibdir = @RHLIBDIR@
rhcatdir = @RHCATDIR@
rhassocdir = @RHASSOCDIR@
rhprivbindir = @RHPRIVBINDIR@
rhwebbindir = @RHWEBBINDIR@
rhtaskregdir = @RHTASKREGDIR@
fsProductAttrsdir = @FSPRODDIR@/productAttrs
# automake doesn't handle noinst_JAVA correctly.
bogodir = @BOGODIR@

#  This is because rhino #defines a bogus sginap() macro which interferes
#  with failsafe's sginap.h.
CXXFLAGS += -D_SGINAP_H_

# The next two lines add the EXTRA_INCS and EXTRA_LIBS variables to the 
# INCLUDES and LDFLAGS.  These variables aren't set anywhere by automake 
# or autoconf, but you can set these variables in your environment before
# running make to set them.  These variables can be used to point to
# Rhino's .h's and .so's in the event that you want to install
# the Rhino development stuff in someplace other than your root.
INCLUDES =  -I$(top_srcdir)/include $(EXTRA_INCS)
LDFLAGS = -L@RHLIBDIR@ -R @FAILSAFELIBDIR@ $(EXTRA_LIBS)

LDDSOOPTS = -shared

#  The CLASSPATH_ENV for building the packages.
CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(RHJARDIR)/sysadm.jar:$(RHJARDIR)/sysadmP.jar:$(RHJARDIR)/swingall.jar

#  If you want to compile your java classes -g or -deprecation, this is the
#  place to do it.
JAVACFLAGS =

##.ftr.java:
##	$(FTRJAVA) $(FTRJAVAOPTS) $*.ftr
%.java: %.ftr
	$(FTRJAVA) $(FTRJAVAOPTS) $<