VirtualBox

source: kBuild/trunk/src/fastdep/Makefile@ 2657

Last change on this file since 2657 was 2413, checked in by bird, 14 years ago

copyright year update.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1# $Id: Makefile 2413 2010-09-11 17:43:04Z bird $
2
3#
4# Odin32 API
5#
6# Makefile for the Quick-and-Dirty dependency utility. (FastDep)
7#
8# Copyright (c) 1999-2010 knut st. osmundsen <[email protected]>
9#
10# GPL
11#
12
13
14!ifdef BUILD_SETUP_MAK
15
16
17#
18# Setup config
19#
20ALL_NO_DBGMEM = 1
21PATH_ROOT = ..\..
22!include $(PATH_ROOT)\$(BUILD_SETUP_MAK)
23
24#
25# Target config
26#
27TARGET_NAME = fastdep
28TARGET_MODE = EXE
29TARGET_NEEDED = 1
30TARGET_PUB_BASE = $(PATH_TOOLS)
31
32TARGET_OBJS =\
33$(PATH_TARGET)\fastdep.$(EXT_OBJ)\
34$(PATH_TARGET)\avl.$(EXT_OBJ)\
35
36TARGET_LIBS =\
37$(LIB_OS)\
38$(LIB_C_OBJ)
39
40#
41# Rules config
42#
43RULES_FORWARD =
44!include $(MAKE_INCLUDE_PROCESS)
45
46
47!else
48#
49# Directory macro.
50#
51ODIN32_BIN = $(ODIN32_TOOLS)
52
53
54#
55# Tell buildenvironment that we're making an VIO .exe.
56# Tell buildenvironment that we like to use static linked CRT.
57# Tell buildenvironment that we should not copy this into /bin.
58#
59EXETARGET = 1
60VIO = 1
61STATIC_CRT = 1
62NO_MAIN_BIN_COPY = 1
63
64
65#
66# include common definitions
67#
68!include ../../makefile.inc
69
70
71#
72# Addjust common definitions
73#
74!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
75CFLAGS = $(CFLAGS) -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- \
76!ifdef DEBUG
77 -O+ -Tm-
78!endif
79!endif
80
81
82#
83# Object files. Prefix with OBJDIR and one space before the '\'.
84#
85OBJS = \
86$(OBJDIR)\fastdep.obj \
87$(OBJDIR)\avl.obj
88
89
90#
91# Libraries. One space before the '\'.
92#
93LIBS = \
94$(RTLLIB) \
95os2386.lib
96
97
98#
99# Target name - name of the exe without extention and path.
100#
101TARGET = FastDep
102
103
104#
105# Includes the common rules.
106#
107!include $(ODIN32_POST_INC)
108
109
110#
111# We need all.
112#
113needed: all
114!endif
115
116
117#
118# NT version using Watcom C/C++.
119#
120fastdepnt.exe:
121 wcl386 -bt=nt -l=nt -d2 /hc /"option map" -DOS2FAKE=1 -I$(WATCOM)\h\nt fastdep.c avl.c os2fake-win.c /Fe=$@ kernel32.lib
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette