| Line | |
|---|
| 1 | # $Id: common.mk,v 1.4 2000-12-02 23:26:57 bird Exp $
|
|---|
| 2 | #
|
|---|
| 3 | # Common definitions for tools.
|
|---|
| 4 | #
|
|---|
| 5 | # Requires that ODIN32_TCOMMON is defined to point to the
|
|---|
| 6 | # /tools/common directory
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 | # Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
|
|---|
| 10 | #
|
|---|
| 11 | # Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 12 | #
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 | #
|
|---|
| 16 | # Make a suggestion of which common.<a|lib> library to use.
|
|---|
| 17 | # Not defined OMF indicates VAC or Watcom.
|
|---|
| 18 | # OMF=0 indicates GCC+aout
|
|---|
| 19 | # OMF=1 indicates GCC+OMF
|
|---|
| 20 | #
|
|---|
| 21 | !ifndef GCC
|
|---|
| 22 | COMMONLIB = $(ODIN32_TCOMMON)\$(OBJDIR)\common.lib
|
|---|
| 23 | !else
|
|---|
| 24 | !if $(OMF) == 0
|
|---|
| 25 | COMMONLIB = $(ODIN32_TCOMMON)\$(OBJDIR)\common.a
|
|---|
| 26 | !else
|
|---|
| 27 | COMMONLIB = $(ODIN32_TCOMMON)\$(OBJDIR)\common.lib
|
|---|
| 28 | !endif
|
|---|
| 29 | !endif
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | #
|
|---|
| 33 | # Add ODIN32_TCOMMON to the C and C++ includes.
|
|---|
| 34 | #
|
|---|
| 35 | CINCLUDES = -I$(ODIN32_TCOMMON) $(CINCLUDES)
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | #
|
|---|
| 39 | # No internal libs cause we define our own internal libs.
|
|---|
| 40 | #
|
|---|
| 41 | NO_INTERNAL_LIBS = 1
|
|---|
| 42 | INTLIBS = $(COMMONLIB)
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | #
|
|---|
| 46 | # Macro for the post include.
|
|---|
| 47 | #
|
|---|
| 48 | ODIN32_TCOMMON_POST_INC = $(ODIN32_TCOMMON)/common.post.mk
|
|---|
| 49 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.