Changeset 407
- Timestamp:
- Nov 28, 2008, 6:45:54 PM (17 years ago)
- Location:
- contrib/installer/install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/installer/install/makefile
r406 r407 1 # makefile2 # Created by IBM WorkFrame/2 MakeMake at 2:42:32 on 23 Mar 20063 #4 # The actions included in this make file are:5 # Compile::C++ Compiler6 # Link::Linker7 8 # Compiler flags:9 # /Ti : debug info10 # /Fb : create browse info11 # /O : optimize12 # /Gm : use multithreaded library13 # /Gd : indicate to link to RTL dynamically (as DLL),14 # dllrname will then replace CPPOM30.DLL with OS2OM30.DLL15 # as the latter is delivered with OS/216 # /Ge-: compile object to be used in DLL17 # Linker flags:18 # /de : debug info19 # /dbgpack: compress debug info20 # /br: create browse info21 # /exepack:2 compress binary with OS/2 Warp compatible method22 # /packc: combine the code segments as much as possible23 # /packd: combine the data segments as much as possible24 # /optfunc: remove all not used functions25 1 26 2 27 !IF $(DEBUG) 28 CFLAGS = /Ti /Fb 29 LFLAGS = /de /dbgpack /br 30 !ELSE 31 CFLAGS = /O 32 LFLAGS = 33 !ENDIF 3 CC = wpp386 4 LD = wlink 5 LB = wlib 34 6 35 .SUFFIXES: 7 MACHINE= -6s -fp6 36 8 37 .SUFFIXES: \ 38 .cpp .obj 9 INCLUDE = $(%watcom)\h;$(%watcom)\h\os2 39 10 40 .cpp.obj: 41 @echo " Compile::C++ Compiler " 42 icc.exe $(CFLAGS) /Q /W1 /Gm /Gd /Ge- /Ft- /C $< 11 !ifndef DEBUG 12 LDDEBUG = op el 13 CDEBUG = -d0 14 OPT = -otbmilera 15 !else 16 LDDEBUG = d all op map op symf 17 CDEBUG = -d3 -v 18 OPT = -od 19 !endif 43 20 44 all: \ 45 uniinst.dll 21 CFLAGS = -i=$(INCLUDE) $(CDEBUG) -wx -e25 -zq $(OPT) $(MACHINE) -mf -bd -bm 22 LDFLAGS = $(LDDEBUG) op maxe=25 23 LIBS = $(%watcom)\lib386\os2\mmpm2.lib 46 24 47 uniinst.dll: \48 uniinst.obj \49 uniinst.def50 @echo " Link::Linker "51 -7 ilink.exe /NOLOGO @<<52 $(LFLAGS) /Dll /exepack:2 /nobase /packc /packd /optfunc53 /Out:$@54 mmpm2.lib55 uniinst.def56 uniinst.obj57 <<58 dllrname.exe /Q $@ CPPOM30=OS2OM30 /N59 25 60 uniinst.obj: \ 61 uniinst.cpp 26 all: uniinst.dll uniinst.lib 27 28 uniinst.dll: 29 wpp386 $(CFLAGS) $*.cpp 30 $(LD) NAME $* @$*.lnk $(LDFLAGS) LIB $(LIBS) FILE $*.obj 31 32 uniinst.lib: 33 wlib $*.lib +$*.dll 34 35 clean : .SYMBOLIC 36 -@rm *.dll 37 -@rm *.lib 38 @%make cleanrel 39 40 cleanrel : .PROCEDURE 41 -@rm *.obj 42 -@rm *.def 43 -@rm *.sym 44 -@rm *.err 45 -@rm *.lst 46 -@rm *.map 47 -@rm *.err 48 -
contrib/installer/install/uniinst.cpp
r406 r407 1 /********************************************************/1 ********************************************************/ 2 2 /* For how to write an minstall installation DLL see */ 3 3 /* "Multimedia Subsystem Programming Guide" */ … … 108 108 } 109 109 110 111 ULONG APIENTRY Install( 110 __declspec(dllexport) ULONG Install( 112 111 HWND hwndOwnerHandle, 113 112 PSZ pszSourcePath, … … 220 219 221 220 222 ULONG APIENTRYDeinstall(221 __declspec(dllexport) ULONG Deinstall( 223 222 HWND hwndOwnerHandle, 224 223 PSZ pszSourcePath, … … 262 261 } 263 262 264
Note:
See TracChangeset
for help on using the changeset viewer.