source: gsdl/trunk/runtime-src/packages/d2m/win32.mak@ 19521

Last change on this file since 19521 was 19521, checked in by ak19, 15 years ago

Dr Bainbridge updated the Windows makefiles to 1. Take the DEBUG flag so that we can recompile all of GS2 in the Vis C++ 2005 Express Edition command prompt and then use its Debugger on the C code. 2. Now GS2 make clean command cleans up all object and lib files that its make generates.

  • Property svn:keywords set to Author Date Id Revision
File size: 930 bytes
Line 
1# ///////////////// d2m : Dublin Core to MARC converter /////////////////////
2#
3#
4# Generated for Greenstone kjdon May 2005.
5# Used by z3950server
6
7GSDLHOME = ..\..\..
8GSDL_VC4 = 0
9CC = cl
10AR = lib
11
12DEBUG = 0
13DLL = 0
14DLLDEBUG = 0
15
16!IF $(DEBUG)
17CXXFLAGS = -DEBUG -Z7 /errorReport:prompt
18!ELSE
19CXXFLAGS =
20!ENDIF
21
22!IF $(GSDL_VC4)
23CXXFLAGS = $(CXXFLAGS) -GX
24!ELSE
25CXXFLAGS = $(CXXFLAGS) -EHsc
26!ENDIF
27
28!IF $(DLL)
29CXXFLAGS = $(CXXFLAGS) -MD
30!ELSE
31!IF ($(DLLDEBUG))
32CXXFLAGS = $(CXXFLAGS) -MDd
33!ENDIF
34!ENDIF
35
36o = .obj
37
38DEFS=-DHAVE_CONFIG_H -D__WIN32__ -D_CRT_SECURE_NO_DEPRECATE
39INCLUDES= -I"$(GSDLHOME)"
40COMPILE = $(CC) -nologo -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
41
42LIB_OBJS = MARC2709$o MARCtidy$o usMARC$o util$o strcasecmp$o
43
44all: libd2m.lib
45
46libd2m.lib: $(LIB_OBJS)
47 if EXIST libd2m.lib del libd2m.lib
48 $(AR) -nologo /out:libd2m.lib $(LIB_OBJS)
49
50install:
51
52clean:
53 del *$o
54 del libd2m.lib
55
56distclean: clean
57 rm -f Makefile config.h
58
Note: See TracBrowser for help on using the repository browser.