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

Last change on this file since 9874 was 9874, checked in by kjdon, 19 years ago

merged from branch ant-install-branch: merge 1

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 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 if exist *$o del *$o
159 if exist _*.c del _*.c
160 if exist _*.o del _*.o
161 if exist *._c del *._c
162 if exist *._o del *._o
163 if exist core del core
164 if exist core.* del core.*
165
166clean: mostlyclean
167 if exist *$e del *$e
168
169distclean: clean
170 del ansi2knr
171
172maintainer-clean: distclean
173 @echo "This command is intended only for maintainers to use;"
174 @echo "rebuilding the deleted files may require special tools."
175
176#dist: $(DISTFILES)
177# for file in $(DISTFILES); do \
178# ln $(srcdir)/$$file $(distdir) 2> /dev/null \
179# || cp -p $(srcdir)/$$file $(distdir); \
180# done
181
182#Makefile: Makefile.in ../../config.status
183# cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
184
185# Tell versions [3.59,3.63) of GNU make not to export all variables.
186# Otherwise a system limit (for SysV at least) may be exceeded.
187#.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.