1N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/AINCLUDES = -I. -I.. -I../stage1 -I../stage2
1N/ALIBRARIES = $(LIBCOMMON)
1N/A# Source files to be installed in $(SRC_DIR).
1N/ASRC_DIR = $(ROOT_SRC)/lib
1N/AINSTALL_TARGETS = $(SRC_FILES:%=$(SRC_DIR)/%)
1N/A$(LIBCOMMON): $(LIBCOMMON_OBJS)
1N/A $(AR) cru $@ $(LIBCOMMON_OBJS)
1N/A$(LIBCOMMON_OBJS): $$(@:.o=.c)
1N/A $(CC) $(CFLAGS) -c -o $@ $(@:.o=.c)
1N/Ainstall: all $(INSTALL_TARGETS)
1N/A$(SRC_DIR)/%: $(SRC_DIR) %
1N/A $(RM) *.o $(LIBRARIES)