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 |
|
---|
25 | MGHOME = ..\..
|
---|
26 |
|
---|
27 | CC = cl
|
---|
28 | CPPFLAGS =
|
---|
29 | DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN
|
---|
30 | INCLUDES = -I"." -I"$(MGHOME)" -I"$(MGHOME)\lib"
|
---|
31 | LDFLAGS =
|
---|
32 | LIBS = $(MGHOME)\lib\libmg.lib
|
---|
33 |
|
---|
34 | COMPILE = $(CC) -c $(DEFS) $(INCLUDES)
|
---|
35 | LINK = $(CC) $(LDFLAGS)
|
---|
36 |
|
---|
37 | .SUFFIXES:
|
---|
38 | .SUFFIXES: .c .obj
|
---|
39 | .c.obj:
|
---|
40 | $(COMPILE) $<
|
---|
41 |
|
---|
42 | o = .obj
|
---|
43 | e = .exe
|
---|
44 |
|
---|
45 |
|
---|
46 | HEADERS = \
|
---|
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 |
|
---|
52 | SOURCES = \
|
---|
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 |
|
---|
60 | MISC = Makefile.in
|
---|
61 |
|
---|
62 | ALLFILES = $(SOURCES) $(HEADERS) $(MISC) $(MAN)
|
---|
63 |
|
---|
64 | DISTFILES = $(ALLFILES)
|
---|
65 |
|
---|
66 | EXEC = mgfelics$e mgbilevel$e mgtic$e mgticbuild$e mgticprune$e mgticstat$e \
|
---|
67 | mgticdump$e
|
---|
68 |
|
---|
69 | MAN = mgfelics.1 mgbilevel.1 mgtic.1 mgticbuild.1 mgticprune.1 \
|
---|
70 | mgticstat.1 mgticdump.1
|
---|
71 |
|
---|
72 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
73 |
|
---|
74 |
|
---|
75 | all: $(EXEC)
|
---|
76 |
|
---|
77 |
|
---|
78 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
79 |
|
---|
80 | FELICS_OBJS = felics$o mgfelics$o utils$o
|
---|
81 |
|
---|
82 | mgfelics$e: $(FELICS_OBJS)
|
---|
83 | $(LINK) $(FELICS_OBJS) $(LIBS)
|
---|
84 |
|
---|
85 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
86 |
|
---|
87 | BILEVEL_OBJS = \
|
---|
88 | arithcode$o bilevel$o extractor$o marklist$o mgbilevel$o \
|
---|
89 | pbmtools$o utils$o
|
---|
90 |
|
---|
91 | mgbilevel$e: $(BILEVEL_OBJS)
|
---|
92 | $(LINK) $(BILEVEL_OBJS) $(LIBS)
|
---|
93 |
|
---|
94 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
95 |
|
---|
96 | TIC_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 |
|
---|
100 | mgtic$e: $(TIC_OBJS)
|
---|
101 | $(LINK) $(TIC_OBJS) $(LIBS)
|
---|
102 |
|
---|
103 | TICBUILD_OBJS = mgticbuild$o extractor$o marklist$o pbmtools$o utils$o
|
---|
104 |
|
---|
105 | mgticbuild$e: $(TICBUILD_OBJS)
|
---|
106 | $(LINK) $(TICBUILD_OBJS) $(LIBS)
|
---|
107 |
|
---|
108 | TICPRUNE_OBJS = \
|
---|
109 | mgticprune$o extractor$o marklist$o pbmtools$o \
|
---|
110 | utils$o match$o
|
---|
111 |
|
---|
112 | mgticprune$e: $(TICPRUNE_OBJS)
|
---|
113 | $(LINK) $(TICPRUNE_OBJS) $(LIBS)
|
---|
114 |
|
---|
115 | TICSTAT_OBJS = mgticstat$o extractor$o marklist$o pbmtools$o utils$o
|
---|
116 |
|
---|
117 | mgticstat$e: $(TICSTAT_OBJS)
|
---|
118 | $(LINK) $(TICSTAT_OBJS) $(LIBS)
|
---|
119 |
|
---|
120 | TICDUMP = mgticdump$o extractor$o marklist$o pbmtools$o utils$o
|
---|
121 |
|
---|
122 | mgticdump$e: $(TICDUMP)
|
---|
123 | $(LINK) $(TICDUMP) $(LIBS)
|
---|
124 |
|
---|
125 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
126 |
|
---|
127 | #ansi2knr: ansi2knr.o
|
---|
128 | # $(LINK) ansi2knr.o $(LIBS)
|
---|
129 | #
|
---|
130 | install: execinstall maninstall
|
---|
131 | uninstall: 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 |
|
---|
145 | maninstall: $(MAN)
|
---|
146 | $(top_srcdir)/mkinstalldirs $(mandir); \
|
---|
147 | for f in $(MAN); do \
|
---|
148 | $(INSTALL_DATA) $$f $(mandir)/$$f ;\
|
---|
149 | done
|
---|
150 |
|
---|
151 | manuninstall: $(MAN)
|
---|
152 | for f in $(MAN); do \
|
---|
153 | rm -f $(mandir)/$$f ;\
|
---|
154 | done
|
---|
155 |
|
---|
156 |
|
---|
157 | mostlyclean:
|
---|
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 |
|
---|
166 | clean: mostlyclean
|
---|
167 | if exist *$e del *$e
|
---|
168 |
|
---|
169 | distclean: clean
|
---|
170 | del ansi2knr
|
---|
171 |
|
---|
172 | maintainer-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:
|
---|