1# ========================================================================= 2# This makefile was generated by 3# Bakefile 0.2.9 (http://www.bakefile.org) 4# Do not modify, all changes will be overwritten! 5# ========================================================================= 6 7include ../../../build/msw/config.dmc 8 9# ------------------------------------------------------------------------- 10# Do not modify the rest of this file! 11# ------------------------------------------------------------------------- 12 13### Variables: ### 14 15WX_RELEASE_NODOT = 28 16OBJS = dmc_mswd$(CFG) 17LIBTYPE_SUFFIX = lib 18LIBDIRNAME = .\..\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG) 19SETUPHDIR = $(LIBDIRNAME)\mswd 20HTMLHELP_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ 21 -I$(SETUPHDIR) -I.\..\..\..\include -w- -I. -WA -I.\..\..\..\samples -DNOPCH \ 22 -Ar -Ae $(CPPFLAGS) $(CXXFLAGS) 23HTMLHELP_OBJECTS = \ 24 $(OBJS)\htmlhelp_help.obj 25 26### Targets: ### 27 28all : $(OBJS)\htmlhelp.exe data 29 30clean : 31 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj 32 -if exist $(OBJS)\*.res del $(OBJS)\*.res 33 -if exist $(OBJS)\*.sym del $(OBJS)\*.sym 34 -if exist $(OBJS)\htmlhelp.exe del $(OBJS)\htmlhelp.exe 35 -if exist $(OBJS)\htmlhelp.map del $(OBJS)\htmlhelp.map 36 37$(OBJS)\htmlhelp.exe : $(HTMLHELP_OBJECTS) $(OBJS)\htmlhelp_help.res 38 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW /su:windows:4.0 $(LDFLAGS) $(HTMLHELP_OBJECTS),$@,$(OBJS)\htmlhelp.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_html.lib wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib \ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\htmlhelp_help.res 39 40data : 41 if not exist $(OBJS)\helpfiles mkdir $(OBJS)\helpfiles 42 for %f in (Index.hhk another.hhc another.hhp another.htm book1.htm book2.htm contents.hhc main.htm page2-b.htm testing.hhp) do if not exist $(OBJS)\helpfiles\%f copy .\helpfiles\%f $(OBJS)\helpfiles 43 44$(OBJS)\htmlhelp_help.obj : .\help.cpp 45 $(CXX) -mn -c -cpp -o$@ $(HTMLHELP_CXXFLAGS) .\help.cpp 46 47$(OBJS)\htmlhelp_help.res : .\help.rc 48 rcc .\help.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\..\..\include -I. -I.\..\..\..\samples -DNOPCH -32 -v- 49 50