# (C) Copyright International Business Machines Corporation 23 January 
# 1990.  All Rights Reserved. 
#  
# See the file USERAGREEMENT distributed with this software for full 
# terms and conditions of use. 
# Makefile
# Author: Andy Lowry
# SCCS Info: @(#)Makefile	1.4 3/13/90

# This make file builds binaries from the LI sources produced in
# ../ligen.

# Set the default target here at the top so there's no confusion...
all:	initial
initial::

# Get standard definitions and suffix rules
include ../../make/includefile

# Where to load .po files from...
LOADPATH =	$(PROCDIR)
# Where to load .do files from
DEFPATH =	$(GENHROOT)/bin:$(HROOT)/hermes/defs:$(DEFDIR)
# Normally we're just working with a single system
GENHROOT =	$(HROOT)

# Here's the rule for assembling the .li files
.li.po:	$<
	env $(HERMENV) $(ASM) $<

# Compiled modules
POFILES =	root.po pcom.po findfile.po pathload.po pathreadobj.po \
		loadprog.po

# Assemble the LI files
all:	$(POFILES)
install: all
	cp $(POFILES) $(PROCDIR)

# Clean up the directory
clean::
	@- rm -f *.po

liclean::
	@- rm -f *.li
