source: trunk/tools/database/APIImport.mak@ 5530

Last change on this file since 5530 was 5530, checked in by bird, 24 years ago

Revamped makefiles to fit the new makefile style (finally).

File size: 1.3 KB
Line 
1# $Id: APIImport.mak,v 1.1 2001-04-17 00:24:08 bird Exp $
2
3#
4# Odin32 API
5#
6# APIImport.exe makefile
7#
8
9
10#
11# Macro which defines the tools common directory.
12#
13ODIN32_TCOMMON = ..\common
14ODIN32_BIN = $(ODIN32_TOOLS)
15
16
17#
18# Tell that we're producing an vio executable.
19# Tell buildenvironment that we like to use static linked CRT.
20# Tell that we're not to be copied to /bin.
21# Tell that the makefile has another name.
22#
23EXETARGET = 1
24VIO = 1
25STATIC_CRT = 1
26NO_MAIN_BIN_COPY = 1
27MAKEFILE = APIImport.mak
28
29
30#
31# Compiler, tools, and interference rules.
32#
33!include ../../makefile.inc
34!include $(ODIN32_TCOMMON)/common.mk
35
36
37#
38# Addjustments..
39#
40CINCLUDES= -I$(ODIN32_INCLUDE) -I$(ODIN32_INCLUDE)\win -Igd -Imysql -I..\common
41!ifdef DEBUG
42CDEFINES = $(CDEFINES) -DNO_CLIENT_LONG_LONG -DDEBUG_ALLOC
43!else
44CDEFINES = $(CDEFINES) -DNO_CLIENT_LONG_LONG
45!endif
46
47
48#
49# Object files. Prefix with OBJDIR and one space before the '\'.
50#
51OBJS = \
52$(OBJDIR)\APIImport.obj \
53$(OBJDIR)\db.obj
54
55
56#
57# Libraries. One space before the '\'.
58#
59LIBS = \
60$(COMMONLIB) \
61$(RTLLIB) \
62mysql\libmysqlclient.lib \
63os2386.lib
64
65
66#
67# Target name - name of the dll without extention and path.
68#
69TARGET = APIImport
70
71
72#
73# Includes the common rules.
74#
75!include $(ODIN32_POST_INC)
76!include $(ODIN32_TCOMMON_POST_INC)
77
Note: See TracBrowser for help on using the repository browser.