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

Last change on this file since 15825 was 15825, checked in by mdewsnip, 16 years ago

Removed some very Unix-specific stuff from the Windows makefile, to prevent errors.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 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
29CC = cl
30CPPFLAGS =
31DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN -D_CRT_SECURE_NO_DEPRECATE
32INCLUDES = -I"." -I"$(MGHOME)" -I"$(MGHOME)\lib"
33LDFLAGS =
34LIBS = $(MGHOME)\lib\libmglib.lib
35
36COMPILE = $(CC) -c $(DEFS) $(INCLUDES)
37LINK = $(CC) $(LDFLAGS)
38
39.SUFFIXES:
40.SUFFIXES: .c .obj
41.c.obj:
42 $(COMPILE) $<
43
44o = .obj
45e = .exe
46
47
48HEADERS = \
49 arithcode.h codeoffsets.h marklist.h sortmarks.h \
50 basictypes.h codesyms.h match.h utils.h \
51 bilevel.h extractor.h pbmtools.h model.h
52
53
54SOURCES = \
55 arithcode.c extractor.c mgbilevel.c mgticdump.c utils.c \
56 bilevel.c felics.c mgfelics.c mgticprune.c mgticstat.c\
57 codeoffsets.c marklist.c mgtic.c pbmtools.c lstevent.c \
58 codesyms.c match.c mgticbuild.c sortmarks.c ppm.c
59
60
61
62MISC = Makefile.in
63
64ALLFILES = $(SOURCES) $(HEADERS) $(MISC) $(MAN)
65
66DISTFILES = $(ALLFILES)
67
68EXEC = mgfelics$e mgbilevel$e mgtic$e mgticbuild$e mgticprune$e mgticstat$e \
69 mgticdump$e
70
71MAN = mgfelics.1 mgbilevel.1 mgtic.1 mgticbuild.1 mgticprune.1 \
72 mgticstat.1 mgticdump.1
73
74# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
75
76
77all: $(EXEC)
78
79
80# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
81
82FELICS_OBJS = felics$o mgfelics$o utils$o
83
84mgfelics$e: $(FELICS_OBJS)
85 $(LINK) $(FELICS_OBJS) $(LIBS)
86
87# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
88
89BILEVEL_OBJS = \
90 arithcode$o bilevel$o extractor$o marklist$o mgbilevel$o \
91 pbmtools$o utils$o
92
93mgbilevel$e: $(BILEVEL_OBJS)
94 $(LINK) $(BILEVEL_OBJS) $(LIBS)
95
96# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
97
98TIC_OBJS = \
99 mgtic$o extractor$o marklist$o pbmtools$o utils$o match$o \
100 sortmarks$o codesyms$o ppm$o lstevent$o arithcode$o codeoffsets$o bilevel$o
101
102mgtic$e: $(TIC_OBJS)
103 $(LINK) $(TIC_OBJS) $(LIBS)
104
105TICBUILD_OBJS = mgticbuild$o extractor$o marklist$o pbmtools$o utils$o
106
107mgticbuild$e: $(TICBUILD_OBJS)
108 $(LINK) $(TICBUILD_OBJS) $(LIBS)
109
110TICPRUNE_OBJS = \
111 mgticprune$o extractor$o marklist$o pbmtools$o \
112 utils$o match$o
113
114mgticprune$e: $(TICPRUNE_OBJS)
115 $(LINK) $(TICPRUNE_OBJS) $(LIBS)
116
117TICSTAT_OBJS = mgticstat$o extractor$o marklist$o pbmtools$o utils$o
118
119mgticstat$e: $(TICSTAT_OBJS)
120 $(LINK) $(TICSTAT_OBJS) $(LIBS)
121
122TICDUMP = mgticdump$o extractor$o marklist$o pbmtools$o utils$o
123
124mgticdump$e: $(TICDUMP)
125 $(LINK) $(TICDUMP) $(LIBS)
126
127# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
128
129#ansi2knr: ansi2knr.o
130# $(LINK) ansi2knr.o $(LIBS)
131#
132install:
133uninstall:
134
135mostlyclean:
136 if exist *$o del *$o
137 if exist _*.c del _*.c
138 if exist _*.o del _*.o
139 if exist *._c del *._c
140 if exist *._o del *._o
141 if exist core del core
142 if exist core.* del core.*
143
144clean: mostlyclean
145 if exist *$e del *$e
146
147distclean: clean
148 del ansi2knr
149
150maintainer-clean: distclean
151 @echo "This command is intended only for maintainers to use;"
152 @echo "rebuilding the deleted files may require special tools."
153
154#dist: $(DISTFILES)
155# for file in $(DISTFILES); do \
156# ln $(srcdir)/$$file $(distdir) 2> /dev/null \
157# || cp -p $(srcdir)/$$file $(distdir); \
158# done
159
160#Makefile: Makefile.in ../../config.status
161# cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
162
163# Tell versions [3.59,3.63) of GNU make not to export all variables.
164# Otherwise a system limit (for SysV at least) may be exceeded.
165#.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.