source: trunk/indexers/mg/src/images/WIN32.MAK@ 13757

Last change on this file since 13757 was 13757, checked in by kjdon, 17 years ago

changed teh lib names to match mgpp. changed the windows install directory. other small changes

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.1 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
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: execinstall maninstall
133uninstall: execuninstall manuninstall
134
135#execinstall: $(EXEC)
136# $(top_srcdir)/mkinstalldirs $(bindir); \
137# for name in $(EXEC); do \
138# $(INSTALL_PROGRAM) $$name \
139# $(bindir)/`echo $$name | sed '$(transform)'`; \
140# done
141
142#execuninstall:
143# for name in $(EXEC); do \
144# rm -f $(bindir)/`echo $$name | sed '$(transform)'`; \
145# done
146
147maninstall: $(MAN)
148 $(top_srcdir)/mkinstalldirs $(mandir); \
149 for f in $(MAN); do \
150 $(INSTALL_DATA) $$f $(mandir)/$$f ;\
151 done
152
153manuninstall: $(MAN)
154 for f in $(MAN); do \
155 rm -f $(mandir)/$$f ;\
156 done
157
158
159mostlyclean:
160 if exist *$o del *$o
161 if exist _*.c del _*.c
162 if exist _*.o del _*.o
163 if exist *._c del *._c
164 if exist *._o del *._o
165 if exist core del core
166 if exist core.* del core.*
167
168clean: mostlyclean
169 if exist *$e del *$e
170
171distclean: clean
172 del ansi2knr
173
174maintainer-clean: distclean
175 @echo "This command is intended only for maintainers to use;"
176 @echo "rebuilding the deleted files may require special tools."
177
178#dist: $(DISTFILES)
179# for file in $(DISTFILES); do \
180# ln $(srcdir)/$$file $(distdir) 2> /dev/null \
181# || cp -p $(srcdir)/$$file $(distdir); \
182# done
183
184#Makefile: Makefile.in ../../config.status
185# cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
186
187# Tell versions [3.59,3.63) of GNU make not to export all variables.
188# Otherwise a system limit (for SysV at least) may be exceeded.
189#.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.