Skip to content
Snippets Groups Projects
Commit 4a1e68a7 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3388] Remove G7221 code from pjproject/third_project/build/

parent 6f777bff
No related branches found
No related tags found
No related merge requests found
include ../../../build.mak
include ../../../build/common.mak
export LIBDIR := ../../lib
RULES_MAK := $(PJDIR)/build/rules.mak
export G7221_CODEC_LIB := ../../lib/libg7221codec-$(TARGET_NAME)$(LIBEXT)
###############################################################################
# Gather all flags.
#
export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \
$(CFLAGS) $(CC_INC)../.. $(CC_INC)../../g7221/common \
$(CC_INC)../../g7221/common/stl-files \
$(CC_INC)../../../pjlib/include
export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \
$(HOST_CXXFLAGS) $(CXXFLAGS)
export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \
$(LDFLAGS)
export G7221_CODEC_SRCDIR = ../../g7221
export G7221_CODEC_OBJS = common/common.o common/huff_tab.o common/tables.o \
common/basic_op.o \
decode/coef2sam.o decode/dct4_s.o decode/decoder.o \
encode/dct4_a.o encode/sam2coef.o encode/encoder.o
export G7221_CODEC_CFLAGS = $(_CFLAGS)
export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT
###############################################################################
# Main entry
#
# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory.
#
TARGETS := libg7221codec
all: $(TARGETS)
doc:
cd .. && doxygen docs/doxygen.cfg
dep: depend
distclean: realclean
.PHONY: dep depend libg7221codec clean realclean distclean
libg7221codec:
$(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $(G7221_CODEC_LIB)
clean print_lib:
$(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@
realclean:
$(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR))
$(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@
depend:
$(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@
# Microsoft Developer Studio Project File - Name="libg7221codec" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=libg7221codec - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "libg7221codec.mak".
!MESSAGE
!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 "libg7221codec.mak" CFG="libg7221codec - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "libg7221codec - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "libg7221codec - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "libg7221codec - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "output\libg7221codec-i386-win32-vc6-release"
# PROP Intermediate_Dir "output\libg7221codec-i386-win32-vc6-release"
# PROP Target_Dir ""
F90=df.exe
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /I "../../g7221/common" /I "../../g7221/common/stl-files" /I "../../../pjlib/include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FR /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\..\lib\libg7221codec-i386-win32-vc6-release.lib"
!ELSEIF "$(CFG)" == "libg7221codec - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "output\libg7221codec-i386-win32-vc6-debug"
# PROP Intermediate_Dir "output\libg7221codec-i386-win32-vc6-debug"
# PROP Target_Dir ""
F90=df.exe
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../.." /I "../../g7221/common" /I "../../g7221/common/stl-files" /I "../../../pjlib/include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\..\lib\libg7221codec-i386-win32-vc6-debug.lib"
!ENDIF
# Begin Target
# Name "libg7221codec - Win32 Release"
# Name "libg7221codec - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Group "common"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\g7221\common\basic_op.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\basic_op.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\basic_op_i.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\common.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\count.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\defs.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\huff_def.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\huff_tab.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\huff_tab.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\tables.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\tables.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\common\typedef.h
# End Source File
# End Group
# Begin Group "decode"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\g7221\decode\coef2sam.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\decode\dct4_s.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\decode\dct4_s.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\decode\decoder.c
# End Source File
# End Group
# Begin Group "encode"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\g7221\encode\dct4_a.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\encode\dct4_a.h
# End Source File
# Begin Source File
SOURCE=..\..\g7221\encode\encoder.c
# End Source File
# Begin Source File
SOURCE=..\..\g7221\encode\sam2coef.c
# End Source File
# End Group
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# End Target
# End Project
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment