[a02acb]: Makefile.in Maximize Restore History

Download this file

Makefile.in    239 lines (180 with data), 6.5 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# Makefile.in for MinGW implementation of catgets.
# Process this file with autoconf, to generate Makefile.
PACKAGE = @PACKAGE_TARNAME@
VERSION = @PACKAGE_VERSION@
# $Id$
#
# Copyright (C) 2006, Keith Marshall
#
# Written by Keith Marshall <keithmarshall@users.sourceforge.net>
# Last modification: 30-Dec-2006
#
#
# This is free software. It is provided AS IS, in the hope that it may
# be useful, but WITHOUT WARRANTY OF ANY KIND, not even an IMPLIED WARRANTY
# of MERCHANTABILITY, nor of FITNESS FOR ANY PARTICULAR PURPOSE.
#
# Permission is granted to redistribute this software, either "as is" or
# in modified form, under the terms of the GNU General Public License, as
# published by the Free Software Foundation; either version 2, or (at your
# option) any later version.
#
# You should have received a copy of the GNU General Public License
# along with this software; see the file COPYING. If not, write to the
# Free Software Foundation, 51 Franklin St - Fifth Floor, Boston,
# MA 02110-1301, USA.
srcdir = @srcdir@
VPATH = ${srcdir}:${srcdir}/include:${srcdir}/repl
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
mandir = @mandir@
CC = @CC@
CFLAGS = @CFLAGS@
INCLUDES = -I. -I${srcdir}/include @INCICONV@
# LOCAL_HEADERS and REPLACEMENT_HEADERS specify compiler include
# files which we normally expect to be available as system headers,
# but for which we have, and prefer, a local replacement.
#
# Any LOCAL_HEADERS specified will remain local to the build tree;
# we include `nl_types.h' in this list, to ensure that we build
# with our local version, but we don't want to install it, if the
# system already provides a header with this name.
#
LOCAL_HEADERS = nl_types.h @LOCAL_HEADERS@
# REPLACEMENT_HEADERS, on the other hand, will be copied into the
# specified `${includedir}', when we do a `make install', and will
# replace any existing headers of the same name.
#
# We might find `nl_types.h' here too, if the system doesn't have
# one; in this case ours will be installed as a new system header
# when we do a `make install'.
#
includedir = @includedir@
REPLACEMENT_HEADERS = @REPLACEMENT_HEADERS@
DEFS = @DEFS@
OBJEXT = @OBJEXT@
EXEEXT = @EXEEXT@
AR = @AR@
ARFLAGS = rcs
LN_S = @LN_S@
LIBS = -lcatgets @LIBS@
LIBICONV = @LIBICONV@
LDFLAGS = -L. @LDFLAGS@
PATH_SEPARATOR_INTERNAL = @HOST_PATH_SEPARATOR@
CONFIG_HEADERS = config.h.in nlspath.h.in
CONFIG_SOURCES = aclocal.m4 configure.ac configure Makefile.in
CATGETS_HEADERS = mctab.h msgcat.h
CATGETS_SOURCES = catopen.c catgets.c catclose.c mctab.c mcref.c mcfree.c
CATGETS_OBJECTS = $(subst .c,.$(OBJEXT),$(CATGETS_SOURCES))
GENCAT_HEADERS = gencat.h gcmsgs.h
GENCAT_SOURCES = gencat.c mcload.c mcsource.c mciconv.c mcmerge.c
GENCAT_OBJECTS = @GENCAT_OBJECTS@
OTHER_SOURCES = COPYING ChangeLog mkinstalldirs install-sh $(MISC_SOURCES)
MISC_SOURCES = $(CONFIG_HEADERS) $(CONFIG_SOURCES) $(INSTALL_PROGS)
BUILD_PROGS = gencat$(EXEEXT)
BUILD_LIBS = libcatgets.a
BUILD_DLLS = catgets$(DLLVERSION).dll
DLLVERSION = @DLLVERSION@
INSTALL_PROGS = gendefs.awk
%.$(OBJEXT): %.c
$(CC) -c $(CFLAGS) $(INCLUDES) $(DEFS) $(LDFLAGS) $<
%.h: %.h.in Makefile
sed $(HEADER_TRANSFORM_SCRIPT) $< > $@
%.h: repl/include/%.h
$(LN_S) $< $@
HEADER_TRANSFORM_SCRIPT = \
-e 's,@HOST_PREFIX@,${prefix},g' \
-e 's,@PATH_SEPARATOR_INTERNAL@,$(PATH_SEPARATOR_INTERNAL),g' \
-e 's,$(subst .,\.,$@)\.in$$,$@ -- $(AUTOGENERATED),'
AUTOGENERATED = Automatically generated from $<; do not edit!
all-dll = @MAKE_DLL@
all: all-libs $(all-dll) all-bin
all-bin: $(BUILD_PROGS)
all-dll: $(BUILD_DLLS)
all-libs: $(BUILD_LIBS)
gencat$(EXEEXT): $(GENCAT_OBJECTS)
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LIBICONV) $(LIBS)
libcatgets.a: $(CATGETS_OBJECTS)
$(AR) $(ARFLAGS) $@ $?
$(CATGETS_OBJECTS): $(CATGETS_HEADERS) $(LOCAL_HEADERS) $(REPLACEMENT_HEADERS)
catopen.$(OBJEXT): nlspath.h
catgets$(DLLVERSION).dll libcatgets.dll.a: $(CATGETS_OBJECTS)
$(CC) -o $@ -shared $(CFLAGS) $^ -Wl,--out-implib=libcatgets.dll.a
$(GENCAT_OBJECTS): $(GENCAT_HEADERS) $(CATGETS_OBJECTS)
## ============== ##
## Installation ##
## ============== ##
mkinstalldirs = ${srcdir}/mkinstalldirs
target = @target_alias@`test -n "@target_alias@" && echo "-"`
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DLL_IMPORT_LIBNAME = lib`echo "$$dll" | sed 's?$(DLLVERSION).dll?.dll.a?'`
install: install-headers install-progs install-libs
install-progs: all
$(mkinstalldirs) --require ${exec_prefix} ${bindir} ${libdir}
for prog in $(BUILD_PROGS); do \
$(INSTALL_PROGRAM) $$prog ${bindir}/$(target)$$prog; \
done
for prog in $(INSTALL_PROGS); do \
$(INSTALL_PROGRAM) ${srcdir}/$$prog ${bindir}/$(target)$$prog; \
done
install-libs: all-libs $(all-dll)
test -z "$(all-dll)" || for dll in $(BUILD_DLLS); do \
$(INSTALL_DATA) $$dll ${bindir}; \
$(INSTALL_DATA) $(DLL_IMPORT_LIBNAME) ${libdir}; \
done
for lib in $(BUILD_LIBS); do \
$(INSTALL_DATA) $$lib ${libdir}; \
done
install-headers: $(REPLACEMENT_HEADERS)
$(mkinstalldirs) ${includedir}
test -z "$^" || for hdr in $^; do \
$(INSTALL_DATA) $$hdr ${includedir}; \
done
install-doc: install-man install-info install-htmldoc install-pdf install-ps
install-man:
install-info:
install-htmldoc:
install-pdf:
install-ps:
## ============== ##
## Distribution ##
## ============== ##
dist: srcdist bindist
dist_srcdir = @abs_top_srcdir@
DISTDIRS = include m4 repl repl/include
DISTFILES = $(GENCAT_SOURCES) $(CATGETS_SOURCES) $(OTHER_SOURCES)
DISTNAME = $(PACKAGE)-$(VERSION)
ZIP = gzip -c
ZIPTYPE = tar.gz
srcdist:
rm -rf $(DISTNAME); mkdir $(DISTNAME)
curdir=`pwd`; \
for dir in $(DISTDIRS); do \
mkdir $(DISTNAME)/$$dir; \
cd $(DISTNAME)/$$dir; \
for file in ${dist_srcdir}/$$dir/*; do \
test -f $$file && $(LN_S) $$file .; \
done; \
cd $$curdir; \
done
for f in $(DISTFILES); do $(LN_S) ${dist_srcdir}/$$f $(DISTNAME)/$$f; done
tar chf - $(DISTNAME) | $(ZIP) > $(DISTNAME)-src.$(ZIPTYPE)
rm -rf $(DISTNAME)
bindist: all
rm -rf tmp; mkdir tmp
$(MAKE) prefix=`pwd`/tmp install-progs install-libs install-doc
cd tmp && tar chf - * | $(ZIP) > ../$(DISTNAME)-bin.$(ZIPTYPE)
rm -rf tmp
## ========== ##
## Clean Up ##
## ========== ##
clean:
rm -f *.$(OBJEXT) *~ gencat$(EXEEXT)
distclean: clean
rm -rf Makefile config.h config.[ls]* autom4te.cache
# $RCSfile$Revision$: end of file