# ----------------------------------------------------------------------------
# Hyper Operating System V4 Advance
#
# Copyright (C) 1998-2007 by Project HOS
# http://sourceforge.jp/projects/hos/
# ----------------------------------------------------------------------------



# --------------------------------------
#  %jp{eݒ}{setting}
# --------------------------------------

# %jp{^[QbgCu}%en{target library name}
TARGET = hosaplfw


# %jp{A[LeN``}%en{architecture}
ARCH_NAME = win32
ARCH_CC   = msc


# %jp{fBNg`}%en{directories}
TOP_DIR            = ..\..\..\..\..
KERNEL_DIR         = $(TOP_DIR)\kernel
KERNEL_MAKINC_DIR  = $(KERNEL_DIR)\build\common\nmake
HOSAPLFW_DIR       = $(TOP_DIR)\aplfw
HOSAPLFW_MKINK_DIR = $(HOSAPLFW_DIR)/build\common\nmake


# %jp{ʒ`Ǎ}%jp{common setting}
!include $(KERNEL_MAKINC_DIR)\common.inc


# %jp{pXݒ}%en{add source directories}
SRC_DIR  = 
INC_DIRS = $(KERNEL_DIR)\include


# %jp{IvVtO}%en{option flags}
AFLAGS  = 
CFLAGS  = 
ARFLAGS = 


# %jp{NΏې}%en{link subsystem}
LINK_WINSOCK = Yes



# %jp{RpCˑ̐ݒǍ}%en{compiler dependent definitions}
!include $(KERNEL_MAKINC_DIR)\$(ARCH_CC)_d.inc

# %jp{CupݒǍ}%en{definitions for library}
!include $(KERNEL_MAKINC_DIR)\maklib_d.inc




# --------------------------------------
#  %jp{\[Xt@C}%en{source files}
# --------------------------------------

# %jp{HOS-APLFW\[XݒǍ}%en{common source files}
!include $(HOSAPLFW_MKINK_DIR)\aplfwsrc.inc




# --------------------------------------
#  %jp{[`}%en{rules}
# --------------------------------------


# %jp{ALL}%en{all}
all: makelib_all

# %jp{N[}%en{clean}
clean: makelib_clean
	-$(CMD_RM) *.lst


# %jp{CupݒǍ}%en{rules for library}
!include $(KERNEL_MAKINC_DIR)\maklib_r.inc

# %jp{RpCˑ̃[`Ǎ}%en{rules for compiler}
!include $(KERNEL_MAKINC_DIR)\$(ARCH_CC)_r.inc




# --------------------------------------
#  %jp{ˑ֌W}%en{dependency}
# --------------------------------------

# %jp{ˑ֌W`Ǎ}%en{dependency list}
!include $(HOSAPLFW_MKINK_DIR)\aplfwdep.inc



# end of file
