# @@ COPY_RIGHT_HERE # @@ ROADMAP :: The Makefile for the Shell Test package UI=..\.. !include rules.mk !IFDEF NTMAKEENV !INCLUDE $(NTMAKEENV)\makefile.def !ELSE # NTMAKEENV TESTPARS_LIBS = $(BUILD_WINLIB)\slibcew.lib $(BUILD_WINLIB)\libw.lib \ $(BUILD_LIB)\lnetlibw.lib TESTAPP_APP = $(BINARIES_WIN)\apptest.exe TESTAPP_RES = $(BINARIES_WIN)\apptest.res TESTAPP_DEF = $(BINARIES_WIN)\apptest.def TESTAPP_LNK = $(BINARIES_WIN)\apptest.lnk TESTAPP_MAP = $(BINARIES_WIN)\apptest.map TESTAPP_SYM = $(BINARIES_WIN)\apptest.sym all:: test test:: win win: $(BINARIES_WIN)\testpars.exe $(TESTAPP_APP) $(TESTAPP_SYM) $(BINARIES_WIN)\testpars.exe: $(BINARIES_WIN)\testpars.obj $(LINK) /M /CO /NOD $(BINARIES_WIN)\testpars.obj, $(BINARIES_WIN)\testpars.exe,,$(TESTPARS_LIBS), testpars.def ; rcwin3 $(BINARIES_WIN)\testpars.exe mapsym testpars.map del $(BINARIES_WIN)\testpars.sym $(MV) testpars.sym $(BINARIES_WIN)\testpars.sym # following stuff builds apptest.exe LIBS1 = $(BUILD_WINLIB)\llibcew.lib $(BUILD_WINLIB)\libw.lib\ $(BUILD_LIB)\dos\netapi.lib $(BUILD_LIB)\dos\pmspl.lib\ $(BUILD_LIB)\lnetlibw.lib $(BUILD_LIB)\dosnet.lib\ $(UI_LIB)\blt.lib $(UI_LIB)\lmobjw.lib $(UI_LIB)\mnet16w.lib\ $(UI_LIB)\bltcc.lib \ $(UI_LIB)\uistrw.lib $(UI_LIB)\uimiscw.lib\ $(UI_LIB)\collectw.lib LIBS2 = $(UI_LIB)\profw.lib LANMAN_LIB = $(BINARIES_WIN)\lanman30.lib TESTAPP_LIBS = $(LIBS1) $(LIBS2) $(LANMAN_LIB) LINKED_OBJS = $(WIN_OBJS) LINKED_OBJS = $(LINKED_OBJS) $(TESTAPP_RES): apptest.rc appresrc.h apptest.ico appabout.dlg ..\h\pswddlog.h ..\xlate\pswddlog.dlg $(RCWIN3) $(BLT_RESOURCE) -FO$(TESTAPP_RES) -I..\xlate $(CINC) -r apptest.rc !ifdef CODEVIEW LINKOPT = /CO !else LINKOPT = !endif $(TESTAPP_APP) $(TESTAPP_SYM): $(LINKED_OBJS) $(TESTAPP_DEF) $(TESTAPP_LIBS) @echo Building $(TESTAPP_LNK) $(LINK) /PACKCODE:0x1FFF $(LINKOPT) @<<$(TESTAPP_LNK) $(LINKED_OBJS: =+^ ) $(TESTAPP_APP) /NOD /NOE /NOI $(*).map /MAP $(TESTAPP_LIBS: =+^ ) $(TESTAPP_DEF) <