1 # -*- Makefile -*- for gettext-tools/libgrep 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=([],[-],[-.lib])
28 #### End of system configuration section. ####
40 write sys$output "Nothing else to be done for 'all'."
43 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) kwset.c
46 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) dfa.c
48 m-common.obj : m-common.c
49 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) m-common.c
51 m-fgrep.obj : m-fgrep.c
52 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) m-fgrep.c
54 m-regex.obj : m-regex.c
55 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) m-regex.c
57 hard-locale.obj : hard-locale.c
58 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) hard-locale.c
61 $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) regex.c
64 $(AR) $(AR_FLAGS) grep.olb $(OBJECTS)
67 write sys$output "Nothing else to be done for 'install'."
70 write sys$output "Nothing to be done for 'installdirs'."
73 write sys$output "Nothing to be done for 'uninstall'."
76 write sys$output "Nothing to be done for 'check'."
79 write sys$output "Nothing else to be done for 'mostlyclean'."
86 write sys$output "Nothing else to be done for 'distclean'."
88 maintainer-clean : distclean
89 write sys$output "Nothing else to be done for 'maintainer-clean'."