# Makefile for Microsoft Visual C++ and NMAKE

!IF "$(CFG)" == ""
CFG=libunibreak - Win32 Debug
!MESSAGE No configuration specified. Defaulting to libunibreak - Win32 Debug.
!ENDIF 

!IF "$(CFG)" != "libunibreak - Win32 Release" && "$(CFG)" != "libunibreak - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f Makefile.msvc CFG="libunibreak - Win32 Debug"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
!MESSAGE "libunibreak - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "libunibreak - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE 
!ERROR An invalid configuration is specified.
!ENDIF 

!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE 
NULL=nul
!ENDIF 

CPP=cl.exe
RSC=rc.exe

!IF  "$(CFG)" == "libunibreak - Win32 Release"

OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros

ALL : "$(OUTDIR)\unibreak.lib"


CLEAN :
	-@erase "$(INTDIR)\linebreak.obj"
	-@erase "$(INTDIR)\linebreakdata.obj"
	-@erase "$(INTDIR)\linebreakdef.obj"
	-@erase "$(INTDIR)\wordbreak.obj"
	-@erase "$(INTDIR)\graphemebreak.obj"
	-@erase "$(INTDIR)\emojidef.obj"
	-@erase "$(INTDIR)\unibreakbase.obj"
	-@erase "$(INTDIR)\unibreakdef.obj"
	-@erase "$(INTDIR)\vc*.idb"
	-@erase "$(OUTDIR)\unibreak.lib"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP_PROJ=/nologo /MT /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\unibreak.bsc" 
BSC32_SBRS= \
	
LIB32=link.exe -lib
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\unibreak.lib" 
LIB32_OBJS= \
	"$(INTDIR)\linebreak.obj" \
	"$(INTDIR)\linebreakdata.obj" \
	"$(INTDIR)\linebreakdef.obj" \
	"$(INTDIR)\wordbreak.obj" \
	"$(INTDIR)\graphemebreak.obj" \
	"$(INTDIR)\emojidef.obj" \
	"$(INTDIR)\unibreakbase.obj" \
	"$(INTDIR)\unibreakdef.obj"

"$(OUTDIR)\unibreak.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
    $(LIB32) @<<
  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
<<

!ELSEIF  "$(CFG)" == "libunibreak - Win32 Debug"

OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros

ALL : "$(OUTDIR)\unibreak.lib"


CLEAN :
	-@erase "$(INTDIR)\linebreak.obj"
	-@erase "$(INTDIR)\linebreakdata.obj"
	-@erase "$(INTDIR)\linebreakdef.obj"
	-@erase "$(INTDIR)\wordbreak.obj"
	-@erase "$(INTDIR)\graphemebreak.obj"
	-@erase "$(INTDIR)\emojidef.obj"
	-@erase "$(INTDIR)\unibreakbase.obj"
	-@erase "$(INTDIR)\unibreakdef.obj"
	-@erase "$(INTDIR)\vc*.idb"
	-@erase "$(INTDIR)\vc*.pdb"
	-@erase "$(OUTDIR)\unibreak.lib"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP_PROJ=/nologo /MTd /W3 /Gm /EHsc /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /RTC1  /c 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\unibreak.bsc" 
BSC32_SBRS= \
	
LIB32=link.exe -lib
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\unibreak.lib" 
LIB32_OBJS= \
	"$(INTDIR)\linebreak.obj" \
	"$(INTDIR)\linebreakdata.obj" \
	"$(INTDIR)\linebreakdef.obj" \
	"$(INTDIR)\wordbreak.obj" \
	"$(INTDIR)\graphemebreak.obj" \
	"$(INTDIR)\emojidef.obj" \
	"$(INTDIR)\unibreakbase.obj" \
	"$(INTDIR)\unibreakdef.obj"

"$(OUTDIR)\unibreak.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
    $(LIB32) @<<
  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
<<

!ENDIF 

.c{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.obj::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.c{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cpp{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<

.cxx{$(INTDIR)}.sbr::
   $(CPP) @<<
   $(CPP_PROJ) $< 
<<


.\linebreak.c : \
	".\linebreak.h"\
	".\linebreakdef.h"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\linebreakdata.c : \
	".\linebreakdef.h"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\linebreakdef.c : \
	".\linebreak.h"\
	".\linebreakdef.h"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\wordbreak.c : \
	".\wordbreak.h"\
	".\wordbreakdef.h"\
	".\wordbreakdata.c"\
	".\emojidef.h"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\graphemebreak.c : \
	".\graphemebreak.h"\
	".\graphemebreakdata.c"\
	".\emojidef.h"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\emojidef.c : \
	".\emojidef.h"\
	".\emojidata.c"\
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	
.\unibreakbase.c : \
	".\unibreakbase.h"\
	
.\unibreakdef.c : \
	".\unibreakbase.h"\
	".\unibreakdef.h"\
	

!IF "$(CFG)" == "libunibreak - Win32 Release" || "$(CFG)" == "libunibreak - Win32 Debug"
SOURCE=.\linebreak.c

"$(INTDIR)\linebreak.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\linebreakdata.c

"$(INTDIR)\linebreakdata.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\linebreakdef.c

"$(INTDIR)\linebreakdef.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\wordbreak.c

"$(INTDIR)\wordbreak.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\graphemebreak.c

"$(INTDIR)\graphemebreak.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\emojidef.c

"$(INTDIR)\emojidef.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\unibreakbase.c

"$(INTDIR)\unibreakbase.obj" : $(SOURCE) "$(INTDIR)"


SOURCE=.\unibreakdef.c

"$(INTDIR)\unibreakdef.obj" : $(SOURCE) "$(INTDIR)"



!ENDIF 

