source: indexers/trunk/mg/src/images/win32.mak@ 19524

Last change on this file since 19524 was 19524, 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:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1# Generated automatically from Makefile.in by configure.
2###########################################################################
3#
4# Makefile.in -- Makefile for the MG system
5# Copyright (C) 1994 Neil Sharman
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20#
21# @(#)Makefile.in 1.10 22 Mar 1994
22#
23###########################################################################
24
25MGHOME = ..\..
26# for now put executables in indexers/bin
27INSTALLDIR = ..\..\..\bin
28
29DEBUG = 0
30
31CC = cl
32
33!IF $(DEBUG)
34CFLAGS = -DEBUG -Z7 /errorReport:prompt
35LDFLAGS = -DEBUG -Z7 /errorReport:prompt
36!ELSE
37CFLAGS =
38LDFLAGS =
39!ENDIF
40
41DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN -D_CRT_SECURE_NO_DEPRECATE
42INCLUDES = -I"." -I"$(MGHOME)" -I"$(MGHOME)\lib"
43LIBS = $(MGHOME)\lib\libmglib.lib
44
45COMPILE = $(CC) $(CFLAGS) -c $(DEFS) $(INCLUDES)
46LINK = $(CC) $(LDFLAGS)
47
48.SUFFIXES:
49.SUFFIXES: .c .obj
50.c.obj:
51 $(COMPILE) $<
52
53o = .obj
54e = .exe
55
56
57HEADERS = \
58 arithcode.h codeoffsets.h marklist.h sortmarks.h \
59 basictypes.h codesyms.h match.h utils.h \
60 bilevel.h extractor.h pbmtools.h model.h
61
62
63SOURCES = \
64 arithcode.c extractor.c mgbilevel.c mgticdump.c utils.c \
65 bilevel.c felics.c mgfelics.c mgticprune.c mgticstat.c\
66 codeoffsets.c marklist.c mgtic.c pbmtools.c lstevent.c \
67 codesyms.c match.c mgticbuild.c sortmarks.c ppm.c
68
69
70
71MISC = Makefile.in
72
73ALLFILES = $(SOURCES) $(HEADERS) $(MISC) $(MAN)
74
75DISTFILES = $(ALLFILES)
76
77EXEC = mgfelics$e mgbilevel$e mgtic$e mgticbuild$e mgticprune$e mgticstat$e \
78 mgticdump$e
79
80MAN = mgfelics.1 mgbilevel.1 mgtic.1 mgticbuild.1 mgticprune.1 \
81 mgticstat.1 mgticdump.1
82
83# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
84
85
86all: $(EXEC)
87
88
89# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
90
91FELICS_OBJS = felics$o mgfelics$o utils$o
92
93mgfelics$e: $(FELICS_OBJS)
94 $(LINK) $(FELICS_OBJS) $(LIBS)
95
96# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
97
98BILEVEL_OBJS = \
99 arithcode$o bilevel$o extractor$o marklist$o mgbilevel$o \
100 pbmtools$o utils$o
101
102mgbilevel$e: $(BILEVEL_OBJS)
103 $(LINK) $(BILEVEL_OBJS) $(LIBS)
104
105# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
106
107TIC_OBJS = \
108 mgtic$o extractor$o marklist$o pbmtools$o utils$o match$o \
109 sortmarks$o codesyms$o ppm$o lstevent$o arithcode$o codeoffsets$o bilevel$o
110
111mgtic$e: $(TIC_OBJS)
112 $(LINK) $(TIC_OBJS) $(LIBS)
113
114TICBUILD_OBJS = mgticbuild$o extractor$o marklist$o pbmtools$o utils$o
115
116mgticbuild$e: $(TICBUILD_OBJS)
117 $(LINK) $(TICBUILD_OBJS) $(LIBS)
118
119TICPRUNE_OBJS = \
120 mgticprune$o extractor$o marklist$o pbmtools$o \
121 utils$o match$o
122
123mgticprune$e: $(TICPRUNE_OBJS)
124 $(LINK) $(TICPRUNE_OBJS) $(LIBS)
125
126TICSTAT_OBJS = mgticstat$o extractor$o marklist$o pbmtools$o utils$o
127
128mgticstat$e: $(TICSTAT_OBJS)
129 $(LINK) $(TICSTAT_OBJS) $(LIBS)
130
131TICDUMP = mgticdump$o extractor$o marklist$o pbmtools$o utils$o
132
133mgticdump$e: $(TICDUMP)
134 $(LINK) $(TICDUMP) $(LIBS)
135
136# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
137
138#ansi2knr: ansi2knr.o
139# $(LINK) ansi2knr.o $(LIBS)
140#
141install:
142uninstall:
143
144mostlyclean:
145 if exist *$o del *$o
146 if exist _*.c del _*.c
147 if exist _*.o del _*.o
148 if exist *._c del *._c
149 if exist *._o del *._o
150 if exist core del core
151 if exist core.* del core.*
152
153clean: mostlyclean
154 if exist *$e del *$e
155 if exist *.pdb del *.pdb
156
157distclean: clean
158 del ansi2knr
159
160maintainer-clean: distclean
161 @echo "This command is intended only for maintainers to use;"
162 @echo "rebuilding the deleted files may require special tools."
163
164#dist: $(DISTFILES)
165# for file in $(DISTFILES); do \
166# ln $(srcdir)/$$file $(distdir) 2> /dev/null \
167# || cp -p $(srcdir)/$$file $(distdir); \
168# done
169
170#Makefile: Makefile.in ../../config.status
171# cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
172
173# Tell versions [3.59,3.63) of GNU make not to export all variables.
174# Otherwise a system limit (for SysV at least) may be exceeded.
175#.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.