1 # -*- Makefile -*- for gettext-runtime/lib on VMS using the MMS utility
3 #### Start of system configuration section. ####
5 # Programs used by "make":
9 # These flags affect binary compatibility. GNU gettext does not need them,
10 # but other packages do, and we need to be binary compatible with them.
11 ABIFLAGS = /name=(as_is,short) /float=ieee
13 WARN_CFLAGS = /warning
15 OPTIMFLAGS = /optimize
17 CFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS)
18 DEFS = "VMS=1","HAVE_CONFIG_H=1"
20 INCLUDES = /include=([],[-],[-.intl],[-.-.gettext-tools.lib])
28 #### End of system configuration section. ####
30 OBJECTS = basename.obj,closeout.obj,error.obj,fwriteerror.obj,getopt.obj,getopt1.obj,progname.obj,progreloc.obj,relocatable.obj,xmalloc.obj,xstrdup.obj
33 write sys$output "Nothing else to be done for 'all'."
35 basename.obj : [-.-.gettext-tools.lib]basename.c
36 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]basename.c
38 closeout.obj : [-.-.gettext-tools.lib]closeout.c
39 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]closeout.c
41 error.obj : [-.-.gettext-tools.lib]error.c
42 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]error.c
44 fwriteerror.obj : [-.-.gettext-tools.lib]fwriteerror.c
45 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]fwriteerror.c
47 getopt.obj : [-.-.gettext-tools.lib]getopt.c
48 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]getopt.c
50 getopt1.obj : [-.-.gettext-tools.lib]getopt1.c
51 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]getopt1.c
53 progname.obj : [-.-.gettext-tools.lib]progname.c
54 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]progname.c
56 progreloc.obj : [-.-.gettext-tools.lib]progreloc.c
57 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]progreloc.c
59 relocatable.obj : [-.-.gettext-tools.lib]relocatable.c
60 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]relocatable.c
62 xmalloc.obj : [-.-.gettext-tools.lib]xmalloc.c
63 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]xmalloc.c
65 xstrdup.obj : [-.-.gettext-tools.lib]xstrdup.c
66 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]xstrdup.c
69 $(AR) $(AR_FLAGS) grt.olb $(OBJECTS)
72 write sys$output "Nothing else to be done for 'install'."
75 write sys$output "Nothing to be done for 'installdirs'."
78 write sys$output "Nothing to be done for 'uninstall'."
81 write sys$output "Nothing to be done for 'check'."
84 write sys$output "Nothing else to be done for 'mostlyclean'."
91 write sys$output "Nothing else to be done for 'distclean'."
93 maintainer-clean : distclean
94 write sys$output "Nothing else to be done for 'maintainer-clean'."