# -*- Makefile -*- for gettext-tools/lib on VMS using the MMS utility #### Start of system configuration section. #### # Directories used by "make install": prefix = SYS$DATA:[ exec_prefix = $(prefix) libdir = $(exec_prefix).lib # Programs used by "make": CC = cc # These flags affect binary compatibility. GNU gettext does not need them, # but other packages do, and we need to be binary compatible with them. ABIFLAGS = /name=(as_is,short) /float=ieee WARN_CFLAGS = /warning OPTIMFLAGS = /optimize CFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) DEFS = "VMS=1","HAVE_CONFIG_H=1","EXEEXT="".exe""","LIBDIR=""$(libdir)]""" INCLUDES = /include=([],[-],[-.intl]) AR = library AR_FLAGS = /create LN = copy RM = delete # Programs used by "make install": INSTALL = copy INSTALL_PROGRAM = copy INSTALL_DATA = copy #### End of system configuration section. #### OBJECTS = \ argmatch.obj, \ backupfile.obj, addext.obj, \ basename.obj, \ c-ctype.obj, \ classpath.obj, \ closeout.obj, \ copy-file.obj, \ error.obj, \ error-progname.obj, \ execute.obj, \ findprog.obj, \ fstrcmp.obj, \ full-write.obj, \ gcd.obj, \ getopt.obj, getopt1.obj, \ hash.obj, \ javacomp.obj, \ javaexec.obj, \ linebreak.obj, \ mbswidth.obj, \ obstack.obj, \ concatpath.obj, \ pipe-bidi.obj, pipe-in.obj, pipe-out.obj, \ progname.obj, progreloc.obj, \ safe-read.obj, \ safe-write.obj, \ sh-quote.obj, \ stpncpy.obj, \ strtoul.obj, \ tmpdir.obj, \ wait-process.obj, \ xerror.obj, \ xmalloc.obj, xstrdup.obj, \ xsetenv.obj, \ \ fnmatch.obj, \ getline.obj, \ getndelim2.obj, \ mkdtemp.obj, \ relocatable.obj, \ stpcpy.obj, \ vasprintf.obj all : alloca.h,fnmatch.h,gettextlib.olb write sys$output "Nothing else to be done for 'all'." alloca.h : alloca_.h $(LN) alloca_.h alloca.h fnmatch.h : fnmatch_.h $(LN) fnmatch_.h fnmatch.h argmatch.obj : argmatch.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) argmatch.c backupfile.obj : backupfile.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) backupfile.c addext.obj : addext.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) addext.c basename.obj : basename.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) basename.c c-ctype.obj : c-ctype.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) c-ctype.c classpath.obj : classpath.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) classpath.c closeout.obj : closeout.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) closeout.c copy-file.obj : copy-file.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) copy-file.c error.obj : error.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) error.c error-progname.obj : error-progname.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) error-progname.c execute.obj : execute.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) execute.c findprog.obj : findprog.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) findprog.c fstrcmp.obj : fstrcmp.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fstrcmp.c full-write.obj : full-write.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) full-write.c gcd.obj : gcd.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) gcd.c getopt.obj : getopt.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS),"ELIDE_CODE=1") getopt.c getopt1.obj : getopt1.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getopt1.c hash.obj : hash.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) hash.c javacomp.obj : javacomp.c,alloca.h $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) javacomp.c javaexec.obj : javaexec.c,alloca.h $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) javaexec.c linebreak.obj : linebreak.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) linebreak.c mbswidth.obj : mbswidth.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) mbswidth.c obstack.obj : obstack.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) obstack.c concatpath.obj : concatpath.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) concatpath.c pipe-bidi.obj : pipe-bidi.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) pipe-bidi.c pipe-in.obj : pipe-in.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) pipe-in.c pipe-out.obj : pipe-out.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) pipe-out.c progname.obj : progname.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) progname.c progreloc.obj : progreloc.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) progreloc.c safe-read.obj : safe-read.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) safe-read.c safe-write.obj : safe-write.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) safe-write.c sh-quote.obj : sh-quote.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) sh-quote.c stpncpy.obj : stpncpy.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) stpncpy.c strtoul.obj : strtoul.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) strtoul.c tmpdir.obj : tmpdir.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) tmpdir.c wait-process.obj : wait-process.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) wait-process.c xerror.obj : xerror.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xerror.c xmalloc.obj : xmalloc.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xmalloc.c xstrdup.obj : xstrdup.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xstrdup.c xsetenv.obj : xsetenv.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) xsetenv.c fnmatch.obj : fnmatch.c fnmatch.h $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fnmatch.c getline.obj : getline.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getline.c getndelim2.obj : getndelim2.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) getndelim2.c mkdtemp.obj : mkdtemp.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) mkdtemp.c relocatable.obj : relocatable.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) relocatable.c stpcpy.obj : stpcpy.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) stpcpy.c vasprintf.obj : vasprintf.c $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) vasprintf.c gettextlib.olb : $(OBJECTS) $(AR) $(AR_FLAGS) gettextlib.olb $(OBJECTS) install : all write sys$output "Nothing else to be done for 'install'." installdirs : write sys$output "Nothing to be done for 'installdirs'." uninstall : write sys$output "Nothing to be done for 'uninstall'." check : all write sys$output "Nothing else to be done for 'check'." mostlyclean : clean write sys$output "Nothing else to be done for 'mostlyclean'." clean : $(RM) *.obj;* $(RM) *.olb;* distclean : clean write sys$output "Nothing else to be done for 'distclean'." maintainer-clean : distclean write sys$output "Nothing else to be done for 'maintainer-clean'."