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 | # for now put executables in indexers/bin
|
---|
27 | INSTALLDIR = ..\..\..\bin
|
---|
28 |
|
---|
29 | CC = cl
|
---|
30 | CPPFLAGS =
|
---|
31 | DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN -D_CRT_SECURE_NO_DEPRECATE
|
---|
32 | INCLUDES = -I"." -I"$(MGHOME)" -I"$(MGHOME)\lib"
|
---|
33 | LDFLAGS =
|
---|
34 | LIBS = $(MGHOME)\lib\libmglib.lib
|
---|
35 |
|
---|
36 | COMPILE = $(CC) -c $(DEFS) $(INCLUDES)
|
---|
37 | LINK = $(CC) $(LDFLAGS)
|
---|
38 |
|
---|
39 | .SUFFIXES:
|
---|
40 | .SUFFIXES: .c .obj
|
---|
41 | .c.obj:
|
---|
42 | $(COMPILE) $<
|
---|
43 |
|
---|
44 | o = .obj
|
---|
45 | e = .exe
|
---|
46 |
|
---|
47 |
|
---|
48 | HEADERS = \
|
---|
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 |
|
---|
54 | SOURCES = \
|
---|
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 |
|
---|
62 | MISC = Makefile.in
|
---|
63 |
|
---|
64 | ALLFILES = $(SOURCES) $(HEADERS) $(MISC) $(MAN)
|
---|
65 |
|
---|
66 | DISTFILES = $(ALLFILES)
|
---|
67 |
|
---|
68 | EXEC = mgfelics$e mgbilevel$e mgtic$e mgticbuild$e mgticprune$e mgticstat$e \
|
---|
69 | mgticdump$e
|
---|
70 |
|
---|
71 | MAN = mgfelics.1 mgbilevel.1 mgtic.1 mgticbuild.1 mgticprune.1 \
|
---|
72 | mgticstat.1 mgticdump.1
|
---|
73 |
|
---|
74 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
75 |
|
---|
76 |
|
---|
77 | all: $(EXEC)
|
---|
78 |
|
---|
79 |
|
---|
80 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
81 |
|
---|
82 | FELICS_OBJS = felics$o mgfelics$o utils$o
|
---|
83 |
|
---|
84 | mgfelics$e: $(FELICS_OBJS)
|
---|
85 | $(LINK) $(FELICS_OBJS) $(LIBS)
|
---|
86 |
|
---|
87 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
88 |
|
---|
89 | BILEVEL_OBJS = \
|
---|
90 | arithcode$o bilevel$o extractor$o marklist$o mgbilevel$o \
|
---|
91 | pbmtools$o utils$o
|
---|
92 |
|
---|
93 | mgbilevel$e: $(BILEVEL_OBJS)
|
---|
94 | $(LINK) $(BILEVEL_OBJS) $(LIBS)
|
---|
95 |
|
---|
96 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
97 |
|
---|
98 | TIC_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 |
|
---|
102 | mgtic$e: $(TIC_OBJS)
|
---|
103 | $(LINK) $(TIC_OBJS) $(LIBS)
|
---|
104 |
|
---|
105 | TICBUILD_OBJS = mgticbuild$o extractor$o marklist$o pbmtools$o utils$o
|
---|
106 |
|
---|
107 | mgticbuild$e: $(TICBUILD_OBJS)
|
---|
108 | $(LINK) $(TICBUILD_OBJS) $(LIBS)
|
---|
109 |
|
---|
110 | TICPRUNE_OBJS = \
|
---|
111 | mgticprune$o extractor$o marklist$o pbmtools$o \
|
---|
112 | utils$o match$o
|
---|
113 |
|
---|
114 | mgticprune$e: $(TICPRUNE_OBJS)
|
---|
115 | $(LINK) $(TICPRUNE_OBJS) $(LIBS)
|
---|
116 |
|
---|
117 | TICSTAT_OBJS = mgticstat$o extractor$o marklist$o pbmtools$o utils$o
|
---|
118 |
|
---|
119 | mgticstat$e: $(TICSTAT_OBJS)
|
---|
120 | $(LINK) $(TICSTAT_OBJS) $(LIBS)
|
---|
121 |
|
---|
122 | TICDUMP = mgticdump$o extractor$o marklist$o pbmtools$o utils$o
|
---|
123 |
|
---|
124 | mgticdump$e: $(TICDUMP)
|
---|
125 | $(LINK) $(TICDUMP) $(LIBS)
|
---|
126 |
|
---|
127 | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
---|
128 |
|
---|
129 | #ansi2knr: ansi2knr.o
|
---|
130 | # $(LINK) ansi2knr.o $(LIBS)
|
---|
131 | #
|
---|
132 | install:
|
---|
133 | uninstall:
|
---|
134 |
|
---|
135 | mostlyclean:
|
---|
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 |
|
---|
144 | clean: mostlyclean
|
---|
145 | if exist *$e del *$e
|
---|
146 |
|
---|
147 | distclean: clean
|
---|
148 | del ansi2knr
|
---|
149 |
|
---|
150 | maintainer-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:
|
---|