mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
203 lines
3.9 KiB
Makefile
203 lines
3.9 KiB
Makefile
# Microsoft Developer Studio Generated NMAKE File, Based on avilib.dsp
|
|
!IF "$(CFG)" == ""
|
|
CFG=avilib_Debug
|
|
!MESSAGE No configuration specified. Defaulting to avilib_Debug.
|
|
!ENDIF
|
|
|
|
!IF "$(CFG)" != "avilib_Release" && "$(CFG)" != "avilib_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.mak" CFG="avilib_Debug"
|
|
!MESSAGE
|
|
!MESSAGE Possible choices for configuration are:
|
|
!MESSAGE
|
|
!MESSAGE "avilib_Release" (based on "Win32 (x86) Static Library")
|
|
!MESSAGE "avilib_Debug" (based on "Win32 (x86) Static Library")
|
|
!MESSAGE
|
|
!ERROR An invalid configuration is specified.
|
|
!ENDIF
|
|
|
|
!IF "$(OS)" == "Windows_NT"
|
|
NULL=
|
|
!ELSE
|
|
NULL=nul
|
|
!ENDIF
|
|
|
|
AVILIB_VERSION=0.0.2
|
|
AVILIB_PACKAGE=mktoolnix
|
|
CFLAGS = -DPACKAGE=\"(AVILIB_PACKAGE)\" -DVERSION=\"(AVILIB_VERSION)\"
|
|
|
|
!IF "$(CFG)" == "avilib_Release"
|
|
|
|
OUTDIR=.
|
|
INTDIR=.\Release
|
|
# Begin Custom Macros
|
|
OutDir=.
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\avilib.lib"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\avidump.obj"
|
|
-@erase "$(INTDIR)\avilib.obj"
|
|
-@erase "$(INTDIR)\avimisc.obj"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(OUTDIR)\avilib.lib"
|
|
|
|
"$(INTDIR)" :
|
|
if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe $(CFLAGS)
|
|
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR)\avilib.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
|
|
.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) $<
|
|
<<
|
|
|
|
RSC=rc.exe
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\avilib.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LIB32=link.exe -lib
|
|
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\avilib.lib"
|
|
LIB32_OBJS= \
|
|
"$(INTDIR)\avidump.obj" \
|
|
"$(INTDIR)\avilib.obj" \
|
|
"$(INTDIR)\avimisc.obj"
|
|
|
|
"$(OUTDIR)\avilib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
|
|
$(LIB32) @<<
|
|
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
|
|
<<
|
|
|
|
!ELSEIF "$(CFG)" == "avilib_Debug"
|
|
|
|
OUTDIR=.
|
|
INTDIR=.\Debug
|
|
# Begin Custom Macros
|
|
OutDir=.
|
|
# End Custom Macros
|
|
|
|
ALL : "$(OUTDIR)\avilib.lib"
|
|
|
|
|
|
CLEAN :
|
|
-@erase "$(INTDIR)\avidump.obj"
|
|
-@erase "$(INTDIR)\avilib.obj"
|
|
-@erase "$(INTDIR)\avimisc.obj"
|
|
-@erase "$(INTDIR)\vc60.idb"
|
|
-@erase "$(INTDIR)\vc60.pdb"
|
|
-@erase "$(OUTDIR)\avilib.lib"
|
|
|
|
"$(INTDIR)" :
|
|
if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
|
|
|
|
"$(OUTDIR)" :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
|
|
CPP=cl.exe $(CFLAGS)
|
|
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR)\avilib.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
|
|
|
|
.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) $<
|
|
<<
|
|
|
|
RSC=rc.exe
|
|
BSC32=bscmake.exe
|
|
BSC32_FLAGS=/nologo /o"$(OUTDIR)\avilib.bsc"
|
|
BSC32_SBRS= \
|
|
|
|
LIB32=link.exe -lib
|
|
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\avilib.lib"
|
|
LIB32_OBJS= \
|
|
"$(INTDIR)\avidump.obj" \
|
|
"$(INTDIR)\avilib.obj" \
|
|
"$(INTDIR)\avimisc.obj"
|
|
|
|
"$(OUTDIR)\avilib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
|
|
$(LIB32) @<<
|
|
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
|
|
<<
|
|
|
|
!ENDIF
|
|
|
|
|
|
!IF "$(CFG)" == "avilib_Release" || "$(CFG)" == "avilib_Debug"
|
|
SOURCE=.\avidump.c
|
|
|
|
"$(INTDIR)\avidump.obj" : $(SOURCE) "$(INTDIR)"
|
|
|
|
|
|
SOURCE=.\avilib.c
|
|
|
|
"$(INTDIR)\avilib.obj" : $(SOURCE) "$(INTDIR)"
|
|
|
|
|
|
SOURCE=.\avimisc.c
|
|
|
|
"$(INTDIR)\avimisc.obj" : $(SOURCE) "$(INTDIR)"
|
|
|
|
|
|
|
|
!ENDIF
|
|
|