Changeset 217


Ignore:
Timestamp:
May 22, 2003, 6:29:14 PM (22 years ago)
Author:
bird
Message:

Dependencies and tools we built.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/Makefile

    • Property cvs2svn:cvs-rev changed from 1.14 to 1.15
    r216 r217  
    8383
    8484# emxbind tool
    85 EMXBIND = $(call FINDTOOL,emxbind)
    86 EMXBIND.BUILD = $.$(TOOLFMT)/emxbind$E
     85#EMXBIND = $(call FINDTOOL,emxbind)
     86EMXBIND = $.$(TOOLFMT)/emxbind$E
     87EMXBIND.DEPON = emxbind $.$(TOOLFMT)/emxbind$E
    8788# emxbind flags
    8889EMXBINDFLAGS = -q $(EMXBINDFLAGS.$(MODE))
     
    106107# removing unused stuff (like empty lines and comments)
    107108# and sorting alphabetically (looks nicer).
    108 EMXEXP = $(call FINDTOOL,emxexp)
    109 EMXEXP.BUILD = $.$(TOOLFMT)/emxexp$E
     109#EMXEXP = $(call FINDTOOL,emxexp)
     110EMXEXP = $.$(TOOLFMT)/emxexp$E
     111EMXEXP.DEPON = emxexp $.$(TOOLFMT)/emxexp$E
    110112EMXEXPFLAGS = -u
    111113DO.EMXEXP = $(EMXEXP) $(strip $(EMXEXPFLAGS) $1) $^ | sed -e "/^$$/d" -e "/^ *;/d" | sort -d >>$@
    112114
    113115# The tool to create import libraries
    114 IMPLIB = $(call FINDTOOL,emximp)
    115 IMPLIB.BUILT = $.$(TOOLFMT)/emximp$E
     116#IMPLIB = $(call FINDTOOL,emximp)
     117IMPLIB = $.$(TOOLFMT)/emximp$E
     118EMXIMP.DEPON = emximp $.$(TOOLFMT)/emximp$E
    116119IMPLIBFLAGS.prof = -m
    117120IMPLIBFLAGS.KIND = $(foreach x,$(subst -, ,$(firstword $(subst /, ,$(subst $.,,$@)))),$(IMPLIBFLAGS.$x))
     
    126129
    127130# How to convert an a.out file to the OMF format
     131# We must use FINDTOOL here 'cause of the two libs which emxomf depends on
    128132EMXOMF = $(call FINDTOOL,emxomf)
    129 EMXOMF.BUILT = $.$(TOOLFMT)/emxomf$E
     133EMXOMF.DEPON = emxomf $.$(TOOLFMT)/emxomf$E
    130134DO.EMXOMF = $(EMXOMF) $(strip $1 -o) $@ $<
    131135
     
    139143^LIB = $(strip $(filter %.a,$^) $(filter %.lib,$^))
    140144# This function finds a tool: if it has been already built, prefer it
    141 FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1)
     145FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1$E)
    142146
    143147# A newline
Note: See TracChangeset for help on using the changeset viewer.