home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
pmeister
/
IODSIMPL.TM
< prev
next >
Wrap
Text File
|
1997-04-02
|
4KB
|
132 lines
# File: MAKEFILE
#
# Description: Make file for $partname$
#
# Written by: $author$
#
# Copyright: (c) $years$ by $company$
# - all rights reserved
#
# Generated by: $toolname$ $toolversion$
# If you wish to add to the existing compile and link flags, you can
# do it with these macros
ExtraSOMCompileOptions = -I$publicpath$
ExtraCompileOptions = -I$publicpath$ $ExtraCompileOptionsForWIN32andOS2$
ExtraLinkOptions =
# ===================================================================
# Subdirectories you want nmake to visit
Subdirs = $lang_subdir$
# include to define the iodutils macro
!include $(ODSRC)/src/iodduals.mak
# ===================================================================
# Targets
# IdlTargets = List all the idls
# HdrTargets = List all the C++ headers
# MsgTargets = List all the message catalogs
# LibTargets = List all export libraries to be built
# DllTargets = List all shared libraries to be built
#
# The Reg* and File* macros are used to generate a table of contents
# and an install package
IdlTargets = $filename$.idl
RcTargets =
HdrTargets = $filename$.h
MsgTargets =
LibTargets = $(ODSRC)/lib/$filename$.$(LibSuffix)
#
# Note that the DLL is placed into the "runtime" directory
# specified on "settings" page of PartMeister.
#
# Alternatively this could be "$(ODSRC)/dll/$filename$.dll"
# which would ignore the "runtime" setting.
#
DllTargets = $runtimepath$/$filename$.dll
RegMain=$filename$.dll
RegIDL=$filename$.idl
RegClassName=$partname$
RegKind=$kindnq$
FilesDlls=$filename$.dll $(iodutils).dll $parentfilename$.dll
FilesIncs=$(IdlTargets) $(IdlTargets:.idl=.xh) $(HdrTargets)
FilesLibs=$filename$.$(LibSuffix)
FilesCats=$filename$.cat
FilesHelps=$filename$.hlp
FilesStationery=
# ===================================================================
# Common Inference Rules
# Platform.mak contains all the platform specific code to build the
# sample. Check it to verify which compiler the sample is using.
!include $(ODSRC)/src/Platform.mak
# ===================================================================
# Rules
$filename$ObjList = $filename$.$(Obj)
$filename$.$(Obj) : $filename$.cpp $filename$.xih $filename$.h
$filename$LibList = \
!IF "$(Platform)"=="win32"
$(ODBASE)/lib/msgdll.$(LibSuffix) \
!ENDIF
$(SOMBASE)/lib/somtk.$(LibSuffix) \
$(ODBASE)/lib/odimagng.$(LibSuffix) \
$(ODBASE)/lib/odui.$(LibSuffix) \
$(ODBASE)/lib/odlayout.$(LibSuffix) \
$(ODBASE)/lib/odcore.$(LibSuffix) \
$(ODBASE)/lib/odmsgcat.$(LibSuffix) \
$(ODBASE)/lib/odstorag.$(LibSuffix) \
$(ODSRC)/lib/$(iodutils).$(LibSuffix) \
$(ODSRC)/lib/$parentfilename$.$(LibSuffix)
$(DllTargets) : $(ODSRC)/lib/$filename$.$(Exp) \
$($filename$LibList) \
$($filename$ObjList)
@$(BuildDll) BuildDllRule
#
# Since Windows and OS/2 both want a ".DEF" file,
# the OS/2 file template was renamed to ".DEO" to
# avoid a filename collision
#
!IF "$(Platform)"=="win32"
$(ODSRC)/lib/$filename$.$(Def) : $filename$.$(Def)
@$(BuildCopy)
!ENDIF
!IF "$(Platform)"=="os2"
$(ODSRC)/lib/$filename$.$(Def) : $filename$.deo
@$(BuildCopy)
!ENDIF
$(ODSRC)/lib/$filename$.$(LibSuffix) : \
!IFDEF CPPMAIN
$(ODSRC)/lib/$filename$.$(Def) \
!ENDIF
$($filename$ObjList)
@$(BuildLib)
# end of file