Changeset 1000 for trunk/gsdl/src/db2txt


Ignore:
Timestamp:
2000-03-02T11:23:47+13:00 (24 years ago)
Author:
sjboddie
Message:

tidied up windows installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/db2txt/win32.mak

    r744 r1000  
    11###########################################################################
    22#
    3 # win32.mak -- Makefile for file db2txt
    4 # Copyright (C) 1999 DigiLib Systems Ltd, All rights reserved
     3# win32 makefile -- db2txt
     4# A component of the Greenstone digital library software
     5# from the New Zealand Digital Library Project at the
     6# University of Waikato, New Zealand.
     7#
     8# Copyright (C) 1999  The New Zealand Digital Library Project
     9#
     10#
     11# This program is free software; you can redistribute it and/or modify
     12# it under the terms of the GNU General Public License as published by
     13# the Free Software Foundation; either version 2 of the License, or
     14# (at your option) any later version.
     15#
     16# This program is distributed in the hope that it will be useful,
     17# but WITHOUT ANY WARRANTY; without even the implied warranty of
     18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19# GNU General Public License for more details.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with this program; if not, write to the Free Software
     23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    524#
    625###########################################################################
    726
     27GSDLHOME = d:\home\dl\gsdl
     28STLPATH = d:\home\dl\stl\stlport
    829
    9 PACKAGE = db2txt
    10 VERSION =
    11  
    1230AR = lib
    1331CC = cl
    14 #CFLAGS = -g -O
    1532CPPFLAGS =
    16 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN -D__STL_NO_NEW_IOSTREAMS \
    17 -DGSDL_NAMESPACE_BROKEN -DSHORT_SUFFIX
    18 INCLUDES = -I. -I..\..\lib -I..\..\packages\mg-1.3d\lib \
    19        -If:\STLport-3.2\stlport -I..\..\packages\wingdbm
    20 LIBS = ..\..\packages\mg-1.3d\lib\unitool.obj ..\..\lib\gsdllib.lib \
    21        ..\..\lib\gsdlunicode.obj ..\..\packages\wingdbm\gdbm.lib
    22 GSDLOS = windows
     33LDFLAGS =
     34DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -D__STL_NO_NEW_IOSTREAMS \
     35       -DGSDL_NAMESPACE_BROKEN -DSHORT_SUFFIX -DGSDL_USE_IOS_H
     36INCLUDES = -I$(GSDLHOME)\src\db2txt -I$(GSDLHOME)\lib -I$(GSDLHOME)\packages\mg\lib \
     37       -I$(STLPATH) -I$(GSDLHOME)\packages\wingdbm
     38LIBS = $(GSDLHOME)\packages\mg\lib\unitool.obj $(GSDLHOME)\lib\gsdllib.lib \
     39       $(GSDLHOME)\packages\wingdbm\gdbm.lib
    2340
    2441COMPILE = $(CC) -c -GX $(DEFS) $(INCLUDES)
     
    3350o = .obj
    3451e = .exe
    35  
     52
    3653HEADERS =
    3754
     
    4158
    4259EXEC = db2txt$e
    43  
     60
    4461all : $(EXEC)
    4562
    4663install: $(EXEC)
    47     copy $(EXEC) ../../bin/$(GSDLOS)/$(EXEC)
     64    if NOT EXIST $(GSDLHOME)\bin\windows mkdir $(GSDLHOME)\bin\windows
     65    copy $(EXEC) $(GSDLHOME)\bin\windows\$(EXEC)
    4866
    4967clean:
     
    5169    del $(EXEC)
    5270
    53 DB2TXT_OBJS = db2txt$o
    54 
    55 db2txt$e: $(DB2TXT_OBJS) $(LIBS)
    56       $(LINK) $(DB2TXT_OBJS) $(LIBS)
     71db2txt$e: $(OBJECTS) $(LIBS)
     72      $(LINK) $(OBJECTS) $(LIBS)
Note: See TracChangeset for help on using the changeset viewer.