Ignore:
Timestamp:
Jan 29, 2003, 7:41:39 PM (23 years ago)
Author:
umoeller
Message:

New build system, multimedia, other misc fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/makefile

    r242 r243  
    1 # $Id$
    2 
    31#
    42# makefile:
     
    97#       This makefile is even more complicated than the other makefiles
    108#       because the helpers code has been designed to be independent
    11 #       of any single project. For example, the helpers code is used
    12 #       by XWorkplace also. As a result, I had to design a way so that
     9#       of any single project. Presently the helpers code is used in
     10#       XWorkplace and WarpIN. As a result, I had to design a way so that
    1311#       this makefile can produce output in a variable directory, with
    1412#       variable compiler flags, and so on. This is done via environment
    15 #       variables (see below).
     13#       variables passed in from the "parent" makefile of a specific
     14#       project.
    1615#
    1716#       Even worse, with V0.9.5, I chose to create a shared runtime DLL
     
    8584#
    8685
    87 # Say hello to yourself.
    88 !if [@echo +++++ Entering $(MAKEDIR)\makefile]
    89 !endif
    90 
    91 # helpers_pre.in: sets up more environment variables
    92 # and defines $(OBJ), which contains all object targets
     86# set up shared environment variables
     87!include ..\..\make\helpers.in
     88# define $(OBJ), which contains all object targets
    9389!include helpers_pre.in
    9490
     
    194190TESTCASE_DIR = testcase
    195191
    196 DEBUGDIALOG =
     192!undef DEBUGDIALOG
    197193!ifdef DBGDLG
    198194DEBUGDIALOG = /DDEBUG_DIALOG_WINDOWS=1
    199195!endif
    200196
    201 TESTCASE_CC = icc /c /ti+ /w2 /ss /se /D__DEBUG__=1 $(DEBUGDIALOG) /i$(HELPERS_BASE)\include /Fo$(TESTCASE_DIR)\$(@B).obj $(@B).c
     197TESTCASE_CC_BASE = icc /c /ti+ /w2 /ss /se /D__DEBUG__=1 $(DEBUGDIALOG) /i..\..\include
     198
     199TESTCASE_CC = $(TESTCASE_CC_BASE) /Fo$(TESTCASE_DIR)\$(@B).obj  $(@B).c
    202200
    203201.c.{$(TESTCASE_DIR)}.obj:
     
    212210    exeh.exe \
    213211    fdlg.exe \
     212    fdlg_pm.exe \
    214213    xmap.exe \
    215214    vcard.exe
     
    265264
    266265# fdlg.exe
    267 FDLG_TEST_OBJS = \
     266FDLG_TEST_OBJS_SHARED = \
    268267    $(TESTCASE_DIR)\comctl.obj \
    269268    $(TESTCASE_DIR)\cctl_cnr.obj \
     
    282281    $(TESTCASE_DIR)\tree.obj \
    283282    $(TESTCASE_DIR)\nls.obj \
    284     $(TESTCASE_DIR)\nlscache.obj \
     283    $(TESTCASE_DIR)\nlscache.obj
     284
     285FDLG_TEST_OBJS = \
     286    $(FDLG_TEST_OBJS_SHARED) \
    285287    $(TESTCASE_DIR)\_call_filedlg.obj
    286288
    287 fdlg.exe: $(FDLG_TEST_OBJS)
    288     ilink /debug /pmtype:pm $(FDLG_TEST_OBJS) pmprintf.lib /o:$@
     289$(TESTCASE_DIR)\_call_filedlg_pm.obj: _call_filedlg.c
     290    @echo $(MAKEDIR)\makefile: Compiling $(@B).c (PM version)
     291    @echo INCLUDE is $(INCLUDE)
     292    $(TESTCASE_CC_BASE) /D__USE_PM_CNR__=1 /Fo$(TESTCASE_DIR)\_call_filedlg_pm.obj _call_filedlg.c
     293
     294FDLG_TEST_OBJS_PM = \
     295    $(FDLG_TEST_OBJS_SHARED) \
     296    $(TESTCASE_DIR)\_call_filedlg_pm.obj
     297
     298fdlg.exe: $(FDLG_TEST_OBJS) makefile
     299    @echo $(MAKEDIR)\makefile: Linking $@
     300    ilink /nologo /debug /pmtype:pm $(FDLG_TEST_OBJS) pmprintf.lib /o:$@
     301
     302fdlg_pm.exe: $(FDLG_TEST_OBJS_PM) makefile
     303    @echo $(MAKEDIR)\makefile: Linking $@ (PM version)
     304    ilink /nologo /debug /pmtype:pm $(FDLG_TEST_OBJS_PM) pmprintf.lib /o:$@
    289305
    290306# xmap.exe
Note: See TracChangeset for help on using the changeset viewer.