* wxMMedia: these makefiles are just indicative.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4d6306eb4d
commit
a462d1343f
91
utils/wxMMedia/makefile.b32
Normal file
91
utils/wxMMedia/makefile.b32
Normal file
@ -0,0 +1,91 @@
|
||||
#
|
||||
# File: makefile.b32
|
||||
# Author: Patrick Halke, modified by Guilhem Lavaux
|
||||
# Created: 1997
|
||||
# Updated:
|
||||
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds 32bit wxstring library for Windows 3.1
|
||||
# and Borland C++ 4.x
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
!include $(WXDIR)\src\makeb32.env
|
||||
|
||||
WXLIBDIR = $(WXDIR)\lib
|
||||
WXLIB = $(WXDIR)\lib\wx32.lib
|
||||
WXINC = $(WXDIR)\include\msw
|
||||
WXBASESRC = $(WXDIR)\src\base
|
||||
WXBASEINC = $(WXDIR)\include\base
|
||||
LIBS=$(WXLIB) cw32 import32
|
||||
|
||||
!ifndef DEBUG
|
||||
DEBUG=0
|
||||
!endif
|
||||
|
||||
!if "$(FINAL)" == "0"
|
||||
LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
|
||||
OPT = -Od
|
||||
DEBUG_FLAGS= -v -DDEBUG=$(DEBUG)
|
||||
!else
|
||||
LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
|
||||
OPT = -O2
|
||||
DEBUG_FLAGS = -DDEBUG=$(DEBUG)
|
||||
!endif
|
||||
|
||||
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
|
||||
|
||||
LIBTARGET= $(WXLIBDIR)\wxmmedia.lib
|
||||
|
||||
.c.obj:
|
||||
bcc32 $(CPPFLAGS) -P- -c {$< }
|
||||
|
||||
OBJECTS = sndsnd.$(OBJSUFF) sndwav.$(OBJSUFF) vidbdrv.$(OBJSUFF) \
|
||||
sndfile.$(OBJSUFF) sndwin.$(OBJSUFF) mmdata.$(OBJSUFF) \
|
||||
mmfile.$(OBJSUFF) mmsolve.$(OBJSUFF) sndfrag.$(OBJSUFF) \
|
||||
cdbase.$(OBJSUFF) cdwin.$(OBJSUFF) vidwin.$(OBJSUFF) \
|
||||
mmriff.$(OBJSUFF)
|
||||
|
||||
all: $(LIBTARGET)
|
||||
|
||||
$(LIBTARGET): $(OBJECTS)
|
||||
erase $(LIBTARGET)
|
||||
tlib $(LIBTARGET) /P32 @&&!
|
||||
+$(OBJECTS:.obj =.obj +)
|
||||
!
|
||||
|
||||
sndsnd.$(OBJSUFF): sndsnd.$(SRCSUFF) sndsnd.h
|
||||
|
||||
sndwin.$(OBJSUFF): sndwin.$(SRCSUFF) sndwin.h
|
||||
|
||||
sndfile.$(OBJSUFF): sndfile.$(SRCSUFF) sndfile.h
|
||||
|
||||
sndwav.$(OBJSUFF): sndwav.$(SRCSUFF) sndwav.h
|
||||
|
||||
sndfrag.$(OBJSUFF): sndfrag.$(SRCSUFF) sndfrag.h
|
||||
|
||||
mmdata.$(OBJSUFF): mmdata.$(SRCSUFF)
|
||||
|
||||
mmfile.$(OBJSUFF): mmfile.$(SRCSUFF) mmfile.h
|
||||
|
||||
mmsolve.$(OBJSUFF): mmsolve.$(SRCSUFF) mmsolve.h
|
||||
|
||||
vidbdrv.$(OBJSUFF): vidbdrv.$(SRCSUFF) vidbdrv.h
|
||||
|
||||
cdbase.$(OBJSUFF): cdbase.$(SRCSUFF) cdbase.h
|
||||
|
||||
cdwin.$(OBJSUFF): cdwin.$(SRCSUFF) cdwin.h
|
||||
|
||||
vidwin.$(OBJSUFF): vidwin.$(SRCSUFF) vidwin.h
|
||||
|
||||
mmriff.$(OBJSUFF): mmriff.$(SRCSUFF) mmriff.h
|
||||
|
||||
clean:
|
||||
-erase *.obj
|
||||
-erase $(LIBTARGET)
|
||||
-erase *.exe
|
||||
-erase *.res
|
||||
-erase *.map
|
||||
-erase *.rws
|
92
utils/wxMMedia/makefile.nt
Normal file
92
utils/wxMMedia/makefile.nt
Normal file
@ -0,0 +1,92 @@
|
||||
#
|
||||
# File: makefile.nt
|
||||
# Author: Stefan Hammes (stefan.hammes@urz.uni-heidelberg.de) / Julian Smart / Petr Houser (1996)
|
||||
# Created: 1995
|
||||
# Updated:=09
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds wxSock library for Windows NT / Win95
|
||||
|
||||
# Change WXDIR or WXWIN to wherever wxWindows is found
|
||||
#WXWIN = $(WX)
|
||||
WXDIR = $(WXWIN)
|
||||
!include $(WXWIN)\src\ntwxwin.mak
|
||||
|
||||
WXMMEDDIR = $(WXDIR)\utils\wxmmedia
|
||||
WXMMEDINC = $(WXMMEDDIR)
|
||||
WXMMEDLIB = $(WXDIR)\lib\wxmmedia.lib
|
||||
INC=-I$(WXBASEINC) -I$(WXINC) -I$(WXMMEDINC)
|
||||
|
||||
WXLIB = $(WXDIR)\lib\wx.lib
|
||||
|
||||
LIBS=$(WXSOCKLIB) $(LIBS)
|
||||
#LIBS=$(WXLIB) $(WXSTRINGLIB) oldnames libw llibcew llibce commdlg shell
|
||||
|
||||
OBJECTS = mmdata.obj mmfile.obj sndfile.obj sndsnd.obj sndwin.obj\
|
||||
sndwav.obj sndfrag.obj vidbdrv.obj
|
||||
|
||||
all: $(WXMMEDLIB)
|
||||
|
||||
wx:
|
||||
cd $(WXDIR)\src\msw
|
||||
nmake -f makefile.nt
|
||||
cd $(ITSYDIR)
|
||||
|
||||
demo:
|
||||
|
||||
$(WXMMEDLIB): $(OBJECTS)
|
||||
-erase $(WXSOCKLIB)
|
||||
$(implib) @<<
|
||||
-out:$(WXSOCKLIB)
|
||||
-machine:$(CPU)
|
||||
$(OBJECTS)
|
||||
<<
|
||||
|
||||
MMD_data.obj: MMD_data.$(SRCSUFF)
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
MMD_file.obj: MMD_file.$(SRCSUFF)
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
SND_file.obj: SND_file.$(SRCSUFF) SND_file.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
SND_wav.obj: SND_wav.$(SRCSUFF) SCK_wav.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
SND_sound.obj: SND_sound.$(SRCSUFF) SND_sound.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
SND_sound.obj: SND_sound.$(SRCSUFF) SND_sound.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
SND_frag.obj: SND_frag.$(SRCSUFF) SND_frag.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
VID_bdrv.obj: VID_bdrv.$(SRCSUFF) VID_bdrv.h
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
clean:
|
||||
-erase *.obj
|
||||
-erase *.exe
|
||||
-erase *.lib
|
||||
-erase *.res
|
||||
-erase *.sbr
|
||||
-erase *.pdb
|
Loading…
Reference in New Issue
Block a user