source: trunk/gsdl3/packages/mg/src/images/WIN32.MAK@ 3921

Last change on this file since 3921 was 3921, checked in by mdewsnip, 21 years ago

Modified to be more independent of GS2.

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