Changeset 4712 for trunk/tools/database


Ignore:
Timestamp:
Dec 3, 2000, 12:27:03 AM (25 years ago)
Author:
bird
Message:

New makefile style.

Location:
trunk/tools/database
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/Makefile

    r4332 r4712  
    1 # $Id: Makefile,v 1.14 2000-09-28 03:06:27 bird Exp $
     1# $Id: Makefile,v 1.15 2000-12-02 23:26:58 bird Exp $
    22
    33#
     
    66
    77# include common definitions
    8 PDWIN32_INCLUDE = ..\..\include
    9 PDWIN32_TOOLS   = ..\bin
    10 !include ..\..\include\pdwin32.mk
     8ODIN32_TCOMMON = ..\common
     9ODIN32_BIN     = $(ODIN32_TOOLS)
     10!include ../../makefile.inc
     11!include $(ODIN32_TCOMMON)/common.mk
    1112
    1213# Addjust common definitions
    13 CINCLUDES= -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win -Igd -Imysql -I..\common
     14CINCLUDES= -I$(ODIN32_INCLUDE) -I$(ODIN32_INCLUDE)\win -Igd -Imysql -I..\common
    1415!ifdef DEBUG
    1516CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ -Tm- $(CINCLUDES)      -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gh+ -DDEBUG_ALLOC
     
    3536# APIImport
    3637#
    37 APIImport.exe: APIImport.obj db.obj ..\common\commonicc.lib mysql\libmysqlclient.lib
     38APIImport.exe: APIImport.obj db.obj $(COMMONLIB) mysql\libmysqlclient.lib
    3839   $(LD) $(LDFLAGS) $**
    3940
    4041..\bin\APIImport.exe: APIImport.exe
    4142   $(CP) $** $@
    42 
    43 ..\common\commonicc.lib:
    44     cd ..\common
    45     nmake /nologo commonicc.lib
    46     cd ..\database
    4743
    4844
     
    7066
    7167gd\gdicc.lib: force
    72    @cd gd
    73    @nmake /nologo gdicc.lib
    74    @cd ..
    75 
     68   $(DODIRS) "gd" $(MAKE_CMD) gdicc.lib
    7669
    7770
     
    111104#
    112105dep:
    113     $(DEPEND) $(CINCLUDES) -o- *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     106    $(DEPEND) $(CINCLUDES) -o- *.h *.asm *.inc $(ODIN32_INCLUDE)\*.h \
    114107        *.c *.cpp -objo *.c *.cpp
    115     cd gd
    116     @nmake /nologo dep
    117     cd ..
     108    $(DODIRS) "gd" $(MAKE_CMD) dep
    118109
    119110
     
    124115clean:
    125116   $(RM) *.obj *.lib *.o *.a *.dll *.exe *.pch *.log *.map *.html
    126    cd gd
    127    $(MAKE) /nologo clean
    128    cd ..
     117    $(DODIRS) "gd" $(MAKE_CMD) clean
    129118
    130119
     
    147136force:
    148137    @$(ECHO) ...
     138
     139
     140#
     141# Common rules.
     142#
     143!include $(ODIN32_TCOMMON_POST_INC)
     144
  • trunk/tools/database/gd/Makefile

    r4332 r4712  
    1111all: gdgcc.a gdgcc.lib gdicc.lib
    1212
    13 PDWIN32_TOOLS = ..\..\bin
    14 PDWIN32_INCLUDE = ..\..\..\include
    15 !include ..\..\..\include\pdwin32.tools
     13ODIN32_TOOLS = ../../bin
     14!include ../../../makefile.inc
    1615
    1716gdgcc.a: force
  • trunk/tools/database/gd/Makefile.gcc

    r4332 r4712  
    88#for your system.
    99
    10 PDWIN32_INCLUDE = ..\..\..\include
    11 PDWIN32_TOOLS = ..\..\bin
    12 !include $(PDWIN32_INCLUDE)\pdwin32.mk
     10ODIN32_TOOLS    = ..\..\bin
     11!include ../../../makefile.inc
    1312
    1413CC=gcc
  • trunk/tools/database/gd/Makefile.icc

    r4332 r4712  
    99
    1010
    11 PDWIN32_INCLUDE = ..\..\..\include
    12 PDWIN32_TOOLS = ..\..\bin
    13 !include $(PDWIN32_INCLUDE)\pdwin32.mk
     11ODIN32_TOOLS = ..\..\bin
     12!include ../../../makefile.inc
    1413
    1514
  • trunk/tools/database/makefile.gcc

    r2770 r4712  
    1 # $Id: makefile.gcc,v 1.2 2000-02-12 23:54:30 bird Exp $
     1# $Id: makefile.gcc,v 1.3 2000-12-02 23:26:59 bird Exp $
    22
    33#
     
    66
    77# common include directory
    8 PDWIN32_INCLUDE = ..\..\include
    9 PDWIN32_TOOLS = ..\bin
    10 !include $(PDWIN32_INCLUDE)\pdwin32.tools
     8ODIN32_INCLUDE = ..\..\include
     9ODIN32_TOOLS = ..\bin
     10!include $(ODIN32_INCLUDE)\odin32.tools
    1111
    1212!ifndef OMF
     
    3434
    3535CDEFINES  = -D__WIN32OS2__ -D__WINE__ -DNOTDLL
    36 CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I$(PDWIN32_INCLUDE) -Imysql -Igd -I..\common
     36CINCLUDES = -I$(ODIN32_INCLUDE)\Win -I$(ODIN32_INCLUDE) -Imysql -Igd -I..\common
    3737# Note: Add -fhandle-exceptions if old gcc version.
    3838!ifndef DEBUG
     
    159159#
    160160dep:
    161     $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     161    $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(ODIN32_INCLUDE)\*.h \
    162162        *.c *.cpp -objo *.c *.cpp
    163163    cd gd
Note: See TracChangeset for help on using the changeset viewer.