diff options
author | John F. Carr <jfc@mit.edu> | 1991-06-20 05:23:11 +0000 |
---|---|---|
committer | John F. Carr <jfc@mit.edu> | 1991-06-20 05:23:11 +0000 |
commit | ad4b907c8f356015e51be57262ca8f1cb9e5765d (patch) | |
tree | e76ee4e5c48d2007b468f3b094fc910f2bc7da44 /zwgc/Imakefile | |
parent | 1e46eca0065115c19958cd5935acf73ca779c9dd (diff) |
Install zwgc in CLIENTDIR.
Diffstat (limited to 'zwgc/Imakefile')
-rw-r--r-- | zwgc/Imakefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/zwgc/Imakefile b/zwgc/Imakefile index a3b7eea..fbe3895 100644 --- a/zwgc/Imakefile +++ b/zwgc/Imakefile @@ -37,7 +37,7 @@ HDRS = exec.h node.h zwgc.h parser.h port.h\ buffer.h xmark.h xrevstack.h xerror.h ulong.h LINCLUDES = -IMemory -IString -IDictionary -GENERATORS= generate_stack_instance stack.h +GENERATORS= ./generate_stack_instance stack.h SRCDIR= ${SRCTOP}/zwgc CONFIG_FILES= zwgc.desc zephyr.vars zwgc_resources @@ -68,7 +68,7 @@ ZWGCDESC=$(ACLDIR)/zwgc.desc APPDEF=$(ACLDIR)/zwgc_resources DEFINES=-DREVSTACK -DDEFDESC=\"$(ZWGCDESC)\" -DAPPDEFDATABASE=\"$(APPDEF)\" \ - -DZWGCPATH=\"$(USRETCDIR)/zwgc\" + -DZWGCPATH=\"$(CLIENTDIR)/zwgc\" normal_obj_rule() @@ -76,7 +76,15 @@ OUTPUT=zwgc do_subdirs($(SUBDIRS)) /* gotta do the subdirs first! */ -program($(OUTPUT),$(OBJS),,$(LIBRARIES) $(LIBS),$(USRETCDIR)) +program($(OUTPUT),$(OBJS),,$(LIBRARIES) $(LIBS),$(CLIENTDIR)) + +#ifdef ATHENA_COMPAT +/* On Athena, zwgc has been in /usr/etc on VAXes and RTs and some people + run in with a full pathname. For compatbility, install a link. */ +install:: + $(RM) $(DESTDIR)$(USRETCDIR)/zwgc + ln $(DESTDIR)$(CLIENTDIR)/zwgc $(DESTDIR)$(USRETCDIR)/zwgc || ln -s $(CLIENTDIR)/zwgc $(DESTDIR)$(USRETCDIR)/zwgc +#endif depend:: ${DEPENDSRCS} |