#
# prottbldump makefile
#
# x-kernel v3.3
#
# Copyright (c) 1996,1993,1991,1990  Arizona Board of Regents
#
# $Log: Makefile,v $
# Revision 1.4  1996/06/03 23:34:08  slm
# Updated version & copyright.
#
# Revision 1.3  1996/01/27  00:19:56  slm
# Added XK_NO_LIBRARIES.
#
# Revision 1.2  1995/10/17  15:50:54  slm
# Create .o files in OBJS directories.
#
# Revision 1.1  1995/07/29  03:12:54  slm
# Initial revision
#
# Revision 1.13.1.1.1.1  1994/11/14  15:51:00  hkaram
# New branch
#
# Revision 1.13.1.1  1994/06/08  21:54:36  menze
# Added a kludge so the alpha build will pick up the right include files
#
# Revision 1.13  1994/01/27  16:42:30  menze
#   [ 1994/01/04          menze ]
#   Utility programs are now built from an xkernel build directory.
#

PGM := ptbldump
FILES := ptbldump

TMP_INCLUDES := -I$(XRT)/pi

EXT_HOW := $(XK_TYPE)-$(HOWTOCOMPILE)-$(XK_BIN_TYPE)
EXT_OBJ := \
	$(XRT)/pi/idmap/OBJS/$(EXT_HOW)/idmap.o \
	$(XRT)/pi/OBJS/$(EXT_HOW)/prottbl.o \
	$(XRT)/pi/OBJS/$(EXT_HOW)/prottbl_parse.o \
	$(XRT)/pi/OBJS/$(EXT_HOW)/xk_debug.o

ifeq ($(XPLATFORM),scout)
EXT_OBJ += \
	$(XRT)/stand_alone/platforms/scout/sys/libc/OBJS/$(EXT_HOW)/ctype.o
endif

XK_NO_LIBRARIES = xk_no_libraries

include $(XRT)/makefiles/Makefile.common

ptblData.c: $(XRT)/etc/prottbl
	ptbldump $(XRT)/etc/prottbl > ptblData.c
