1 # -*- Makefile -*- for gettext-tools/lib on VMS using the MMS utility
3 #### Start of system configuration section. ####
5 # Directories used by "make install":
7 exec_prefix = $(prefix)
8 libdir = $(exec_prefix).lib
10 # Programs used by "make":
14 # These flags affect binary compatibility. GNU gettext does not need them,
15 # but other packages do, and we need to be binary compatible with them.
16 ABIFLAGS = /name=(as_is,short) /float=ieee
18 WARN_CFLAGS = /warning
20 OPTIMFLAGS = /optimize
22 CFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS)
23 DEFS = "VMS=1","HAVE_CONFIG_H=1","EXEEXT="".exe""","LIBDIR=""$(libdir)]"""
25 INCLUDES = /include=([],[-],[-.intl])
33 # Programs used by "make install":
35 INSTALL_PROGRAM = copy
38 #### End of system configuration section. ####
43 backupfile.obj, addext.obj, \
70 progname.obj, progreloc.obj, \
78 xmalloc.obj, xstrdup.obj, \
87 getopt.obj, getopt1.obj, \
94 all : alloca.h,fnmatch.h,gettextlib.olb
95 write sys$output "Nothing else to be done for 'all'."
98 $(LN) alloca_.h alloca.h
100 fnmatch.h : fnmatch_.h
101 $(LN) fnmatch_.h fnmatch.h
103 allocsa.obj : allocsa.c
104 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) allocsa.c
106 argmatch.obj : argmatch.c
107 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) argmatch.c
109 backupfile.obj : backupfile.c
110 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) backupfile.c
112 addext.obj : addext.c
113 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) addext.c
115 basename.obj : basename.c
116 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) basename.c
118 c-ctype.obj : c-ctype.c
119 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) c-ctype.c
121 c-strcasecmp.obj : c-strcasecmp.c
122 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) c-strcasecmp.c
124 c-strncasecmp.obj : c-strncasecmp.c
125 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) c-strncasecmp.c
127 classpath.obj : classpath.c
128 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) classpath.c
130 closeout.obj : closeout.c
131 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) closeout.c
133 copy-file.obj : copy-file.c
134 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) copy-file.c
136 csharpcomp.obj : csharpcomp.c,alloca.h
137 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) csharpcomp.c
139 csharpexec.obj : csharpexec.c,alloca.h
140 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) csharpexec.c
142 error-progname.obj : error-progname.c
143 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) error-progname.c
145 execute.obj : execute.c
146 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) execute.c
148 exitfail.obj : exitfail.c
149 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) exitfail.c
151 fatal-signal.obj : fatal-signal.c
152 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fatal-signal.c
154 findprog.obj : findprog.c
155 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) findprog.c
157 fstrcmp.obj : fstrcmp.c
158 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fstrcmp.c
160 full-write.obj : full-write.c
161 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) full-write.c
163 fwriteerror.obj : fwriteerror.c
164 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fwriteerror.c
167 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) gcd.c
170 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) hash.c
172 javacomp.obj : javacomp.c,alloca.h
173 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) javacomp.c
175 javaexec.obj : javaexec.c,alloca.h
176 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) javaexec.c
178 linebreak.obj : linebreak.c
179 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) linebreak.c
181 mbswidth.obj : mbswidth.c
182 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) mbswidth.c
184 obstack.obj : obstack.c
185 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) obstack.c
187 concatpath.obj : concatpath.c
188 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) concatpath.c
191 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) pipe.c
193 progname.obj : progname.c
194 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) progname.c
196 progreloc.obj : progreloc.c
197 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) progreloc.c
200 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) quote.c
202 quotearg.obj : quotearg.c
203 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) quotearg.c
205 safe-read.obj : safe-read.c
206 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) safe-read.c
208 safe-write.obj : safe-write.c
209 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) safe-write.c
211 sh-quote.obj : sh-quote.c
212 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) sh-quote.c
214 tmpdir.obj : tmpdir.c
215 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) tmpdir.c
217 wait-process.obj : wait-process.c
218 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) wait-process.c
220 xmalloc.obj : xmalloc.c
221 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xmalloc.c
223 xstrdup.obj : xstrdup.c
224 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xstrdup.c
226 xallocsa.obj : xallocsa.c
227 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xallocsa.c
229 xerror.obj : xerror.c
230 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xerror.c
232 xsetenv.obj : xsetenv.c
233 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xsetenv.c
236 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) error.c
238 fnmatch.obj : fnmatch.c fnmatch.h fnmatch_loop.c
239 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fnmatch.c
241 getline.obj : getline.c
242 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getline.c
244 getndelim2.obj : getndelim2.c
245 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getndelim2.c
247 getopt.obj : getopt.c
248 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS),"ELIDE_CODE=1") getopt.c
250 getopt1.obj : getopt1.c
251 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getopt1.c
253 mkdtemp.obj : mkdtemp.c
254 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) mkdtemp.c
256 relocatable.obj : relocatable.c
257 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) relocatable.c
259 stpcpy.obj : stpcpy.c
260 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) stpcpy.c
262 stpncpy.obj : stpncpy.c
263 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) stpncpy.c
265 vasprintf.obj : vasprintf.c
266 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) vasprintf.c
268 gettextlib.olb : $(OBJECTS)
269 $(AR) $(AR_FLAGS) gettextlib.olb $(OBJECTS)
272 write sys$output "Nothing else to be done for 'install'."
275 write sys$output "Nothing to be done for 'installdirs'."
278 write sys$output "Nothing to be done for 'uninstall'."
281 write sys$output "Nothing else to be done for 'check'."
284 write sys$output "Nothing else to be done for 'mostlyclean'."
291 write sys$output "Nothing else to be done for 'distclean'."
293 maintainer-clean : distclean
294 write sys$output "Nothing else to be done for 'maintainer-clean'."