Changeset 2714 for trunk/tools/database


Ignore:
Timestamp:
Feb 10, 2000, 12:52:04 AM (26 years ago)
Author:
bird
Message:

Dependencies.

Location:
trunk/tools/database
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/Makefile

    r2004 r2714  
    1 # $Id: Makefile,v 1.3 1999-12-06 23:52:43 bird Exp $
     1# $Id: Makefile,v 1.4 2000-02-09 23:50:31 bird Exp $
    22
    33#
     
    77# common include directory
    88PDWIN32_INCLUDE = ..\..\include
     9PDWIN32_TOOLS = ..\bin
    910!include $(PDWIN32_INCLUDE)\pdwin32.tools
    1011
     
    6667#
    6768all: db.$(A) APIImport.exe StateUpd.exe kHTMLPC.exe \
    68    ..\bin\APIImport.exe ..\bin\StateUpd.exe ..\bin\kHTMLPC.exe
     69    ..\bin\APIImport.exe ..\bin\StateUpd.exe ..\bin\kHTMLPC.exe
    6970
    7071
     
    7475#
    7576db.$(A): db.$(O)
    76    -$(RM) $@
    77    $(AR) cr $@ $**
    78 
    79 db.$(O): db.cpp db.h mysql\mysql.h
     77    -$(RM) $@
     78    $(AR) cr $@ $**
    8079
    8180
     
    8584#
    8685APIImport.exe: APIImport.$(O) db.$(A) ..\common\commongcc.$(A)
    87    $(LINK) APIImport.$(O) -l..\common\commongcc $(LIBS)
     86    $(LINK) APIImport.$(O) -l..\common\commongcc $(LIBS)
    8887
    8988..\bin\APIImport.exe: APIImport.exe
    90    $(CP) $** $@
     89    $(CP) $** $@
    9190
    9291..\common\commongcc.$(A):
     
    10099#
    101100StateUpd.exe: StateUpd.$(O) db.$(A)
    102    $(LINK) StateUpd.$(O)  $(LIBS)
     101    $(LINK) StateUpd.$(O)  $(LIBS)
    103102
    104103..\bin\StateUpd.exe: StateUpd.exe
    105    $(CP) $** $@
    106 
    107 StateUpd.$(O):     StateUpd.cpp db.h
     104    $(CP) $** $@
    108105
    109106
     
    113110#
    114111kHTMLPC.exe: kHTMLPC.$(O) gd/gdgcc.$(A) db.$(A)
    115    $(LINK) kHTMLPC.$(O) -lgd/gdgcc  $(LIBS)
     112    $(LINK) kHTMLPC.$(O) -lgd/gdgcc  $(LIBS)
    116113
    117114..\bin\kHTMLPC.exe: kHTMLPC.exe
    118    $(CP) $** $@
    119 
    120 kHTMLPC.$(O): kHTMLPC.cpp kHTMLPC.h db.h ..\common\kLIFO.cpp    \
    121             ..\common\kLIFO.h ..\common\kList.h ..\common\kList.cpp \
    122             gd/gd.h gd/gdfontg.h gd/gdfontl.h gd/gdfontmb.h gd/gdfonts.h \
    123             gd/gdfontt.h
     115    $(CP) $** $@
    124116
    125117
    126118gd/gdgcc.$(A): force
    127    @cd gd
    128    @nmake /nologo gdgcc.$(A)
    129    @cd ..
     119    @cd gd
     120    @nmake /nologo gdgcc.$(A)
     121    @cd ..
    130122
    131123
     
    146138#
    147139Odin32: CreateTables.sql States.sql Authors.sql
    148    -mysqladmin refresh
    149    -mysqladmin DROP Odin32
    150    mysql < CreateTables.sql
    151    mysql < States.sql
    152    mysql < Authors.sql
    153    -mysqladmin refresh
     140    -mysqladmin refresh
     141    -mysqladmin DROP Odin32
     142    mysql < CreateTables.sql
     143    mysql < States.sql
     144    mysql < Authors.sql
     145    -mysqladmin refresh
    154146
    155147Authors: Authors.sql
    156    mysql < Authors.sql
    157    -mysqladmin refresh
     148    mysql < Authors.sql
     149    -mysqladmin refresh
    158150
    159151States: States.sql
    160    mysql < States.sql
    161    -mysqladmin refresh
     152    mysql < States.sql
     153    -mysqladmin refresh
     154
     155
     156
     157#
     158# Autogenerated depenencies.
     159#
     160dep:
     161    $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     162        *.c *.cpp -objo *.c *.cpp
     163    cd gd
     164    @nmake /nologo dep
     165    cd ..
     166
     167!ifndef NODEP
     168!include .depend
     169!endif
     170
    162171
    163172
     
    166175#
    167176clean:
    168    -@$(RM) *.obj
    169    -@$(RM) *.lib
    170    -@$(RM) *.o
    171    -@$(RM) *.a
    172    -@$(RM) *.dll
    173    -@$(RM) *.exe
    174    -@$(RM) *.pch
    175    -@$(RM) *.log
    176    -@$(RM) *.map
     177   @$(RM) *.obj *.lib *.o *.a *.dll *.exe *.pch *.log *.map
    177178   @cd gd
    178179   @nmake /nologo clean
     180   @cd ..
    179181
    180182force:
  • trunk/tools/database/gd/Makefile

    r2004 r2714  
    88#for your system.
    99
     10
    1011all: gdgcc.a gdgcc.lib gdicc.lib
     12
     13PDWIN32_TOOLS = ..\..\bin
     14PDWIN32_INCLUDE = ..\..\..\include
     15!include ..\..\..\include\pdwin32.tools
    1116
    1217gdgcc.a: force
     
    2227    @echo ...
    2328
     29dep:
     30    $(DEPEND) *.c *.cpp *.h *.asm *.inc -Objo *.c *.cpp -objgobj *.c *.cpp
     31
     32!ifndef NODEP
     33!include .depend
     34!endif
     35
     36
    2437clean:
    2538   @nmake /nologo -f makefile.icc clean
  • trunk/tools/database/gd/Makefile.gcc

    r829 r2714  
    88#for your system.
    99
    10 !include ..\..\..\include\pdwin32.tools
     10PDWIN32_INCLUDE = ..\..\..\include
     11PDWIN32_TOOLS = ..\..\bin
     12!include $(PDWIN32_INCLUDE)\pdwin32.mk
    1113
    1214CC=gcc
     
    5557
    5658gdgcc.$(A): gd.$(O) gdfontt.$(O) gdfonts.$(O) gdfontmb.$(O) gdfontl.$(O) gdfontg.$(O) \
    57         gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
    58         -@$(RM) gdgcc.$(A)
    59         $(AR) rc gdgcc.$(A) gd.$(O) gdfontt.$(O) gdfonts.$(O) gdfontmb.$(O) \
    60                 gdfontl.$(O) gdfontg.$(O)
     59    gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
     60    @$(RM) gdgcc.$(A)
     61    $(AR) rc gdgcc.$(A) gd.$(O) gdfontt.$(O) gdfonts.$(O) gdfontmb.$(O) \
     62        gdfontl.$(O) gdfontg.$(O)
    6163
    6264gddemo.exe: gddemo.$(O) gdgcc.$(A) gd.h gdfonts.h gdfontl.h
    63         $(LD) $(LDFLAGS) gddemo.$(O) -o $@ $(LIBS)
     65    $(LD) $(LDFLAGS) gddemo.$(O) -o $@ $(LIBS)
    6466
    6567giftogd.exe: giftogd.$(O) gdgcc.$(A) gd.h
    66         $(LD) $(LDFLAGS) giftogd.$(O) -o $@ $(LIBS)
     68    $(LD) $(LDFLAGS) giftogd.$(O) -o $@ $(LIBS)
    6769
    6870webgif.exe: webgif.$(O) gdgcc.$(A) gd.h
    69         $(LD) $(LDFLAGS) webgif.$(O) -o $@ $(LIBS)
     71    $(LD) $(LDFLAGS) webgif.$(O) -o $@ $(LIBS)
     72
     73dep:
     74    @nmake /nologo -f makefile NODEP=1 dep
     75
     76!ifndef NODEP
     77!include .depend
     78!endif
    7079
    7180clean:
    72        -@$(RM) *.$(O)
    73        -@$(RM) *.$(A)
    74        -@$(RM) *.exe
    75        -@$(RM) *.map
     81    -@$(RM) *.$(O) *.$(A) *.exe *.map
    7682
  • trunk/tools/database/gd/Makefile.icc

    r829 r2714  
    99
    1010
    11 # common include directory
    1211PDWIN32_INCLUDE = ..\..\..\include
     12PDWIN32_TOOLS = ..\..\bin
    1313!include $(PDWIN32_INCLUDE)\pdwin32.mk
    1414
     
    2424
    2525gdicc.lib: gd.obj gdfontt.obj gdfonts.obj gdfontmb.obj gdfontl.obj gdfontg.obj \
    26         gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
    27         -@$(RM) $@
    28         $(AR) $@ +gd.obj +gdfontt.obj +gdfonts.obj +gdfontmb.obj \
    29                 +gdfontl.obj +gdfontg.obj, NUL
     26    gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
     27    @$(RM) $@
     28    $(AR) $@ +gd.obj +gdfontt.obj +gdfonts.obj +gdfontmb.obj \
     29          +gdfontl.obj +gdfontg.obj, NUL
    3030
    3131gddemo.exe: gddemo.obj gdicc.lib gd.h gdfonts.h gdfontl.h
    32         $(LD) gddemo.obj -Fe$@ $(LIBS)
     32    $(LD) gddemo.obj -Fe$@ $(LIBS)
    3333
    3434giftogd.exe: giftogd.obj gdicc.lib gd.h
    35         $(LD) giftogd.obj -Fe$@ $(LIBS)
     35    $(LD) giftogd.obj -Fe$@ $(LIBS)
    3636
    3737webgif.exe: webgif.obj gdicc.lib gd.h
    38         $(LD) webgif.obj -Fe$@ $(LIBS)
     38    $(LD) webgif.obj -Fe$@ $(LIBS)
     39
     40dep:
     41    @nmake /nologo -f makefile NODEP=1 dep
     42
     43!ifndef NODEP
     44!include .depend
     45!endif
    3946
    4047clean:
    41        -@$(RM) *.obj
    42        -@$(RM) *.exe
    43        -@$(RM) *.map
    44        -@$(RM) gdicc.lib
    45        -@$(RM) cset*.pch
     48    @$(RM) *.obj *.exe *.map gdicc.lib cset*.pch
    4649
  • trunk/tools/database/makefile.icc

    r2004 r2714  
    1 # $Id: makefile.icc,v 1.3 1999-12-06 23:52:43 bird Exp $
     1# $Id: makefile.icc,v 1.4 2000-02-09 23:50:31 bird Exp $
    22
    33#
     
    77# include common definitions
    88PDWIN32_INCLUDE = ..\..\include
     9PDWIN32_TOOLS   = ..\bin
    910!include ..\..\include\pdwin32.mk
    1011
    1112# Addjust common definitions
     13CINCLUDES= -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win -Igd -Imysql -I..\common
    1214!ifdef DEBUG
    13 CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ -I$(PDWIN32_INCLUDE)      -Igd -Imysql -I..\common -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
    14 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -I$(PDWIN32_INCLUDE) -Igd -Imysql -I..\common -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
     15CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ $(CINCLUDES)      -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
     16CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
    1517LDFLAGS  = $(LDFLAGS)  -Ge+ -Fe$@ /B"/MAP:full" $(RTLLIB) os2386.lib
    1618!else
    17 CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ -I$(PDWIN32_INCLUDE)      -Igd -Imysql -I..\common -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
    18 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -I$(PDWIN32_INCLUDE) -Igd -Imysql -I..\common -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
     19CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ $(CINCLUDES)      -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
     20CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -DNO_CLIENT_LONG_LONG -Wall+ppt-ppc-inl-cnv-gnr-vft-
    1921LDFLAGS  = $(LDFLAGS)  -Ge+ -Fe$@ /B"/MAP:full" $(RTLLIB) os2386.lib
    2022!endif
     
    2931
    3032
    31 #
    32 # Database Access Module
    33 #
    34 db.obj: db.cpp
    35 
    36 
    3733
    3834#
     
    4137APIImport.exe: APIImport.obj db.obj ..\common\commonicc.lib mysql\libmysqlclient.lib
    4238   $(LD) $(LDFLAGS) $**
    43 
    44 APIImport.obj:    APIImport.cpp APIImport.h db.h ..\common\kFileFormatBase.h \
    45                    ..\common\kFileDef.h  ..\common\kFilePe.h
    4639
    4740..\bin\APIImport.exe: APIImport.exe
     
    6457   $(CP) $** $@
    6558
    66 StateUpd.obj:     StateUpd.cpp db.h
    67 
    6859
    6960
     
    7465   $(LD) $(LDFLAGS) $**
    7566
    76 kHTMLPC.obj:      kHTMLPC.cpp kHTMLPC.h db.h ..\common\kLIFO.cpp \
    77                   ..\common\kLIFO.h ..\common\kList.h ..\common\kList.cpp \
    78                   gd/gd.h gd/gdfontg.h gd/gdfontl.h gd/gdfontmb.h \
    79                   gd/gdfonts.h gd/gdfontt.h
    8067
    8168..\bin\kHTMLPC.exe: kHTMLPC.exe
     
    119106
    120107
     108
     109#
     110# Autogenerated depenencies.
     111#
     112dep:
     113    $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     114        *.c *.cpp -objo *.c *.cpp
     115    cd gd
     116    @nmake /nologo dep
     117    cd ..
     118
     119!ifndef NODEP
     120!include .depend
     121!endif
     122
     123
    121124#
    122125# clean
Note: See TracChangeset for help on using the changeset viewer.