diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-29 14:39:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-29 14:39:50 +0000 |
commit | a34b2458a4c6fade5bca0445e224ddea68ebb4bf (patch) | |
tree | a3f6ecbbf8376c5f0f805ddca8a942a812b28823 /automake/leaf.am | |
parent | c1368b9ecfd7eb076ba05c62155b848f8026996e (diff) |
2001-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Adopt more automake rules:
* automake/compile.am: Add LINK, CXXLINK, AS, ASCOMPILE;
Remove ARFLAGS, LINK.c, COMPILE.S, LINK.cc;
Add CPU_CFLAGS to CXXFLAGS, CFLAGS, ASFLAGS;
* automake/leaf.am: Add CXXLINK_APP, LINK_APP, make-exe, apply
CXXLINK_APP in make-cxx-exe.
* automake/lib.am: Add ARFLAGS.
Diffstat (limited to 'automake/leaf.am')
-rw-r--r-- | automake/leaf.am | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/automake/leaf.am b/automake/leaf.am index b36ed33fbb..f6a9c5ce15 100644 --- a/automake/leaf.am +++ b/automake/leaf.am @@ -1,9 +1,16 @@ include $(RTEMS_ROOT)/make/leaf.cfg +CXXLINK_APP = $(CXXLINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS) ifndef make-cxx-exe define make-cxx-exe - $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \ - $(LDLIBS) -o $@ \ - $(LINK_OBJS) $(LINK_LIBS) + $(CXXLINK_APP) endef @ENDIF@ + +LINK_APP = $(LINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS) +ifndef make-exe +define make-exe + $(LINK_APP) +endef +@ENDIF@ + |