summaryrefslogtreecommitdiff
path: root/solenv/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2000-09-20 13:43:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2000-09-20 13:43:26 +0000
commit22c7f3f170c30085b1fe93d0e83a665b36b9738a (patch)
treee71996a7ae8480d0bf7fa265604d62b424c3b989 /solenv/inc
parent11cb1baf50ca8d57cc3a722e24bb973e6e64760a (diff)
initial import
Diffstat (limited to 'solenv/inc')
-rw-r--r--solenv/inc/_tg_app.mk1450
-rw-r--r--solenv/inc/_tg_def.mk4500
-rw-r--r--solenv/inc/_tg_lib.mk750
-rw-r--r--solenv/inc/_tg_rslb.mk970
-rw-r--r--solenv/inc/_tg_scp.mk140
-rw-r--r--solenv/inc/_tg_shl.mk4000
-rw-r--r--solenv/inc/_tg_zip.mk500
-rw-r--r--solenv/inc/found_no.mk4
-rw-r--r--solenv/inc/lang.mk228
-rw-r--r--solenv/inc/libs.mk422
-rw-r--r--solenv/inc/minor.mk5
-rw-r--r--solenv/inc/os2.mk330
-rw-r--r--solenv/inc/postmac.h53
-rw-r--r--solenv/inc/postset.mk226
-rw-r--r--solenv/inc/premac.h56
-rw-r--r--solenv/inc/pstrules.mk225
-rw-r--r--solenv/inc/rules.mk731
-rw-r--r--solenv/inc/sc.mk46
-rw-r--r--solenv/inc/scpre.mk38
-rw-r--r--solenv/inc/settings.mk1473
-rw-r--r--solenv/inc/shlinfo.rc170
-rw-r--r--solenv/inc/startup/AIX/macros.mk2
-rw-r--r--solenv/inc/startup/HPUX/macros.mk2
-rw-r--r--solenv/inc/startup/IRIX/macros.mk2
-rw-r--r--solenv/inc/startup/LINUX/macros.mk2
-rw-r--r--solenv/inc/startup/MACOSX/macros.mk2
-rw-r--r--solenv/inc/startup/NETBSD/macros.mk2
-rw-r--r--solenv/inc/startup/Readme9
-rw-r--r--solenv/inc/startup/SOLARIS/macros.mk2
-rw-r--r--solenv/inc/startup/UNIX/macros.mk38
-rw-r--r--solenv/inc/startup/startup.mk253
-rw-r--r--solenv/inc/startup/summary3
-rw-r--r--solenv/inc/startup/wnt/macros.mk70
-rw-r--r--solenv/inc/starview.hid304
-rw-r--r--solenv/inc/target.mk2744
-rw-r--r--solenv/inc/tg_app.mk194
-rw-r--r--solenv/inc/tg_def.mk508
-rw-r--r--solenv/inc/tg_dep.mk109
-rw-r--r--solenv/inc/tg_jar.mk130
-rw-r--r--solenv/inc/tg_java.mk79
-rw-r--r--solenv/inc/tg_lib.mk112
-rw-r--r--solenv/inc/tg_obj.mk103
-rw-r--r--solenv/inc/tg_res.mk16
-rw-r--r--solenv/inc/tg_rslb.mk151
-rw-r--r--solenv/inc/tg_scp.mk66
-rw-r--r--solenv/inc/tg_sdi.mk76
-rw-r--r--solenv/inc/tg_shl.mk506
-rw-r--r--solenv/inc/tg_slo.mk170
-rw-r--r--solenv/inc/tg_srs.mk209
-rw-r--r--solenv/inc/tg_yxx.mk14
-rw-r--r--solenv/inc/tg_zip.mk96
-rw-r--r--solenv/inc/unitools.mk84
-rw-r--r--solenv/inc/unx.mk127
-rw-r--r--solenv/inc/unxaixp.mk92
-rw-r--r--solenv/inc/unxbsda.mk75
-rw-r--r--solenv/inc/unxbsdi.mk92
-rw-r--r--solenv/inc/unxfbsdi.mk81
-rw-r--r--solenv/inc/unxhpgr.mk104
-rw-r--r--solenv/inc/unxhpxr.mk105
-rw-r--r--solenv/inc/unxirxm.mk134
-rw-r--r--solenv/inc/unxlngp.mk118
-rw-r--r--solenv/inc/unxlnxi.mk148
-rw-r--r--solenv/inc/unxmacxp.mk90
-rw-r--r--solenv/inc/unxscoi.mk107
-rw-r--r--solenv/inc/unxsogs.mk101
-rw-r--r--solenv/inc/verinfo.hrc243
-rw-r--r--solenv/inc/wnt.mk905
67 files changed, 24897 insertions, 0 deletions
diff --git a/solenv/inc/_tg_app.mk b/solenv/inc/_tg_app.mk
new file mode 100644
index 000000000000..83ea779d729e
--- /dev/null
+++ b/solenv/inc/_tg_app.mk
@@ -0,0 +1,1450 @@
+# unroll begin
+
+.IF "$(APP1LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP1LINKTYPE))
+.ENDIF
+
+.IF "$(APP1STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP1STACKN=$(LINKFLAGSTACK)$(APP1STACK)
+.ENDIF
+.ELSE
+APP1STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP1NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP1OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP1DEF=$(APP1DEF)
+.ELSE
+USE_APP1DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP1DEPN=
+USE_APP1DEF=
+.ENDIF
+
+.IF "$(APP1TARGETN)"!=""
+$(APP1TARGETN): $(APP1OBJS) $(APP1LIBS) \
+ $(APP1RES) \
+ $(APP1ICON) $(APP1DEPN) $(USE_APP1DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP1OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP1LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP1STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP1OBJS) `cat /dev/null $(APP1LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP1STDLIBS) $(APP1ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP1LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP1LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP1ICON)" != ""
+ @-+echo 1 ICON $(APP1ICON) >> $(MISC)$/$(APP1LINKRES:b).rc
+.ENDIF
+.IF "$(APP1VERINFO)" != ""
+ @-+echo #include "$(APP1VERINFO)" >> $(MISC)$/$(APP1LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP1LINKRES:b).rc
+.ENDIF # "$(APP1LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP1BASEX) \
+ $(APP1STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP1LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP1RES)) \
+ $(APP1OBJS) \
+ $(APP1LIBS) \
+ $(APP1STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP1TARGET).lnk
+ +-$(RM) $(MISC)\$(APP1TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP1TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP1BASEX) \
+ $(APP1STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP1LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP1RES)) \
+ $(APP1OBJS) \
+ $(APP1LIBS) \
+ $(APP1STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP1TARGET).lst
+ +if exist $(MISC)\$(APP1TARGET).lst type $(MISC)\$(APP1TARGET).lst >> $(MISC)\$(APP1TARGET).lnk
+ $(LINK) @$(MISC)\$(APP1TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP1TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP1STACKN) $(STDOBJ) $(APP1OBJS), $@, $(MISC)\$(APP1TARGET).map, $(APP1LIBS) $(APP1STDLIBS) $(STDLIB), $(APP1DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP1RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP1RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP1TARGET).map
+ @copy $(APP1TARGET).sym $(BIN)\$(APP1TARGET).sym
+ @del $(APP1TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP1TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP2LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP2LINKTYPE))
+.ENDIF
+
+.IF "$(APP2STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP2STACKN=$(LINKFLAGSTACK)$(APP2STACK)
+.ENDIF
+.ELSE
+APP2STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP2NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP2OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP2DEF=$(APP2DEF)
+.ELSE
+USE_APP2DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP2DEPN=
+USE_APP2DEF=
+.ENDIF
+
+.IF "$(APP2TARGETN)"!=""
+$(APP2TARGETN): $(APP2OBJS) $(APP2LIBS) \
+ $(APP2RES) \
+ $(APP2ICON) $(APP2DEPN) $(USE_APP2DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP2OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP2LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP2STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP2OBJS) `cat /dev/null $(APP2LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP2STDLIBS) $(APP2ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP2LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP2LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP2ICON)" != ""
+ @-+echo 1 ICON $(APP2ICON) >> $(MISC)$/$(APP2LINKRES:b).rc
+.ENDIF
+.IF "$(APP2VERINFO)" != ""
+ @-+echo #include "$(APP2VERINFO)" >> $(MISC)$/$(APP2LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP2LINKRES:b).rc
+.ENDIF # "$(APP2LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP2BASEX) \
+ $(APP2STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP2LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP2RES)) \
+ $(APP2OBJS) \
+ $(APP2LIBS) \
+ $(APP2STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP2TARGET).lnk
+ +-$(RM) $(MISC)\$(APP2TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP2TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP2BASEX) \
+ $(APP2STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP2LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP2RES)) \
+ $(APP2OBJS) \
+ $(APP2LIBS) \
+ $(APP2STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP2TARGET).lst
+ +if exist $(MISC)\$(APP2TARGET).lst type $(MISC)\$(APP2TARGET).lst >> $(MISC)\$(APP2TARGET).lnk
+ $(LINK) @$(MISC)\$(APP2TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP2TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP2STACKN) $(STDOBJ) $(APP2OBJS), $@, $(MISC)\$(APP2TARGET).map, $(APP2LIBS) $(APP2STDLIBS) $(STDLIB), $(APP2DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP2RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP2RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP2TARGET).map
+ @copy $(APP2TARGET).sym $(BIN)\$(APP2TARGET).sym
+ @del $(APP2TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP2TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP3LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP3LINKTYPE))
+.ENDIF
+
+.IF "$(APP3STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP3STACKN=$(LINKFLAGSTACK)$(APP3STACK)
+.ENDIF
+.ELSE
+APP3STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP3NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP3OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP3DEF=$(APP3DEF)
+.ELSE
+USE_APP3DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP3DEPN=
+USE_APP3DEF=
+.ENDIF
+
+.IF "$(APP3TARGETN)"!=""
+$(APP3TARGETN): $(APP3OBJS) $(APP3LIBS) \
+ $(APP3RES) \
+ $(APP3ICON) $(APP3DEPN) $(USE_APP3DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP3OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP3LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP3STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP3OBJS) `cat /dev/null $(APP3LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP3STDLIBS) $(APP3ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP3LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP3LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP3ICON)" != ""
+ @-+echo 1 ICON $(APP3ICON) >> $(MISC)$/$(APP3LINKRES:b).rc
+.ENDIF
+.IF "$(APP3VERINFO)" != ""
+ @-+echo #include "$(APP3VERINFO)" >> $(MISC)$/$(APP3LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP3LINKRES:b).rc
+.ENDIF # "$(APP3LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP3BASEX) \
+ $(APP3STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP3LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP3RES)) \
+ $(APP3OBJS) \
+ $(APP3LIBS) \
+ $(APP3STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP3TARGET).lnk
+ +-$(RM) $(MISC)\$(APP3TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP3TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP3BASEX) \
+ $(APP3STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP3LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP3RES)) \
+ $(APP3OBJS) \
+ $(APP3LIBS) \
+ $(APP3STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP3TARGET).lst
+ +if exist $(MISC)\$(APP3TARGET).lst type $(MISC)\$(APP3TARGET).lst >> $(MISC)\$(APP3TARGET).lnk
+ $(LINK) @$(MISC)\$(APP3TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP3TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP3STACKN) $(STDOBJ) $(APP3OBJS), $@, $(MISC)\$(APP3TARGET).map, $(APP3LIBS) $(APP3STDLIBS) $(STDLIB), $(APP3DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP3RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP3RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP3TARGET).map
+ @copy $(APP3TARGET).sym $(BIN)\$(APP3TARGET).sym
+ @del $(APP3TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP3TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP4LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP4LINKTYPE))
+.ENDIF
+
+.IF "$(APP4STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP4STACKN=$(LINKFLAGSTACK)$(APP4STACK)
+.ENDIF
+.ELSE
+APP4STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP4NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP4OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP4DEF=$(APP4DEF)
+.ELSE
+USE_APP4DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP4DEPN=
+USE_APP4DEF=
+.ENDIF
+
+.IF "$(APP4TARGETN)"!=""
+$(APP4TARGETN): $(APP4OBJS) $(APP4LIBS) \
+ $(APP4RES) \
+ $(APP4ICON) $(APP4DEPN) $(USE_APP4DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP4OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP4LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP4STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP4OBJS) `cat /dev/null $(APP4LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP4STDLIBS) $(APP4ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP4LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP4LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP4ICON)" != ""
+ @-+echo 1 ICON $(APP4ICON) >> $(MISC)$/$(APP4LINKRES:b).rc
+.ENDIF
+.IF "$(APP4VERINFO)" != ""
+ @-+echo #include "$(APP4VERINFO)" >> $(MISC)$/$(APP4LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP4LINKRES:b).rc
+.ENDIF # "$(APP4LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP4BASEX) \
+ $(APP4STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP4LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP4RES)) \
+ $(APP4OBJS) \
+ $(APP4LIBS) \
+ $(APP4STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP4TARGET).lnk
+ +-$(RM) $(MISC)\$(APP4TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP4TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP4BASEX) \
+ $(APP4STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP4LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP4RES)) \
+ $(APP4OBJS) \
+ $(APP4LIBS) \
+ $(APP4STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP4TARGET).lst
+ +if exist $(MISC)\$(APP4TARGET).lst type $(MISC)\$(APP4TARGET).lst >> $(MISC)\$(APP4TARGET).lnk
+ $(LINK) @$(MISC)\$(APP4TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP4TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP4STACKN) $(STDOBJ) $(APP4OBJS), $@, $(MISC)\$(APP4TARGET).map, $(APP4LIBS) $(APP4STDLIBS) $(STDLIB), $(APP4DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP4RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP4RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP4TARGET).map
+ @copy $(APP4TARGET).sym $(BIN)\$(APP4TARGET).sym
+ @del $(APP4TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP4TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP5LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP5LINKTYPE))
+.ENDIF
+
+.IF "$(APP5STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP5STACKN=$(LINKFLAGSTACK)$(APP5STACK)
+.ENDIF
+.ELSE
+APP5STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP5NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP5OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP5DEF=$(APP5DEF)
+.ELSE
+USE_APP5DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP5DEPN=
+USE_APP5DEF=
+.ENDIF
+
+.IF "$(APP5TARGETN)"!=""
+$(APP5TARGETN): $(APP5OBJS) $(APP5LIBS) \
+ $(APP5RES) \
+ $(APP5ICON) $(APP5DEPN) $(USE_APP5DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP5OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP5LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP5STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP5OBJS) `cat /dev/null $(APP5LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP5STDLIBS) $(APP5ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP5LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP5LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP5ICON)" != ""
+ @-+echo 1 ICON $(APP5ICON) >> $(MISC)$/$(APP5LINKRES:b).rc
+.ENDIF
+.IF "$(APP5VERINFO)" != ""
+ @-+echo #include "$(APP5VERINFO)" >> $(MISC)$/$(APP5LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP5LINKRES:b).rc
+.ENDIF # "$(APP5LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP5BASEX) \
+ $(APP5STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP5LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP5RES)) \
+ $(APP5OBJS) \
+ $(APP5LIBS) \
+ $(APP5STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP5TARGET).lnk
+ +-$(RM) $(MISC)\$(APP5TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP5TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP5BASEX) \
+ $(APP5STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP5LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP5RES)) \
+ $(APP5OBJS) \
+ $(APP5LIBS) \
+ $(APP5STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP5TARGET).lst
+ +if exist $(MISC)\$(APP5TARGET).lst type $(MISC)\$(APP5TARGET).lst >> $(MISC)\$(APP5TARGET).lnk
+ $(LINK) @$(MISC)\$(APP5TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP5TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP5STACKN) $(STDOBJ) $(APP5OBJS), $@, $(MISC)\$(APP5TARGET).map, $(APP5LIBS) $(APP5STDLIBS) $(STDLIB), $(APP5DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP5RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP5RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP5TARGET).map
+ @copy $(APP5TARGET).sym $(BIN)\$(APP5TARGET).sym
+ @del $(APP5TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP5TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP6LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP6LINKTYPE))
+.ENDIF
+
+.IF "$(APP6STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP6STACKN=$(LINKFLAGSTACK)$(APP6STACK)
+.ENDIF
+.ELSE
+APP6STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP6NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP6OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP6DEF=$(APP6DEF)
+.ELSE
+USE_APP6DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP6DEPN=
+USE_APP6DEF=
+.ENDIF
+
+.IF "$(APP6TARGETN)"!=""
+$(APP6TARGETN): $(APP6OBJS) $(APP6LIBS) \
+ $(APP6RES) \
+ $(APP6ICON) $(APP6DEPN) $(USE_APP6DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP6OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP6LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP6STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP6OBJS) `cat /dev/null $(APP6LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP6STDLIBS) $(APP6ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP6LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP6LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP6ICON)" != ""
+ @-+echo 1 ICON $(APP6ICON) >> $(MISC)$/$(APP6LINKRES:b).rc
+.ENDIF
+.IF "$(APP6VERINFO)" != ""
+ @-+echo #include "$(APP6VERINFO)" >> $(MISC)$/$(APP6LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP6LINKRES:b).rc
+.ENDIF # "$(APP6LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP6BASEX) \
+ $(APP6STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP6LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP6RES)) \
+ $(APP6OBJS) \
+ $(APP6LIBS) \
+ $(APP6STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP6TARGET).lnk
+ +-$(RM) $(MISC)\$(APP6TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP6TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP6BASEX) \
+ $(APP6STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP6LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP6RES)) \
+ $(APP6OBJS) \
+ $(APP6LIBS) \
+ $(APP6STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP6TARGET).lst
+ +if exist $(MISC)\$(APP6TARGET).lst type $(MISC)\$(APP6TARGET).lst >> $(MISC)\$(APP6TARGET).lnk
+ $(LINK) @$(MISC)\$(APP6TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP6TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP6STACKN) $(STDOBJ) $(APP6OBJS), $@, $(MISC)\$(APP6TARGET).map, $(APP6LIBS) $(APP6STDLIBS) $(STDLIB), $(APP6DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP6RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP6RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP6TARGET).map
+ @copy $(APP6TARGET).sym $(BIN)\$(APP6TARGET).sym
+ @del $(APP6TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP6TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP7LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP7LINKTYPE))
+.ENDIF
+
+.IF "$(APP7STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP7STACKN=$(LINKFLAGSTACK)$(APP7STACK)
+.ENDIF
+.ELSE
+APP7STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP7NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP7OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP7DEF=$(APP7DEF)
+.ELSE
+USE_APP7DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP7DEPN=
+USE_APP7DEF=
+.ENDIF
+
+.IF "$(APP7TARGETN)"!=""
+$(APP7TARGETN): $(APP7OBJS) $(APP7LIBS) \
+ $(APP7RES) \
+ $(APP7ICON) $(APP7DEPN) $(USE_APP7DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP7OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP7LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP7STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP7OBJS) `cat /dev/null $(APP7LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP7STDLIBS) $(APP7ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP7LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP7LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP7ICON)" != ""
+ @-+echo 1 ICON $(APP7ICON) >> $(MISC)$/$(APP7LINKRES:b).rc
+.ENDIF
+.IF "$(APP7VERINFO)" != ""
+ @-+echo #include "$(APP7VERINFO)" >> $(MISC)$/$(APP7LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP7LINKRES:b).rc
+.ENDIF # "$(APP7LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP7BASEX) \
+ $(APP7STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP7LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP7RES)) \
+ $(APP7OBJS) \
+ $(APP7LIBS) \
+ $(APP7STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP7TARGET).lnk
+ +-$(RM) $(MISC)\$(APP7TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP7TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP7BASEX) \
+ $(APP7STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP7LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP7RES)) \
+ $(APP7OBJS) \
+ $(APP7LIBS) \
+ $(APP7STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP7TARGET).lst
+ +if exist $(MISC)\$(APP7TARGET).lst type $(MISC)\$(APP7TARGET).lst >> $(MISC)\$(APP7TARGET).lnk
+ $(LINK) @$(MISC)\$(APP7TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP7TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP7STACKN) $(STDOBJ) $(APP7OBJS), $@, $(MISC)\$(APP7TARGET).map, $(APP7LIBS) $(APP7STDLIBS) $(STDLIB), $(APP7DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP7RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP7RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP7TARGET).map
+ @copy $(APP7TARGET).sym $(BIN)\$(APP7TARGET).sym
+ @del $(APP7TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP7TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP8LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP8LINKTYPE))
+.ENDIF
+
+.IF "$(APP8STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP8STACKN=$(LINKFLAGSTACK)$(APP8STACK)
+.ENDIF
+.ELSE
+APP8STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP8NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP8OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP8DEF=$(APP8DEF)
+.ELSE
+USE_APP8DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP8DEPN=
+USE_APP8DEF=
+.ENDIF
+
+.IF "$(APP8TARGETN)"!=""
+$(APP8TARGETN): $(APP8OBJS) $(APP8LIBS) \
+ $(APP8RES) \
+ $(APP8ICON) $(APP8DEPN) $(USE_APP8DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP8OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP8LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP8STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP8OBJS) `cat /dev/null $(APP8LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP8STDLIBS) $(APP8ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP8LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP8LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP8ICON)" != ""
+ @-+echo 1 ICON $(APP8ICON) >> $(MISC)$/$(APP8LINKRES:b).rc
+.ENDIF
+.IF "$(APP8VERINFO)" != ""
+ @-+echo #include "$(APP8VERINFO)" >> $(MISC)$/$(APP8LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP8LINKRES:b).rc
+.ENDIF # "$(APP8LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP8BASEX) \
+ $(APP8STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP8LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP8RES)) \
+ $(APP8OBJS) \
+ $(APP8LIBS) \
+ $(APP8STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP8TARGET).lnk
+ +-$(RM) $(MISC)\$(APP8TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP8TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP8BASEX) \
+ $(APP8STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP8LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP8RES)) \
+ $(APP8OBJS) \
+ $(APP8LIBS) \
+ $(APP8STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP8TARGET).lst
+ +if exist $(MISC)\$(APP8TARGET).lst type $(MISC)\$(APP8TARGET).lst >> $(MISC)\$(APP8TARGET).lnk
+ $(LINK) @$(MISC)\$(APP8TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP8TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP8STACKN) $(STDOBJ) $(APP8OBJS), $@, $(MISC)\$(APP8TARGET).map, $(APP8LIBS) $(APP8STDLIBS) $(STDLIB), $(APP8DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP8RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP8RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP8TARGET).map
+ @copy $(APP8TARGET).sym $(BIN)\$(APP8TARGET).sym
+ @del $(APP8TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP8TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP9LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP9LINKTYPE))
+.ENDIF
+
+.IF "$(APP9STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP9STACKN=$(LINKFLAGSTACK)$(APP9STACK)
+.ENDIF
+.ELSE
+APP9STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP9NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP9OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP9DEF=$(APP9DEF)
+.ELSE
+USE_APP9DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP9DEPN=
+USE_APP9DEF=
+.ENDIF
+
+.IF "$(APP9TARGETN)"!=""
+$(APP9TARGETN): $(APP9OBJS) $(APP9LIBS) \
+ $(APP9RES) \
+ $(APP9ICON) $(APP9DEPN) $(USE_APP9DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP9OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP9LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP9STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP9OBJS) `cat /dev/null $(APP9LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP9STDLIBS) $(APP9ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP9LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP9LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP9ICON)" != ""
+ @-+echo 1 ICON $(APP9ICON) >> $(MISC)$/$(APP9LINKRES:b).rc
+.ENDIF
+.IF "$(APP9VERINFO)" != ""
+ @-+echo #include "$(APP9VERINFO)" >> $(MISC)$/$(APP9LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP9LINKRES:b).rc
+.ENDIF # "$(APP9LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP9BASEX) \
+ $(APP9STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP9LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP9RES)) \
+ $(APP9OBJS) \
+ $(APP9LIBS) \
+ $(APP9STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP9TARGET).lnk
+ +-$(RM) $(MISC)\$(APP9TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP9TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP9BASEX) \
+ $(APP9STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP9LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP9RES)) \
+ $(APP9OBJS) \
+ $(APP9LIBS) \
+ $(APP9STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP9TARGET).lst
+ +if exist $(MISC)\$(APP9TARGET).lst type $(MISC)\$(APP9TARGET).lst >> $(MISC)\$(APP9TARGET).lnk
+ $(LINK) @$(MISC)\$(APP9TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP9TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP9STACKN) $(STDOBJ) $(APP9OBJS), $@, $(MISC)\$(APP9TARGET).map, $(APP9LIBS) $(APP9STDLIBS) $(STDLIB), $(APP9DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP9RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP9RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP9TARGET).map
+ @copy $(APP9TARGET).sym $(BIN)\$(APP9TARGET).sym
+ @del $(APP9TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP9TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(APP10LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP10LINKTYPE))
+.ENDIF
+
+.IF "$(APP10STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP10STACKN=$(LINKFLAGSTACK)$(APP10STACK)
+.ENDIF
+.ELSE
+APP10STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP10NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP10OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP10DEF=$(APP10DEF)
+.ELSE
+USE_APP10DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP10DEPN=
+USE_APP10DEF=
+.ENDIF
+
+.IF "$(APP10TARGETN)"!=""
+$(APP10TARGETN): $(APP10OBJS) $(APP10LIBS) \
+ $(APP10RES) \
+ $(APP10ICON) $(APP10DEPN) $(USE_APP10DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP10OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP10LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP10STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP10OBJS) `cat /dev/null $(APP10LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP10STDLIBS) $(APP10ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP10LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP10LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP10ICON)" != ""
+ @-+echo 1 ICON $(APP10ICON) >> $(MISC)$/$(APP10LINKRES:b).rc
+.ENDIF
+.IF "$(APP10VERINFO)" != ""
+ @-+echo #include "$(APP10VERINFO)" >> $(MISC)$/$(APP10LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP10LINKRES:b).rc
+.ENDIF # "$(APP10LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP10BASEX) \
+ $(APP10STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP10LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP10RES)) \
+ $(APP10OBJS) \
+ $(APP10LIBS) \
+ $(APP10STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP10TARGET).lnk
+ +-$(RM) $(MISC)\$(APP10TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP10TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP10BASEX) \
+ $(APP10STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP10LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP10RES)) \
+ $(APP10OBJS) \
+ $(APP10LIBS) \
+ $(APP10STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP10TARGET).lst
+ +if exist $(MISC)\$(APP10TARGET).lst type $(MISC)\$(APP10TARGET).lst >> $(MISC)\$(APP10TARGET).lnk
+ $(LINK) @$(MISC)\$(APP10TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP10TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP10STACKN) $(STDOBJ) $(APP10OBJS), $@, $(MISC)\$(APP10TARGET).map, $(APP10LIBS) $(APP10STDLIBS) $(STDLIB), $(APP10DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP10RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP10RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP10TARGET).map
+ @copy $(APP10TARGET).sym $(BIN)\$(APP10TARGET).sym
+ @del $(APP10TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP10TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/_tg_def.mk b/solenv/inc/_tg_def.mk
new file mode 100644
index 000000000000..fe514e4361b3
--- /dev/null
+++ b/solenv/inc/_tg_def.mk
@@ -0,0 +1,4500 @@
+# unroll begin
+
+.IF "$(DEF1TARGETN)"!=""
+
+.IF "$(DEFLIB1NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF1DEPN+=$(SLB)$/$(DEFLIB1NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF1TARGETN): \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL1TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB1NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL1TARGET).flt $(SLB)\$(DEFLIB1NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL1TARGET).dll >>$@
+.IF "$(DEFLIB1NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL1TARGET).flt $(SHL1LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF1EXPORT1)"!=""
+ sed -e '/$(DEF1EXPORT1)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT2)"!=""
+ sed -e '/$(DEF1EXPORT2)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT3)"!=""
+ sed -e '/$(DEF1EXPORT3)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT4)"!=""
+ sed -e '/$(DEF1EXPORT4)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT5)"!=""
+ sed -e '/$(DEF1EXPORT5)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT6)"!=""
+ sed -e '/$(DEF1EXPORT6)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT7)"!=""
+ sed -e '/$(DEF1EXPORT7)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT8)"!=""
+ sed -e '/$(DEF1EXPORT8)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT9)"!=""
+ sed -e '/$(DEF1EXPORT9)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT10)"!=""
+ sed -e '/$(DEF1EXPORT10)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT11)"!=""
+ sed -e '/$(DEF1EXPORT11)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT12)"!=""
+ sed -e '/$(DEF1EXPORT12)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT13)"!=""
+ sed -e '/$(DEF1EXPORT13)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT14)"!=""
+ sed -e '/$(DEF1EXPORT14)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT15)"!=""
+ sed -e '/$(DEF1EXPORT15)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT16)"!=""
+ sed -e '/$(DEF1EXPORT16)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT17)"!=""
+ sed -e '/$(DEF1EXPORT17)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT18)"!=""
+ sed -e '/$(DEF1EXPORT18)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT19)"!=""
+ sed -e '/$(DEF1EXPORT19)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+.IF "$(DEF1EXPORT20)"!=""
+ sed -e '/$(DEF1EXPORT20)/d' $@ > $(MISC)\$(SHL1TARGET).tmp
+ copy $(MISC)\$(SHL1TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL1TARGET).tmp del $(MISC)\$(SHL1TARGET).tmp
+.IF "$(DEF1EXPORT1)"!=""
+ @echo $(DEF1EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT2)"!=""
+ @echo $(DEF1EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT3)"!=""
+ @echo $(DEF1EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT4)"!=""
+ @echo $(DEF1EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT5)"!=""
+ @echo $(DEF1EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT6)"!=""
+ @echo $(DEF1EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT7)"!=""
+ @echo $(DEF1EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT8)"!=""
+ @echo $(DEF1EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT9)"!=""
+ @echo $(DEF1EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT10)"!=""
+ @echo $(DEF1EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT11)"!=""
+ @echo $(DEF1EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT12)"!=""
+ @echo $(DEF1EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT13)"!=""
+ @echo $(DEF1EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT14)"!=""
+ @echo $(DEF1EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT15)"!=""
+ @echo $(DEF1EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT16)"!=""
+ @echo $(DEF1EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT17)"!=""
+ @echo $(DEF1EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT18)"!=""
+ @echo $(DEF1EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT19)"!=""
+ @echo $(DEF1EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT20)"!=""
+ @echo $(DEF1EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF1EXPORTFILE)"!=""
+ $(TYPE) $(DEF1EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL1TARGET).map $(TOUCH) shl1.don
+ if exist shl1.don echo FUNCTIONS >>$@
+ if exist shl1.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL1TARGET).map
+ if exist shl1.don (id2name $(SHL1TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl1.don del shl1.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF1TARGETN): \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP1HEAP)"!=""
+ @echo NAME $(APP1TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP1DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP1HEAP) >>$@
+ @echo STACKSIZE $(APP1STACK) >>$@
+.ELSE # "$(APP1HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL1TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF1EXPORT1)"!=""
+ @echo $(DEF1EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT2)"!=""
+ @echo $(DEF1EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT3)"!=""
+ @echo $(DEF1EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT4)"!=""
+ @echo $(DEF1EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT5)"!=""
+ @echo $(DEF1EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT6)"!=""
+ @echo $(DEF1EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT7)"!=""
+ @echo $(DEF1EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT8)"!=""
+ @echo $(DEF1EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT9)"!=""
+ @echo $(DEF1EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT10)"!=""
+ @echo $(DEF1EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT11)"!=""
+ @echo $(DEF1EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT12)"!=""
+ @echo $(DEF1EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT13)"!=""
+ @echo $(DEF1EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT14)"!=""
+ @echo $(DEF1EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT15)"!=""
+ @echo $(DEF1EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT16)"!=""
+ @echo $(DEF1EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT17)"!=""
+ @echo $(DEF1EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT18)"!=""
+ @echo $(DEF1EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT19)"!=""
+ @echo $(DEF1EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT20)"!=""
+ @echo $(DEF1EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF1EXPORTFILE)"!=""
+ $(TYPE) $(DEF1EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB1NAME).lib >>tmp.cpf
+.IF "$(DEFLIB1NAME)"!=""
+.IF "$(DEF1CEXP)"!=""
+ @$(LDUMP) -A $(DEF1CEXP) -E1 -F$(MISC)\$(SHL1TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF1CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL1TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF1CEXP)"!=""
+.ENDIF # "$(DEFLIB1NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB1NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB1NAME).lib >>tmp.cpf
+.IF "$(DEF1CEXP)"!=""
+ $(LDUMP) -A $(DEF1CEXP) -E1 -F$(MISC)\$(SHL1TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF1CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL1TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF1CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL1TARGET).flt $(SLB)\$(DEFLIB1NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB1NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL1TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB1NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL1TARGET).flt $(SHL1LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP1HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP1HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF1TARGETN) : \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF1TARGETN) .PHONY : \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL1TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB1NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL1TARGET).exp $(SLB)\$(DEFLIB1NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF1CEXP)"!=""
+ @$(LDUMP2) -A $(DEF1CEXP) -E 20 -F $(MISC)\$(SHL1TARGET).flt $(SHL1TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL1TARGET).flt $(SHL1TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL1TARGET).flt $(SHL1TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL1TARGET).exp
+.ENDIF # "$(DEFLIB1NAME)"!=""
+.IF "$(DEF1EXPORT1)"!=""
+ @echo $(DEF1EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT2)"!=""
+ @echo $(DEF1EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT3)"!=""
+ @echo $(DEF1EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT4)"!=""
+ @echo $(DEF1EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT5)"!=""
+ @echo $(DEF1EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT6)"!=""
+ @echo $(DEF1EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT7)"!=""
+ @echo $(DEF1EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT8)"!=""
+ @echo $(DEF1EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT9)"!=""
+ @echo $(DEF1EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT10)"!=""
+ @echo $(DEF1EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT11)"!=""
+ @echo $(DEF1EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT12)"!=""
+ @echo $(DEF1EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT13)"!=""
+ @echo $(DEF1EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT14)"!=""
+ @echo $(DEF1EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT15)"!=""
+ @echo $(DEF1EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT16)"!=""
+ @echo $(DEF1EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT17)"!=""
+ @echo $(DEF1EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT18)"!=""
+ @echo $(DEF1EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT19)"!=""
+ @echo $(DEF1EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF1EXPORT20)"!=""
+ @echo $(DEF1EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF1EXPORTFILE)"!=""
+ $(TYPE) $(DEF1EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP1HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF1TARGETN): \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF1TARGETN): \
+ $(DEF1DEPN) \
+ $(DEF1EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF1TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF2TARGETN)"!=""
+
+.IF "$(DEFLIB2NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF2DEPN+=$(SLB)$/$(DEFLIB2NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF2TARGETN): \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL2TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB2NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL2TARGET).flt $(SLB)\$(DEFLIB2NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF2DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL2TARGET).dll >>$@
+.IF "$(DEFLIB2NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL2TARGET).flt $(SHL2LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF2EXPORT1)"!=""
+ sed -e '/$(DEF2EXPORT1)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT2)"!=""
+ sed -e '/$(DEF2EXPORT2)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT3)"!=""
+ sed -e '/$(DEF2EXPORT3)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT4)"!=""
+ sed -e '/$(DEF2EXPORT4)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT5)"!=""
+ sed -e '/$(DEF2EXPORT5)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT6)"!=""
+ sed -e '/$(DEF2EXPORT6)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT7)"!=""
+ sed -e '/$(DEF2EXPORT7)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT8)"!=""
+ sed -e '/$(DEF2EXPORT8)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT9)"!=""
+ sed -e '/$(DEF2EXPORT9)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT10)"!=""
+ sed -e '/$(DEF2EXPORT10)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT11)"!=""
+ sed -e '/$(DEF2EXPORT11)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT12)"!=""
+ sed -e '/$(DEF2EXPORT12)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT13)"!=""
+ sed -e '/$(DEF2EXPORT13)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT14)"!=""
+ sed -e '/$(DEF2EXPORT14)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT15)"!=""
+ sed -e '/$(DEF2EXPORT15)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT16)"!=""
+ sed -e '/$(DEF2EXPORT16)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT17)"!=""
+ sed -e '/$(DEF2EXPORT17)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT18)"!=""
+ sed -e '/$(DEF2EXPORT18)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT19)"!=""
+ sed -e '/$(DEF2EXPORT19)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+.IF "$(DEF2EXPORT20)"!=""
+ sed -e '/$(DEF2EXPORT20)/d' $@ > $(MISC)\$(SHL2TARGET).tmp
+ copy $(MISC)\$(SHL2TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL2TARGET).tmp del $(MISC)\$(SHL2TARGET).tmp
+.IF "$(DEF2EXPORT1)"!=""
+ @echo $(DEF2EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT2)"!=""
+ @echo $(DEF2EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT3)"!=""
+ @echo $(DEF2EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT4)"!=""
+ @echo $(DEF2EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT5)"!=""
+ @echo $(DEF2EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT6)"!=""
+ @echo $(DEF2EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT7)"!=""
+ @echo $(DEF2EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT8)"!=""
+ @echo $(DEF2EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT9)"!=""
+ @echo $(DEF2EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT10)"!=""
+ @echo $(DEF2EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT11)"!=""
+ @echo $(DEF2EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT12)"!=""
+ @echo $(DEF2EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT13)"!=""
+ @echo $(DEF2EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT14)"!=""
+ @echo $(DEF2EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT15)"!=""
+ @echo $(DEF2EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT16)"!=""
+ @echo $(DEF2EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT17)"!=""
+ @echo $(DEF2EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT18)"!=""
+ @echo $(DEF2EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT19)"!=""
+ @echo $(DEF2EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT20)"!=""
+ @echo $(DEF2EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF2EXPORTFILE)"!=""
+ $(TYPE) $(DEF2EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL2TARGET).map $(TOUCH) shl2.don
+ if exist shl2.don echo FUNCTIONS >>$@
+ if exist shl2.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL2TARGET).map
+ if exist shl2.don (id2name $(SHL2TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl2.don del shl2.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF2TARGETN): \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP2HEAP)"!=""
+ @echo NAME $(APP2TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP2DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP2HEAP) >>$@
+ @echo STACKSIZE $(APP2STACK) >>$@
+.ELSE # "$(APP2HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL2TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF2DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF2EXPORT1)"!=""
+ @echo $(DEF2EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT2)"!=""
+ @echo $(DEF2EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT3)"!=""
+ @echo $(DEF2EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT4)"!=""
+ @echo $(DEF2EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT5)"!=""
+ @echo $(DEF2EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT6)"!=""
+ @echo $(DEF2EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT7)"!=""
+ @echo $(DEF2EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT8)"!=""
+ @echo $(DEF2EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT9)"!=""
+ @echo $(DEF2EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT10)"!=""
+ @echo $(DEF2EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT11)"!=""
+ @echo $(DEF2EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT12)"!=""
+ @echo $(DEF2EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT13)"!=""
+ @echo $(DEF2EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT14)"!=""
+ @echo $(DEF2EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT15)"!=""
+ @echo $(DEF2EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT16)"!=""
+ @echo $(DEF2EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT17)"!=""
+ @echo $(DEF2EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT18)"!=""
+ @echo $(DEF2EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT19)"!=""
+ @echo $(DEF2EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT20)"!=""
+ @echo $(DEF2EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF2EXPORTFILE)"!=""
+ $(TYPE) $(DEF2EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB2NAME).lib >>tmp.cpf
+.IF "$(DEFLIB2NAME)"!=""
+.IF "$(DEF2CEXP)"!=""
+ @$(LDUMP) -A $(DEF2CEXP) -E1 -F$(MISC)\$(SHL2TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF2CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL2TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF2CEXP)"!=""
+.ENDIF # "$(DEFLIB2NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB2NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB2NAME).lib >>tmp.cpf
+.IF "$(DEF2CEXP)"!=""
+ $(LDUMP) -A $(DEF2CEXP) -E1 -F$(MISC)\$(SHL2TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF2CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL2TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF2CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL2TARGET).flt $(SLB)\$(DEFLIB2NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB2NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF2DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL2TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB2NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL2TARGET).flt $(SHL2LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP2HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP2HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF2TARGETN) : \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF2TARGETN) .PHONY : \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL2TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF2DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB2NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL2TARGET).exp $(SLB)\$(DEFLIB2NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF2CEXP)"!=""
+ @$(LDUMP2) -A $(DEF2CEXP) -E 20 -F $(MISC)\$(SHL2TARGET).flt $(SHL2TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL2TARGET).flt $(SHL2TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL2TARGET).flt $(SHL2TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL2TARGET).exp
+.ENDIF # "$(DEFLIB2NAME)"!=""
+.IF "$(DEF2EXPORT1)"!=""
+ @echo $(DEF2EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT2)"!=""
+ @echo $(DEF2EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT3)"!=""
+ @echo $(DEF2EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT4)"!=""
+ @echo $(DEF2EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT5)"!=""
+ @echo $(DEF2EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT6)"!=""
+ @echo $(DEF2EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT7)"!=""
+ @echo $(DEF2EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT8)"!=""
+ @echo $(DEF2EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT9)"!=""
+ @echo $(DEF2EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT10)"!=""
+ @echo $(DEF2EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT11)"!=""
+ @echo $(DEF2EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT12)"!=""
+ @echo $(DEF2EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT13)"!=""
+ @echo $(DEF2EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT14)"!=""
+ @echo $(DEF2EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT15)"!=""
+ @echo $(DEF2EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT16)"!=""
+ @echo $(DEF2EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT17)"!=""
+ @echo $(DEF2EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT18)"!=""
+ @echo $(DEF2EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT19)"!=""
+ @echo $(DEF2EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF2EXPORT20)"!=""
+ @echo $(DEF2EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF2EXPORTFILE)"!=""
+ $(TYPE) $(DEF2EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP2HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF2TARGETN): \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF2TARGETN): \
+ $(DEF2DEPN) \
+ $(DEF2EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF2TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF3TARGETN)"!=""
+
+.IF "$(DEFLIB3NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF3DEPN+=$(SLB)$/$(DEFLIB3NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF3TARGETN): \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL3TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB3NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL3TARGET).flt $(SLB)\$(DEFLIB3NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF3DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL3TARGET).dll >>$@
+.IF "$(DEFLIB3NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL3TARGET).flt $(SHL3LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF3EXPORT1)"!=""
+ sed -e '/$(DEF3EXPORT1)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT2)"!=""
+ sed -e '/$(DEF3EXPORT2)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT3)"!=""
+ sed -e '/$(DEF3EXPORT3)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT4)"!=""
+ sed -e '/$(DEF3EXPORT4)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT5)"!=""
+ sed -e '/$(DEF3EXPORT5)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT6)"!=""
+ sed -e '/$(DEF3EXPORT6)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT7)"!=""
+ sed -e '/$(DEF3EXPORT7)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT8)"!=""
+ sed -e '/$(DEF3EXPORT8)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT9)"!=""
+ sed -e '/$(DEF3EXPORT9)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT10)"!=""
+ sed -e '/$(DEF3EXPORT10)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT11)"!=""
+ sed -e '/$(DEF3EXPORT11)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT12)"!=""
+ sed -e '/$(DEF3EXPORT12)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT13)"!=""
+ sed -e '/$(DEF3EXPORT13)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT14)"!=""
+ sed -e '/$(DEF3EXPORT14)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT15)"!=""
+ sed -e '/$(DEF3EXPORT15)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT16)"!=""
+ sed -e '/$(DEF3EXPORT16)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT17)"!=""
+ sed -e '/$(DEF3EXPORT17)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT18)"!=""
+ sed -e '/$(DEF3EXPORT18)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT19)"!=""
+ sed -e '/$(DEF3EXPORT19)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+.IF "$(DEF3EXPORT20)"!=""
+ sed -e '/$(DEF3EXPORT20)/d' $@ > $(MISC)\$(SHL3TARGET).tmp
+ copy $(MISC)\$(SHL3TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL3TARGET).tmp del $(MISC)\$(SHL3TARGET).tmp
+.IF "$(DEF3EXPORT1)"!=""
+ @echo $(DEF3EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT2)"!=""
+ @echo $(DEF3EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT3)"!=""
+ @echo $(DEF3EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT4)"!=""
+ @echo $(DEF3EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT5)"!=""
+ @echo $(DEF3EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT6)"!=""
+ @echo $(DEF3EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT7)"!=""
+ @echo $(DEF3EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT8)"!=""
+ @echo $(DEF3EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT9)"!=""
+ @echo $(DEF3EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT10)"!=""
+ @echo $(DEF3EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT11)"!=""
+ @echo $(DEF3EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT12)"!=""
+ @echo $(DEF3EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT13)"!=""
+ @echo $(DEF3EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT14)"!=""
+ @echo $(DEF3EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT15)"!=""
+ @echo $(DEF3EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT16)"!=""
+ @echo $(DEF3EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT17)"!=""
+ @echo $(DEF3EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT18)"!=""
+ @echo $(DEF3EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT19)"!=""
+ @echo $(DEF3EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT20)"!=""
+ @echo $(DEF3EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF3EXPORTFILE)"!=""
+ $(TYPE) $(DEF3EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL3TARGET).map $(TOUCH) shl3.don
+ if exist shl3.don echo FUNCTIONS >>$@
+ if exist shl3.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL3TARGET).map
+ if exist shl3.don (id2name $(SHL3TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl3.don del shl3.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF3TARGETN): \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP3HEAP)"!=""
+ @echo NAME $(APP3TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP3DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP3HEAP) >>$@
+ @echo STACKSIZE $(APP3STACK) >>$@
+.ELSE # "$(APP3HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL3TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF3DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF3EXPORT1)"!=""
+ @echo $(DEF3EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT2)"!=""
+ @echo $(DEF3EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT3)"!=""
+ @echo $(DEF3EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT4)"!=""
+ @echo $(DEF3EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT5)"!=""
+ @echo $(DEF3EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT6)"!=""
+ @echo $(DEF3EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT7)"!=""
+ @echo $(DEF3EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT8)"!=""
+ @echo $(DEF3EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT9)"!=""
+ @echo $(DEF3EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT10)"!=""
+ @echo $(DEF3EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT11)"!=""
+ @echo $(DEF3EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT12)"!=""
+ @echo $(DEF3EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT13)"!=""
+ @echo $(DEF3EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT14)"!=""
+ @echo $(DEF3EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT15)"!=""
+ @echo $(DEF3EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT16)"!=""
+ @echo $(DEF3EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT17)"!=""
+ @echo $(DEF3EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT18)"!=""
+ @echo $(DEF3EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT19)"!=""
+ @echo $(DEF3EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT20)"!=""
+ @echo $(DEF3EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF3EXPORTFILE)"!=""
+ $(TYPE) $(DEF3EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB3NAME).lib >>tmp.cpf
+.IF "$(DEFLIB3NAME)"!=""
+.IF "$(DEF3CEXP)"!=""
+ @$(LDUMP) -A $(DEF3CEXP) -E1 -F$(MISC)\$(SHL3TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF3CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL3TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF3CEXP)"!=""
+.ENDIF # "$(DEFLIB3NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB3NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB3NAME).lib >>tmp.cpf
+.IF "$(DEF3CEXP)"!=""
+ $(LDUMP) -A $(DEF3CEXP) -E1 -F$(MISC)\$(SHL3TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF3CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL3TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF3CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL3TARGET).flt $(SLB)\$(DEFLIB3NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB3NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF3DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL3TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB3NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL3TARGET).flt $(SHL3LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP3HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP3HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF3TARGETN) : \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF3TARGETN) .PHONY : \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL3TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF3DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB3NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL3TARGET).exp $(SLB)\$(DEFLIB3NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF3CEXP)"!=""
+ @$(LDUMP2) -A $(DEF3CEXP) -E 20 -F $(MISC)\$(SHL3TARGET).flt $(SHL3TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL3TARGET).flt $(SHL3TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL3TARGET).flt $(SHL3TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL3TARGET).exp
+.ENDIF # "$(DEFLIB3NAME)"!=""
+.IF "$(DEF3EXPORT1)"!=""
+ @echo $(DEF3EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT2)"!=""
+ @echo $(DEF3EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT3)"!=""
+ @echo $(DEF3EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT4)"!=""
+ @echo $(DEF3EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT5)"!=""
+ @echo $(DEF3EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT6)"!=""
+ @echo $(DEF3EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT7)"!=""
+ @echo $(DEF3EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT8)"!=""
+ @echo $(DEF3EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT9)"!=""
+ @echo $(DEF3EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT10)"!=""
+ @echo $(DEF3EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT11)"!=""
+ @echo $(DEF3EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT12)"!=""
+ @echo $(DEF3EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT13)"!=""
+ @echo $(DEF3EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT14)"!=""
+ @echo $(DEF3EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT15)"!=""
+ @echo $(DEF3EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT16)"!=""
+ @echo $(DEF3EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT17)"!=""
+ @echo $(DEF3EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT18)"!=""
+ @echo $(DEF3EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT19)"!=""
+ @echo $(DEF3EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF3EXPORT20)"!=""
+ @echo $(DEF3EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF3EXPORTFILE)"!=""
+ $(TYPE) $(DEF3EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP3HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF3TARGETN): \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF3TARGETN): \
+ $(DEF3DEPN) \
+ $(DEF3EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF3TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF4TARGETN)"!=""
+
+.IF "$(DEFLIB4NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF4DEPN+=$(SLB)$/$(DEFLIB4NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF4TARGETN): \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL4TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB4NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL4TARGET).flt $(SLB)\$(DEFLIB4NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF4DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL4TARGET).dll >>$@
+.IF "$(DEFLIB4NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL4TARGET).flt $(SHL4LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF4EXPORT1)"!=""
+ sed -e '/$(DEF4EXPORT1)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT2)"!=""
+ sed -e '/$(DEF4EXPORT2)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT3)"!=""
+ sed -e '/$(DEF4EXPORT3)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT4)"!=""
+ sed -e '/$(DEF4EXPORT4)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT5)"!=""
+ sed -e '/$(DEF4EXPORT5)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT6)"!=""
+ sed -e '/$(DEF4EXPORT6)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT7)"!=""
+ sed -e '/$(DEF4EXPORT7)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT8)"!=""
+ sed -e '/$(DEF4EXPORT8)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT9)"!=""
+ sed -e '/$(DEF4EXPORT9)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT10)"!=""
+ sed -e '/$(DEF4EXPORT10)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT11)"!=""
+ sed -e '/$(DEF4EXPORT11)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT12)"!=""
+ sed -e '/$(DEF4EXPORT12)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT13)"!=""
+ sed -e '/$(DEF4EXPORT13)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT14)"!=""
+ sed -e '/$(DEF4EXPORT14)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT15)"!=""
+ sed -e '/$(DEF4EXPORT15)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT16)"!=""
+ sed -e '/$(DEF4EXPORT16)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT17)"!=""
+ sed -e '/$(DEF4EXPORT17)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT18)"!=""
+ sed -e '/$(DEF4EXPORT18)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT19)"!=""
+ sed -e '/$(DEF4EXPORT19)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+.IF "$(DEF4EXPORT20)"!=""
+ sed -e '/$(DEF4EXPORT20)/d' $@ > $(MISC)\$(SHL4TARGET).tmp
+ copy $(MISC)\$(SHL4TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL4TARGET).tmp del $(MISC)\$(SHL4TARGET).tmp
+.IF "$(DEF4EXPORT1)"!=""
+ @echo $(DEF4EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT2)"!=""
+ @echo $(DEF4EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT3)"!=""
+ @echo $(DEF4EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT4)"!=""
+ @echo $(DEF4EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT5)"!=""
+ @echo $(DEF4EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT6)"!=""
+ @echo $(DEF4EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT7)"!=""
+ @echo $(DEF4EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT8)"!=""
+ @echo $(DEF4EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT9)"!=""
+ @echo $(DEF4EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT10)"!=""
+ @echo $(DEF4EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT11)"!=""
+ @echo $(DEF4EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT12)"!=""
+ @echo $(DEF4EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT13)"!=""
+ @echo $(DEF4EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT14)"!=""
+ @echo $(DEF4EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT15)"!=""
+ @echo $(DEF4EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT16)"!=""
+ @echo $(DEF4EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT17)"!=""
+ @echo $(DEF4EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT18)"!=""
+ @echo $(DEF4EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT19)"!=""
+ @echo $(DEF4EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT20)"!=""
+ @echo $(DEF4EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF4EXPORTFILE)"!=""
+ $(TYPE) $(DEF4EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL4TARGET).map $(TOUCH) shl4.don
+ if exist shl4.don echo FUNCTIONS >>$@
+ if exist shl4.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL4TARGET).map
+ if exist shl4.don (id2name $(SHL4TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl4.don del shl4.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF4TARGETN): \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP4HEAP)"!=""
+ @echo NAME $(APP4TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP4DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP4HEAP) >>$@
+ @echo STACKSIZE $(APP4STACK) >>$@
+.ELSE # "$(APP4HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL4TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF4DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF4EXPORT1)"!=""
+ @echo $(DEF4EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT2)"!=""
+ @echo $(DEF4EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT3)"!=""
+ @echo $(DEF4EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT4)"!=""
+ @echo $(DEF4EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT5)"!=""
+ @echo $(DEF4EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT6)"!=""
+ @echo $(DEF4EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT7)"!=""
+ @echo $(DEF4EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT8)"!=""
+ @echo $(DEF4EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT9)"!=""
+ @echo $(DEF4EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT10)"!=""
+ @echo $(DEF4EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT11)"!=""
+ @echo $(DEF4EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT12)"!=""
+ @echo $(DEF4EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT13)"!=""
+ @echo $(DEF4EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT14)"!=""
+ @echo $(DEF4EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT15)"!=""
+ @echo $(DEF4EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT16)"!=""
+ @echo $(DEF4EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT17)"!=""
+ @echo $(DEF4EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT18)"!=""
+ @echo $(DEF4EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT19)"!=""
+ @echo $(DEF4EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT20)"!=""
+ @echo $(DEF4EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF4EXPORTFILE)"!=""
+ $(TYPE) $(DEF4EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB4NAME).lib >>tmp.cpf
+.IF "$(DEFLIB4NAME)"!=""
+.IF "$(DEF4CEXP)"!=""
+ @$(LDUMP) -A $(DEF4CEXP) -E1 -F$(MISC)\$(SHL4TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF4CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL4TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF4CEXP)"!=""
+.ENDIF # "$(DEFLIB4NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB4NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB4NAME).lib >>tmp.cpf
+.IF "$(DEF4CEXP)"!=""
+ $(LDUMP) -A $(DEF4CEXP) -E1 -F$(MISC)\$(SHL4TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF4CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL4TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF4CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL4TARGET).flt $(SLB)\$(DEFLIB4NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB4NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF4DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL4TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB4NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL4TARGET).flt $(SHL4LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP4HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP4HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF4TARGETN) : \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF4TARGETN) .PHONY : \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL4TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF4DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB4NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL4TARGET).exp $(SLB)\$(DEFLIB4NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF4CEXP)"!=""
+ @$(LDUMP2) -A $(DEF4CEXP) -E 20 -F $(MISC)\$(SHL4TARGET).flt $(SHL4TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL4TARGET).flt $(SHL4TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL4TARGET).flt $(SHL4TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL4TARGET).exp
+.ENDIF # "$(DEFLIB4NAME)"!=""
+.IF "$(DEF4EXPORT1)"!=""
+ @echo $(DEF4EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT2)"!=""
+ @echo $(DEF4EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT3)"!=""
+ @echo $(DEF4EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT4)"!=""
+ @echo $(DEF4EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT5)"!=""
+ @echo $(DEF4EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT6)"!=""
+ @echo $(DEF4EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT7)"!=""
+ @echo $(DEF4EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT8)"!=""
+ @echo $(DEF4EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT9)"!=""
+ @echo $(DEF4EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT10)"!=""
+ @echo $(DEF4EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT11)"!=""
+ @echo $(DEF4EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT12)"!=""
+ @echo $(DEF4EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT13)"!=""
+ @echo $(DEF4EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT14)"!=""
+ @echo $(DEF4EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT15)"!=""
+ @echo $(DEF4EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT16)"!=""
+ @echo $(DEF4EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT17)"!=""
+ @echo $(DEF4EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT18)"!=""
+ @echo $(DEF4EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT19)"!=""
+ @echo $(DEF4EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF4EXPORT20)"!=""
+ @echo $(DEF4EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF4EXPORTFILE)"!=""
+ $(TYPE) $(DEF4EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP4HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF4TARGETN): \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF4TARGETN): \
+ $(DEF4DEPN) \
+ $(DEF4EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF4TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF5TARGETN)"!=""
+
+.IF "$(DEFLIB5NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF5DEPN+=$(SLB)$/$(DEFLIB5NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF5TARGETN): \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL5TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB5NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL5TARGET).flt $(SLB)\$(DEFLIB5NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF5DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL5TARGET).dll >>$@
+.IF "$(DEFLIB5NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL5TARGET).flt $(SHL5LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF5EXPORT1)"!=""
+ sed -e '/$(DEF5EXPORT1)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT2)"!=""
+ sed -e '/$(DEF5EXPORT2)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT3)"!=""
+ sed -e '/$(DEF5EXPORT3)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT4)"!=""
+ sed -e '/$(DEF5EXPORT4)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT5)"!=""
+ sed -e '/$(DEF5EXPORT5)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT6)"!=""
+ sed -e '/$(DEF5EXPORT6)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT7)"!=""
+ sed -e '/$(DEF5EXPORT7)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT8)"!=""
+ sed -e '/$(DEF5EXPORT8)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT9)"!=""
+ sed -e '/$(DEF5EXPORT9)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT10)"!=""
+ sed -e '/$(DEF5EXPORT10)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT11)"!=""
+ sed -e '/$(DEF5EXPORT11)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT12)"!=""
+ sed -e '/$(DEF5EXPORT12)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT13)"!=""
+ sed -e '/$(DEF5EXPORT13)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT14)"!=""
+ sed -e '/$(DEF5EXPORT14)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT15)"!=""
+ sed -e '/$(DEF5EXPORT15)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT16)"!=""
+ sed -e '/$(DEF5EXPORT16)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT17)"!=""
+ sed -e '/$(DEF5EXPORT17)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT18)"!=""
+ sed -e '/$(DEF5EXPORT18)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT19)"!=""
+ sed -e '/$(DEF5EXPORT19)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+.IF "$(DEF5EXPORT20)"!=""
+ sed -e '/$(DEF5EXPORT20)/d' $@ > $(MISC)\$(SHL5TARGET).tmp
+ copy $(MISC)\$(SHL5TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL5TARGET).tmp del $(MISC)\$(SHL5TARGET).tmp
+.IF "$(DEF5EXPORT1)"!=""
+ @echo $(DEF5EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT2)"!=""
+ @echo $(DEF5EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT3)"!=""
+ @echo $(DEF5EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT4)"!=""
+ @echo $(DEF5EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT5)"!=""
+ @echo $(DEF5EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT6)"!=""
+ @echo $(DEF5EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT7)"!=""
+ @echo $(DEF5EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT8)"!=""
+ @echo $(DEF5EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT9)"!=""
+ @echo $(DEF5EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT10)"!=""
+ @echo $(DEF5EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT11)"!=""
+ @echo $(DEF5EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT12)"!=""
+ @echo $(DEF5EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT13)"!=""
+ @echo $(DEF5EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT14)"!=""
+ @echo $(DEF5EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT15)"!=""
+ @echo $(DEF5EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT16)"!=""
+ @echo $(DEF5EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT17)"!=""
+ @echo $(DEF5EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT18)"!=""
+ @echo $(DEF5EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT19)"!=""
+ @echo $(DEF5EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT20)"!=""
+ @echo $(DEF5EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF5EXPORTFILE)"!=""
+ $(TYPE) $(DEF5EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL5TARGET).map $(TOUCH) shl5.don
+ if exist shl5.don echo FUNCTIONS >>$@
+ if exist shl5.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL5TARGET).map
+ if exist shl5.don (id2name $(SHL5TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl5.don del shl5.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF5TARGETN): \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP5HEAP)"!=""
+ @echo NAME $(APP5TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP5DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP5HEAP) >>$@
+ @echo STACKSIZE $(APP5STACK) >>$@
+.ELSE # "$(APP5HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL5TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF5DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF5EXPORT1)"!=""
+ @echo $(DEF5EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT2)"!=""
+ @echo $(DEF5EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT3)"!=""
+ @echo $(DEF5EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT4)"!=""
+ @echo $(DEF5EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT5)"!=""
+ @echo $(DEF5EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT6)"!=""
+ @echo $(DEF5EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT7)"!=""
+ @echo $(DEF5EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT8)"!=""
+ @echo $(DEF5EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT9)"!=""
+ @echo $(DEF5EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT10)"!=""
+ @echo $(DEF5EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT11)"!=""
+ @echo $(DEF5EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT12)"!=""
+ @echo $(DEF5EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT13)"!=""
+ @echo $(DEF5EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT14)"!=""
+ @echo $(DEF5EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT15)"!=""
+ @echo $(DEF5EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT16)"!=""
+ @echo $(DEF5EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT17)"!=""
+ @echo $(DEF5EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT18)"!=""
+ @echo $(DEF5EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT19)"!=""
+ @echo $(DEF5EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT20)"!=""
+ @echo $(DEF5EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF5EXPORTFILE)"!=""
+ $(TYPE) $(DEF5EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB5NAME).lib >>tmp.cpf
+.IF "$(DEFLIB5NAME)"!=""
+.IF "$(DEF5CEXP)"!=""
+ @$(LDUMP) -A $(DEF5CEXP) -E1 -F$(MISC)\$(SHL5TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF5CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL5TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF5CEXP)"!=""
+.ENDIF # "$(DEFLIB5NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB5NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB5NAME).lib >>tmp.cpf
+.IF "$(DEF5CEXP)"!=""
+ $(LDUMP) -A $(DEF5CEXP) -E1 -F$(MISC)\$(SHL5TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF5CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL5TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF5CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL5TARGET).flt $(SLB)\$(DEFLIB5NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB5NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF5DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL5TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB5NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL5TARGET).flt $(SHL5LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP5HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP5HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF5TARGETN) : \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF5TARGETN) .PHONY : \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL5TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF5DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB5NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL5TARGET).exp $(SLB)\$(DEFLIB5NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF5CEXP)"!=""
+ @$(LDUMP2) -A $(DEF5CEXP) -E 20 -F $(MISC)\$(SHL5TARGET).flt $(SHL5TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL5TARGET).flt $(SHL5TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL5TARGET).flt $(SHL5TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL5TARGET).exp
+.ENDIF # "$(DEFLIB5NAME)"!=""
+.IF "$(DEF5EXPORT1)"!=""
+ @echo $(DEF5EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT2)"!=""
+ @echo $(DEF5EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT3)"!=""
+ @echo $(DEF5EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT4)"!=""
+ @echo $(DEF5EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT5)"!=""
+ @echo $(DEF5EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT6)"!=""
+ @echo $(DEF5EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT7)"!=""
+ @echo $(DEF5EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT8)"!=""
+ @echo $(DEF5EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT9)"!=""
+ @echo $(DEF5EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT10)"!=""
+ @echo $(DEF5EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT11)"!=""
+ @echo $(DEF5EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT12)"!=""
+ @echo $(DEF5EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT13)"!=""
+ @echo $(DEF5EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT14)"!=""
+ @echo $(DEF5EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT15)"!=""
+ @echo $(DEF5EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT16)"!=""
+ @echo $(DEF5EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT17)"!=""
+ @echo $(DEF5EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT18)"!=""
+ @echo $(DEF5EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT19)"!=""
+ @echo $(DEF5EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF5EXPORT20)"!=""
+ @echo $(DEF5EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF5EXPORTFILE)"!=""
+ $(TYPE) $(DEF5EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP5HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF5TARGETN): \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF5TARGETN): \
+ $(DEF5DEPN) \
+ $(DEF5EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF5TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF6TARGETN)"!=""
+
+.IF "$(DEFLIB6NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF6DEPN+=$(SLB)$/$(DEFLIB6NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF6TARGETN): \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL6TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB6NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL6TARGET).flt $(SLB)\$(DEFLIB6NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF6DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL6TARGET).dll >>$@
+.IF "$(DEFLIB6NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL6TARGET).flt $(SHL6LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF6EXPORT1)"!=""
+ sed -e '/$(DEF6EXPORT1)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT2)"!=""
+ sed -e '/$(DEF6EXPORT2)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT3)"!=""
+ sed -e '/$(DEF6EXPORT3)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT4)"!=""
+ sed -e '/$(DEF6EXPORT4)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT5)"!=""
+ sed -e '/$(DEF6EXPORT5)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT6)"!=""
+ sed -e '/$(DEF6EXPORT6)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT7)"!=""
+ sed -e '/$(DEF6EXPORT7)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT8)"!=""
+ sed -e '/$(DEF6EXPORT8)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT9)"!=""
+ sed -e '/$(DEF6EXPORT9)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT10)"!=""
+ sed -e '/$(DEF6EXPORT10)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT11)"!=""
+ sed -e '/$(DEF6EXPORT11)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT12)"!=""
+ sed -e '/$(DEF6EXPORT12)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT13)"!=""
+ sed -e '/$(DEF6EXPORT13)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT14)"!=""
+ sed -e '/$(DEF6EXPORT14)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT15)"!=""
+ sed -e '/$(DEF6EXPORT15)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT16)"!=""
+ sed -e '/$(DEF6EXPORT16)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT17)"!=""
+ sed -e '/$(DEF6EXPORT17)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT18)"!=""
+ sed -e '/$(DEF6EXPORT18)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT19)"!=""
+ sed -e '/$(DEF6EXPORT19)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+.IF "$(DEF6EXPORT20)"!=""
+ sed -e '/$(DEF6EXPORT20)/d' $@ > $(MISC)\$(SHL6TARGET).tmp
+ copy $(MISC)\$(SHL6TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL6TARGET).tmp del $(MISC)\$(SHL6TARGET).tmp
+.IF "$(DEF6EXPORT1)"!=""
+ @echo $(DEF6EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT2)"!=""
+ @echo $(DEF6EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT3)"!=""
+ @echo $(DEF6EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT4)"!=""
+ @echo $(DEF6EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT5)"!=""
+ @echo $(DEF6EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT6)"!=""
+ @echo $(DEF6EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT7)"!=""
+ @echo $(DEF6EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT8)"!=""
+ @echo $(DEF6EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT9)"!=""
+ @echo $(DEF6EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT10)"!=""
+ @echo $(DEF6EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT11)"!=""
+ @echo $(DEF6EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT12)"!=""
+ @echo $(DEF6EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT13)"!=""
+ @echo $(DEF6EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT14)"!=""
+ @echo $(DEF6EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT15)"!=""
+ @echo $(DEF6EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT16)"!=""
+ @echo $(DEF6EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT17)"!=""
+ @echo $(DEF6EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT18)"!=""
+ @echo $(DEF6EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT19)"!=""
+ @echo $(DEF6EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT20)"!=""
+ @echo $(DEF6EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF6EXPORTFILE)"!=""
+ $(TYPE) $(DEF6EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL6TARGET).map $(TOUCH) shl6.don
+ if exist shl6.don echo FUNCTIONS >>$@
+ if exist shl6.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL6TARGET).map
+ if exist shl6.don (id2name $(SHL6TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl6.don del shl6.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF6TARGETN): \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP6HEAP)"!=""
+ @echo NAME $(APP6TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP6DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP6HEAP) >>$@
+ @echo STACKSIZE $(APP6STACK) >>$@
+.ELSE # "$(APP6HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL6TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF6DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF6EXPORT1)"!=""
+ @echo $(DEF6EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT2)"!=""
+ @echo $(DEF6EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT3)"!=""
+ @echo $(DEF6EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT4)"!=""
+ @echo $(DEF6EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT5)"!=""
+ @echo $(DEF6EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT6)"!=""
+ @echo $(DEF6EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT7)"!=""
+ @echo $(DEF6EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT8)"!=""
+ @echo $(DEF6EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT9)"!=""
+ @echo $(DEF6EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT10)"!=""
+ @echo $(DEF6EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT11)"!=""
+ @echo $(DEF6EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT12)"!=""
+ @echo $(DEF6EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT13)"!=""
+ @echo $(DEF6EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT14)"!=""
+ @echo $(DEF6EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT15)"!=""
+ @echo $(DEF6EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT16)"!=""
+ @echo $(DEF6EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT17)"!=""
+ @echo $(DEF6EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT18)"!=""
+ @echo $(DEF6EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT19)"!=""
+ @echo $(DEF6EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT20)"!=""
+ @echo $(DEF6EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF6EXPORTFILE)"!=""
+ $(TYPE) $(DEF6EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB6NAME).lib >>tmp.cpf
+.IF "$(DEFLIB6NAME)"!=""
+.IF "$(DEF6CEXP)"!=""
+ @$(LDUMP) -A $(DEF6CEXP) -E1 -F$(MISC)\$(SHL6TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF6CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL6TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF6CEXP)"!=""
+.ENDIF # "$(DEFLIB6NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB6NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB6NAME).lib >>tmp.cpf
+.IF "$(DEF6CEXP)"!=""
+ $(LDUMP) -A $(DEF6CEXP) -E1 -F$(MISC)\$(SHL6TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF6CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL6TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF6CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL6TARGET).flt $(SLB)\$(DEFLIB6NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB6NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF6DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL6TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB6NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL6TARGET).flt $(SHL6LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP6HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP6HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF6TARGETN) : \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF6TARGETN) .PHONY : \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL6TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF6DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB6NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL6TARGET).exp $(SLB)\$(DEFLIB6NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF6CEXP)"!=""
+ @$(LDUMP2) -A $(DEF6CEXP) -E 20 -F $(MISC)\$(SHL6TARGET).flt $(SHL6TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL6TARGET).flt $(SHL6TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL6TARGET).flt $(SHL6TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL6TARGET).exp
+.ENDIF # "$(DEFLIB6NAME)"!=""
+.IF "$(DEF6EXPORT1)"!=""
+ @echo $(DEF6EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT2)"!=""
+ @echo $(DEF6EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT3)"!=""
+ @echo $(DEF6EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT4)"!=""
+ @echo $(DEF6EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT5)"!=""
+ @echo $(DEF6EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT6)"!=""
+ @echo $(DEF6EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT7)"!=""
+ @echo $(DEF6EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT8)"!=""
+ @echo $(DEF6EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT9)"!=""
+ @echo $(DEF6EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT10)"!=""
+ @echo $(DEF6EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT11)"!=""
+ @echo $(DEF6EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT12)"!=""
+ @echo $(DEF6EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT13)"!=""
+ @echo $(DEF6EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT14)"!=""
+ @echo $(DEF6EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT15)"!=""
+ @echo $(DEF6EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT16)"!=""
+ @echo $(DEF6EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT17)"!=""
+ @echo $(DEF6EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT18)"!=""
+ @echo $(DEF6EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT19)"!=""
+ @echo $(DEF6EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF6EXPORT20)"!=""
+ @echo $(DEF6EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF6EXPORTFILE)"!=""
+ $(TYPE) $(DEF6EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP6HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF6TARGETN): \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF6TARGETN): \
+ $(DEF6DEPN) \
+ $(DEF6EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF6TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF7TARGETN)"!=""
+
+.IF "$(DEFLIB7NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF7DEPN+=$(SLB)$/$(DEFLIB7NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF7TARGETN): \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL7TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB7NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL7TARGET).flt $(SLB)\$(DEFLIB7NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF7DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL7TARGET).dll >>$@
+.IF "$(DEFLIB7NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL7TARGET).flt $(SHL7LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF7EXPORT1)"!=""
+ sed -e '/$(DEF7EXPORT1)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT2)"!=""
+ sed -e '/$(DEF7EXPORT2)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT3)"!=""
+ sed -e '/$(DEF7EXPORT3)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT4)"!=""
+ sed -e '/$(DEF7EXPORT4)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT5)"!=""
+ sed -e '/$(DEF7EXPORT5)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT6)"!=""
+ sed -e '/$(DEF7EXPORT6)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT7)"!=""
+ sed -e '/$(DEF7EXPORT7)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT8)"!=""
+ sed -e '/$(DEF7EXPORT8)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT9)"!=""
+ sed -e '/$(DEF7EXPORT9)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT10)"!=""
+ sed -e '/$(DEF7EXPORT10)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT11)"!=""
+ sed -e '/$(DEF7EXPORT11)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT12)"!=""
+ sed -e '/$(DEF7EXPORT12)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT13)"!=""
+ sed -e '/$(DEF7EXPORT13)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT14)"!=""
+ sed -e '/$(DEF7EXPORT14)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT15)"!=""
+ sed -e '/$(DEF7EXPORT15)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT16)"!=""
+ sed -e '/$(DEF7EXPORT16)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT17)"!=""
+ sed -e '/$(DEF7EXPORT17)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT18)"!=""
+ sed -e '/$(DEF7EXPORT18)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT19)"!=""
+ sed -e '/$(DEF7EXPORT19)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+.IF "$(DEF7EXPORT20)"!=""
+ sed -e '/$(DEF7EXPORT20)/d' $@ > $(MISC)\$(SHL7TARGET).tmp
+ copy $(MISC)\$(SHL7TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL7TARGET).tmp del $(MISC)\$(SHL7TARGET).tmp
+.IF "$(DEF7EXPORT1)"!=""
+ @echo $(DEF7EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT2)"!=""
+ @echo $(DEF7EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT3)"!=""
+ @echo $(DEF7EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT4)"!=""
+ @echo $(DEF7EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT5)"!=""
+ @echo $(DEF7EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT6)"!=""
+ @echo $(DEF7EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT7)"!=""
+ @echo $(DEF7EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT8)"!=""
+ @echo $(DEF7EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT9)"!=""
+ @echo $(DEF7EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT10)"!=""
+ @echo $(DEF7EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT11)"!=""
+ @echo $(DEF7EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT12)"!=""
+ @echo $(DEF7EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT13)"!=""
+ @echo $(DEF7EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT14)"!=""
+ @echo $(DEF7EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT15)"!=""
+ @echo $(DEF7EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT16)"!=""
+ @echo $(DEF7EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT17)"!=""
+ @echo $(DEF7EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT18)"!=""
+ @echo $(DEF7EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT19)"!=""
+ @echo $(DEF7EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT20)"!=""
+ @echo $(DEF7EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF7EXPORTFILE)"!=""
+ $(TYPE) $(DEF7EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL7TARGET).map $(TOUCH) shl7.don
+ if exist shl7.don echo FUNCTIONS >>$@
+ if exist shl7.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL7TARGET).map
+ if exist shl7.don (id2name $(SHL7TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl7.don del shl7.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF7TARGETN): \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP7HEAP)"!=""
+ @echo NAME $(APP7TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP7DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP7HEAP) >>$@
+ @echo STACKSIZE $(APP7STACK) >>$@
+.ELSE # "$(APP7HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL7TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF7DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF7EXPORT1)"!=""
+ @echo $(DEF7EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT2)"!=""
+ @echo $(DEF7EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT3)"!=""
+ @echo $(DEF7EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT4)"!=""
+ @echo $(DEF7EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT5)"!=""
+ @echo $(DEF7EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT6)"!=""
+ @echo $(DEF7EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT7)"!=""
+ @echo $(DEF7EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT8)"!=""
+ @echo $(DEF7EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT9)"!=""
+ @echo $(DEF7EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT10)"!=""
+ @echo $(DEF7EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT11)"!=""
+ @echo $(DEF7EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT12)"!=""
+ @echo $(DEF7EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT13)"!=""
+ @echo $(DEF7EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT14)"!=""
+ @echo $(DEF7EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT15)"!=""
+ @echo $(DEF7EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT16)"!=""
+ @echo $(DEF7EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT17)"!=""
+ @echo $(DEF7EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT18)"!=""
+ @echo $(DEF7EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT19)"!=""
+ @echo $(DEF7EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT20)"!=""
+ @echo $(DEF7EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF7EXPORTFILE)"!=""
+ $(TYPE) $(DEF7EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB7NAME).lib >>tmp.cpf
+.IF "$(DEFLIB7NAME)"!=""
+.IF "$(DEF7CEXP)"!=""
+ @$(LDUMP) -A $(DEF7CEXP) -E1 -F$(MISC)\$(SHL7TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF7CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL7TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF7CEXP)"!=""
+.ENDIF # "$(DEFLIB7NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB7NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB7NAME).lib >>tmp.cpf
+.IF "$(DEF7CEXP)"!=""
+ $(LDUMP) -A $(DEF7CEXP) -E1 -F$(MISC)\$(SHL7TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF7CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL7TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF7CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL7TARGET).flt $(SLB)\$(DEFLIB7NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB7NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF7DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL7TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB7NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL7TARGET).flt $(SHL7LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP7HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP7HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF7TARGETN) : \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF7TARGETN) .PHONY : \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL7TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF7DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB7NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL7TARGET).exp $(SLB)\$(DEFLIB7NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF7CEXP)"!=""
+ @$(LDUMP2) -A $(DEF7CEXP) -E 20 -F $(MISC)\$(SHL7TARGET).flt $(SHL7TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL7TARGET).flt $(SHL7TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL7TARGET).flt $(SHL7TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL7TARGET).exp
+.ENDIF # "$(DEFLIB7NAME)"!=""
+.IF "$(DEF7EXPORT1)"!=""
+ @echo $(DEF7EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT2)"!=""
+ @echo $(DEF7EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT3)"!=""
+ @echo $(DEF7EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT4)"!=""
+ @echo $(DEF7EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT5)"!=""
+ @echo $(DEF7EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT6)"!=""
+ @echo $(DEF7EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT7)"!=""
+ @echo $(DEF7EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT8)"!=""
+ @echo $(DEF7EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT9)"!=""
+ @echo $(DEF7EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT10)"!=""
+ @echo $(DEF7EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT11)"!=""
+ @echo $(DEF7EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT12)"!=""
+ @echo $(DEF7EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT13)"!=""
+ @echo $(DEF7EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT14)"!=""
+ @echo $(DEF7EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT15)"!=""
+ @echo $(DEF7EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT16)"!=""
+ @echo $(DEF7EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT17)"!=""
+ @echo $(DEF7EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT18)"!=""
+ @echo $(DEF7EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT19)"!=""
+ @echo $(DEF7EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF7EXPORT20)"!=""
+ @echo $(DEF7EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF7EXPORTFILE)"!=""
+ $(TYPE) $(DEF7EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP7HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF7TARGETN): \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF7TARGETN): \
+ $(DEF7DEPN) \
+ $(DEF7EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF7TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF8TARGETN)"!=""
+
+.IF "$(DEFLIB8NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF8DEPN+=$(SLB)$/$(DEFLIB8NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF8TARGETN): \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL8TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB8NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL8TARGET).flt $(SLB)\$(DEFLIB8NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF8DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL8TARGET).dll >>$@
+.IF "$(DEFLIB8NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL8TARGET).flt $(SHL8LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF8EXPORT1)"!=""
+ sed -e '/$(DEF8EXPORT1)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT2)"!=""
+ sed -e '/$(DEF8EXPORT2)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT3)"!=""
+ sed -e '/$(DEF8EXPORT3)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT4)"!=""
+ sed -e '/$(DEF8EXPORT4)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT5)"!=""
+ sed -e '/$(DEF8EXPORT5)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT6)"!=""
+ sed -e '/$(DEF8EXPORT6)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT7)"!=""
+ sed -e '/$(DEF8EXPORT7)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT8)"!=""
+ sed -e '/$(DEF8EXPORT8)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT9)"!=""
+ sed -e '/$(DEF8EXPORT9)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT10)"!=""
+ sed -e '/$(DEF8EXPORT10)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT11)"!=""
+ sed -e '/$(DEF8EXPORT11)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT12)"!=""
+ sed -e '/$(DEF8EXPORT12)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT13)"!=""
+ sed -e '/$(DEF8EXPORT13)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT14)"!=""
+ sed -e '/$(DEF8EXPORT14)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT15)"!=""
+ sed -e '/$(DEF8EXPORT15)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT16)"!=""
+ sed -e '/$(DEF8EXPORT16)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT17)"!=""
+ sed -e '/$(DEF8EXPORT17)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT18)"!=""
+ sed -e '/$(DEF8EXPORT18)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT19)"!=""
+ sed -e '/$(DEF8EXPORT19)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+.IF "$(DEF8EXPORT20)"!=""
+ sed -e '/$(DEF8EXPORT20)/d' $@ > $(MISC)\$(SHL8TARGET).tmp
+ copy $(MISC)\$(SHL8TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL8TARGET).tmp del $(MISC)\$(SHL8TARGET).tmp
+.IF "$(DEF8EXPORT1)"!=""
+ @echo $(DEF8EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT2)"!=""
+ @echo $(DEF8EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT3)"!=""
+ @echo $(DEF8EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT4)"!=""
+ @echo $(DEF8EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT5)"!=""
+ @echo $(DEF8EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT6)"!=""
+ @echo $(DEF8EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT7)"!=""
+ @echo $(DEF8EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT8)"!=""
+ @echo $(DEF8EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT9)"!=""
+ @echo $(DEF8EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT10)"!=""
+ @echo $(DEF8EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT11)"!=""
+ @echo $(DEF8EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT12)"!=""
+ @echo $(DEF8EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT13)"!=""
+ @echo $(DEF8EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT14)"!=""
+ @echo $(DEF8EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT15)"!=""
+ @echo $(DEF8EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT16)"!=""
+ @echo $(DEF8EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT17)"!=""
+ @echo $(DEF8EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT18)"!=""
+ @echo $(DEF8EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT19)"!=""
+ @echo $(DEF8EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT20)"!=""
+ @echo $(DEF8EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF8EXPORTFILE)"!=""
+ $(TYPE) $(DEF8EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL8TARGET).map $(TOUCH) shl8.don
+ if exist shl8.don echo FUNCTIONS >>$@
+ if exist shl8.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL8TARGET).map
+ if exist shl8.don (id2name $(SHL8TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl8.don del shl8.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF8TARGETN): \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP8HEAP)"!=""
+ @echo NAME $(APP8TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP8DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP8HEAP) >>$@
+ @echo STACKSIZE $(APP8STACK) >>$@
+.ELSE # "$(APP8HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL8TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF8DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF8EXPORT1)"!=""
+ @echo $(DEF8EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT2)"!=""
+ @echo $(DEF8EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT3)"!=""
+ @echo $(DEF8EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT4)"!=""
+ @echo $(DEF8EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT5)"!=""
+ @echo $(DEF8EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT6)"!=""
+ @echo $(DEF8EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT7)"!=""
+ @echo $(DEF8EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT8)"!=""
+ @echo $(DEF8EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT9)"!=""
+ @echo $(DEF8EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT10)"!=""
+ @echo $(DEF8EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT11)"!=""
+ @echo $(DEF8EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT12)"!=""
+ @echo $(DEF8EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT13)"!=""
+ @echo $(DEF8EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT14)"!=""
+ @echo $(DEF8EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT15)"!=""
+ @echo $(DEF8EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT16)"!=""
+ @echo $(DEF8EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT17)"!=""
+ @echo $(DEF8EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT18)"!=""
+ @echo $(DEF8EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT19)"!=""
+ @echo $(DEF8EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT20)"!=""
+ @echo $(DEF8EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF8EXPORTFILE)"!=""
+ $(TYPE) $(DEF8EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB8NAME).lib >>tmp.cpf
+.IF "$(DEFLIB8NAME)"!=""
+.IF "$(DEF8CEXP)"!=""
+ @$(LDUMP) -A $(DEF8CEXP) -E1 -F$(MISC)\$(SHL8TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF8CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL8TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF8CEXP)"!=""
+.ENDIF # "$(DEFLIB8NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB8NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB8NAME).lib >>tmp.cpf
+.IF "$(DEF8CEXP)"!=""
+ $(LDUMP) -A $(DEF8CEXP) -E1 -F$(MISC)\$(SHL8TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF8CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL8TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF8CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL8TARGET).flt $(SLB)\$(DEFLIB8NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB8NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF8DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL8TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB8NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL8TARGET).flt $(SHL8LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP8HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP8HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF8TARGETN) : \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF8TARGETN) .PHONY : \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL8TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF8DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB8NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL8TARGET).exp $(SLB)\$(DEFLIB8NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF8CEXP)"!=""
+ @$(LDUMP2) -A $(DEF8CEXP) -E 20 -F $(MISC)\$(SHL8TARGET).flt $(SHL8TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL8TARGET).flt $(SHL8TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL8TARGET).flt $(SHL8TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL8TARGET).exp
+.ENDIF # "$(DEFLIB8NAME)"!=""
+.IF "$(DEF8EXPORT1)"!=""
+ @echo $(DEF8EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT2)"!=""
+ @echo $(DEF8EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT3)"!=""
+ @echo $(DEF8EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT4)"!=""
+ @echo $(DEF8EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT5)"!=""
+ @echo $(DEF8EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT6)"!=""
+ @echo $(DEF8EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT7)"!=""
+ @echo $(DEF8EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT8)"!=""
+ @echo $(DEF8EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT9)"!=""
+ @echo $(DEF8EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT10)"!=""
+ @echo $(DEF8EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT11)"!=""
+ @echo $(DEF8EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT12)"!=""
+ @echo $(DEF8EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT13)"!=""
+ @echo $(DEF8EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT14)"!=""
+ @echo $(DEF8EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT15)"!=""
+ @echo $(DEF8EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT16)"!=""
+ @echo $(DEF8EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT17)"!=""
+ @echo $(DEF8EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT18)"!=""
+ @echo $(DEF8EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT19)"!=""
+ @echo $(DEF8EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF8EXPORT20)"!=""
+ @echo $(DEF8EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF8EXPORTFILE)"!=""
+ $(TYPE) $(DEF8EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP8HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF8TARGETN): \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF8TARGETN): \
+ $(DEF8DEPN) \
+ $(DEF8EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF8TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF9TARGETN)"!=""
+
+.IF "$(DEFLIB9NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF9DEPN+=$(SLB)$/$(DEFLIB9NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF9TARGETN): \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL9TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB9NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL9TARGET).flt $(SLB)\$(DEFLIB9NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF9DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL9TARGET).dll >>$@
+.IF "$(DEFLIB9NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL9TARGET).flt $(SHL9LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF9EXPORT1)"!=""
+ sed -e '/$(DEF9EXPORT1)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT2)"!=""
+ sed -e '/$(DEF9EXPORT2)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT3)"!=""
+ sed -e '/$(DEF9EXPORT3)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT4)"!=""
+ sed -e '/$(DEF9EXPORT4)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT5)"!=""
+ sed -e '/$(DEF9EXPORT5)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT6)"!=""
+ sed -e '/$(DEF9EXPORT6)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT7)"!=""
+ sed -e '/$(DEF9EXPORT7)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT8)"!=""
+ sed -e '/$(DEF9EXPORT8)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT9)"!=""
+ sed -e '/$(DEF9EXPORT9)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT10)"!=""
+ sed -e '/$(DEF9EXPORT10)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT11)"!=""
+ sed -e '/$(DEF9EXPORT11)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT12)"!=""
+ sed -e '/$(DEF9EXPORT12)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT13)"!=""
+ sed -e '/$(DEF9EXPORT13)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT14)"!=""
+ sed -e '/$(DEF9EXPORT14)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT15)"!=""
+ sed -e '/$(DEF9EXPORT15)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT16)"!=""
+ sed -e '/$(DEF9EXPORT16)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT17)"!=""
+ sed -e '/$(DEF9EXPORT17)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT18)"!=""
+ sed -e '/$(DEF9EXPORT18)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT19)"!=""
+ sed -e '/$(DEF9EXPORT19)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+.IF "$(DEF9EXPORT20)"!=""
+ sed -e '/$(DEF9EXPORT20)/d' $@ > $(MISC)\$(SHL9TARGET).tmp
+ copy $(MISC)\$(SHL9TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL9TARGET).tmp del $(MISC)\$(SHL9TARGET).tmp
+.IF "$(DEF9EXPORT1)"!=""
+ @echo $(DEF9EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT2)"!=""
+ @echo $(DEF9EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT3)"!=""
+ @echo $(DEF9EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT4)"!=""
+ @echo $(DEF9EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT5)"!=""
+ @echo $(DEF9EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT6)"!=""
+ @echo $(DEF9EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT7)"!=""
+ @echo $(DEF9EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT8)"!=""
+ @echo $(DEF9EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT9)"!=""
+ @echo $(DEF9EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT10)"!=""
+ @echo $(DEF9EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT11)"!=""
+ @echo $(DEF9EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT12)"!=""
+ @echo $(DEF9EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT13)"!=""
+ @echo $(DEF9EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT14)"!=""
+ @echo $(DEF9EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT15)"!=""
+ @echo $(DEF9EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT16)"!=""
+ @echo $(DEF9EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT17)"!=""
+ @echo $(DEF9EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT18)"!=""
+ @echo $(DEF9EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT19)"!=""
+ @echo $(DEF9EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT20)"!=""
+ @echo $(DEF9EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF9EXPORTFILE)"!=""
+ $(TYPE) $(DEF9EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL9TARGET).map $(TOUCH) shl9.don
+ if exist shl9.don echo FUNCTIONS >>$@
+ if exist shl9.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL9TARGET).map
+ if exist shl9.don (id2name $(SHL9TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl9.don del shl9.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF9TARGETN): \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP9HEAP)"!=""
+ @echo NAME $(APP9TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP9DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP9HEAP) >>$@
+ @echo STACKSIZE $(APP9STACK) >>$@
+.ELSE # "$(APP9HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL9TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF9DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF9EXPORT1)"!=""
+ @echo $(DEF9EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT2)"!=""
+ @echo $(DEF9EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT3)"!=""
+ @echo $(DEF9EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT4)"!=""
+ @echo $(DEF9EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT5)"!=""
+ @echo $(DEF9EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT6)"!=""
+ @echo $(DEF9EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT7)"!=""
+ @echo $(DEF9EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT8)"!=""
+ @echo $(DEF9EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT9)"!=""
+ @echo $(DEF9EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT10)"!=""
+ @echo $(DEF9EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT11)"!=""
+ @echo $(DEF9EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT12)"!=""
+ @echo $(DEF9EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT13)"!=""
+ @echo $(DEF9EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT14)"!=""
+ @echo $(DEF9EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT15)"!=""
+ @echo $(DEF9EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT16)"!=""
+ @echo $(DEF9EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT17)"!=""
+ @echo $(DEF9EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT18)"!=""
+ @echo $(DEF9EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT19)"!=""
+ @echo $(DEF9EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT20)"!=""
+ @echo $(DEF9EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF9EXPORTFILE)"!=""
+ $(TYPE) $(DEF9EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB9NAME).lib >>tmp.cpf
+.IF "$(DEFLIB9NAME)"!=""
+.IF "$(DEF9CEXP)"!=""
+ @$(LDUMP) -A $(DEF9CEXP) -E1 -F$(MISC)\$(SHL9TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF9CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL9TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF9CEXP)"!=""
+.ENDIF # "$(DEFLIB9NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB9NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB9NAME).lib >>tmp.cpf
+.IF "$(DEF9CEXP)"!=""
+ $(LDUMP) -A $(DEF9CEXP) -E1 -F$(MISC)\$(SHL9TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF9CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL9TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF9CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL9TARGET).flt $(SLB)\$(DEFLIB9NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB9NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF9DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL9TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB9NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL9TARGET).flt $(SHL9LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP9HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP9HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF9TARGETN) : \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF9TARGETN) .PHONY : \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL9TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF9DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB9NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL9TARGET).exp $(SLB)\$(DEFLIB9NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF9CEXP)"!=""
+ @$(LDUMP2) -A $(DEF9CEXP) -E 20 -F $(MISC)\$(SHL9TARGET).flt $(SHL9TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL9TARGET).flt $(SHL9TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL9TARGET).flt $(SHL9TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL9TARGET).exp
+.ENDIF # "$(DEFLIB9NAME)"!=""
+.IF "$(DEF9EXPORT1)"!=""
+ @echo $(DEF9EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT2)"!=""
+ @echo $(DEF9EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT3)"!=""
+ @echo $(DEF9EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT4)"!=""
+ @echo $(DEF9EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT5)"!=""
+ @echo $(DEF9EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT6)"!=""
+ @echo $(DEF9EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT7)"!=""
+ @echo $(DEF9EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT8)"!=""
+ @echo $(DEF9EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT9)"!=""
+ @echo $(DEF9EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT10)"!=""
+ @echo $(DEF9EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT11)"!=""
+ @echo $(DEF9EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT12)"!=""
+ @echo $(DEF9EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT13)"!=""
+ @echo $(DEF9EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT14)"!=""
+ @echo $(DEF9EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT15)"!=""
+ @echo $(DEF9EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT16)"!=""
+ @echo $(DEF9EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT17)"!=""
+ @echo $(DEF9EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT18)"!=""
+ @echo $(DEF9EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT19)"!=""
+ @echo $(DEF9EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF9EXPORT20)"!=""
+ @echo $(DEF9EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF9EXPORTFILE)"!=""
+ $(TYPE) $(DEF9EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP9HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF9TARGETN): \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF9TARGETN): \
+ $(DEF9DEPN) \
+ $(DEF9EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF9TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(DEF10TARGETN)"!=""
+
+.IF "$(DEFLIB10NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF10DEPN+=$(SLB)$/$(DEFLIB10NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF10TARGETN): \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL10TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB10NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL10TARGET).flt $(SLB)\$(DEFLIB10NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF10DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL10TARGET).dll >>$@
+.IF "$(DEFLIB10NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL10TARGET).flt $(SHL10LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF10EXPORT1)"!=""
+ sed -e '/$(DEF10EXPORT1)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT2)"!=""
+ sed -e '/$(DEF10EXPORT2)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT3)"!=""
+ sed -e '/$(DEF10EXPORT3)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT4)"!=""
+ sed -e '/$(DEF10EXPORT4)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT5)"!=""
+ sed -e '/$(DEF10EXPORT5)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT6)"!=""
+ sed -e '/$(DEF10EXPORT6)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT7)"!=""
+ sed -e '/$(DEF10EXPORT7)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT8)"!=""
+ sed -e '/$(DEF10EXPORT8)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT9)"!=""
+ sed -e '/$(DEF10EXPORT9)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT10)"!=""
+ sed -e '/$(DEF10EXPORT10)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT11)"!=""
+ sed -e '/$(DEF10EXPORT11)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT12)"!=""
+ sed -e '/$(DEF10EXPORT12)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT13)"!=""
+ sed -e '/$(DEF10EXPORT13)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT14)"!=""
+ sed -e '/$(DEF10EXPORT14)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT15)"!=""
+ sed -e '/$(DEF10EXPORT15)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT16)"!=""
+ sed -e '/$(DEF10EXPORT16)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT17)"!=""
+ sed -e '/$(DEF10EXPORT17)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT18)"!=""
+ sed -e '/$(DEF10EXPORT18)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT19)"!=""
+ sed -e '/$(DEF10EXPORT19)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+.IF "$(DEF10EXPORT20)"!=""
+ sed -e '/$(DEF10EXPORT20)/d' $@ > $(MISC)\$(SHL10TARGET).tmp
+ copy $(MISC)\$(SHL10TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL10TARGET).tmp del $(MISC)\$(SHL10TARGET).tmp
+.IF "$(DEF10EXPORT1)"!=""
+ @echo $(DEF10EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT2)"!=""
+ @echo $(DEF10EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT3)"!=""
+ @echo $(DEF10EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT4)"!=""
+ @echo $(DEF10EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT5)"!=""
+ @echo $(DEF10EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT6)"!=""
+ @echo $(DEF10EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT7)"!=""
+ @echo $(DEF10EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT8)"!=""
+ @echo $(DEF10EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT9)"!=""
+ @echo $(DEF10EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT10)"!=""
+ @echo $(DEF10EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT11)"!=""
+ @echo $(DEF10EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT12)"!=""
+ @echo $(DEF10EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT13)"!=""
+ @echo $(DEF10EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT14)"!=""
+ @echo $(DEF10EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT15)"!=""
+ @echo $(DEF10EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT16)"!=""
+ @echo $(DEF10EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT17)"!=""
+ @echo $(DEF10EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT18)"!=""
+ @echo $(DEF10EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT19)"!=""
+ @echo $(DEF10EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT20)"!=""
+ @echo $(DEF10EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF10EXPORTFILE)"!=""
+ $(TYPE) $(DEF10EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL10TARGET).map $(TOUCH) shl10.don
+ if exist shl10.don echo FUNCTIONS >>$@
+ if exist shl10.don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL10TARGET).map
+ if exist shl10.don (id2name $(SHL10TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl10.don del shl10.don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF10TARGETN): \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP10HEAP)"!=""
+ @echo NAME $(APP10TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP10DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP10HEAP) >>$@
+ @echo STACKSIZE $(APP10STACK) >>$@
+.ELSE # "$(APP10HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL10TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF10DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF10EXPORT1)"!=""
+ @echo $(DEF10EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT2)"!=""
+ @echo $(DEF10EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT3)"!=""
+ @echo $(DEF10EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT4)"!=""
+ @echo $(DEF10EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT5)"!=""
+ @echo $(DEF10EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT6)"!=""
+ @echo $(DEF10EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT7)"!=""
+ @echo $(DEF10EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT8)"!=""
+ @echo $(DEF10EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT9)"!=""
+ @echo $(DEF10EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT10)"!=""
+ @echo $(DEF10EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT11)"!=""
+ @echo $(DEF10EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT12)"!=""
+ @echo $(DEF10EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT13)"!=""
+ @echo $(DEF10EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT14)"!=""
+ @echo $(DEF10EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT15)"!=""
+ @echo $(DEF10EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT16)"!=""
+ @echo $(DEF10EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT17)"!=""
+ @echo $(DEF10EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT18)"!=""
+ @echo $(DEF10EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT19)"!=""
+ @echo $(DEF10EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT20)"!=""
+ @echo $(DEF10EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF10EXPORTFILE)"!=""
+ $(TYPE) $(DEF10EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB10NAME).lib >>tmp.cpf
+.IF "$(DEFLIB10NAME)"!=""
+.IF "$(DEF10CEXP)"!=""
+ @$(LDUMP) -A $(DEF10CEXP) -E1 -F$(MISC)\$(SHL10TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF10CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL10TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF10CEXP)"!=""
+.ENDIF # "$(DEFLIB10NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB10NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB10NAME).lib >>tmp.cpf
+.IF "$(DEF10CEXP)"!=""
+ $(LDUMP) -A $(DEF10CEXP) -E1 -F$(MISC)\$(SHL10TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF10CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL10TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF10CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL10TARGET).flt $(SLB)\$(DEFLIB10NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB10NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF10DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL10TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB10NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL10TARGET).flt $(SHL10LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP10HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP10HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF10TARGETN) : \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF10TARGETN) .PHONY : \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL10TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF10DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB10NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL10TARGET).exp $(SLB)\$(DEFLIB10NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF10CEXP)"!=""
+ @$(LDUMP2) -A $(DEF10CEXP) -E 20 -F $(MISC)\$(SHL10TARGET).flt $(SHL10TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL10TARGET).flt $(SHL10TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL10TARGET).flt $(SHL10TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL10TARGET).exp
+.ENDIF # "$(DEFLIB10NAME)"!=""
+.IF "$(DEF10EXPORT1)"!=""
+ @echo $(DEF10EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT2)"!=""
+ @echo $(DEF10EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT3)"!=""
+ @echo $(DEF10EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT4)"!=""
+ @echo $(DEF10EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT5)"!=""
+ @echo $(DEF10EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT6)"!=""
+ @echo $(DEF10EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT7)"!=""
+ @echo $(DEF10EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT8)"!=""
+ @echo $(DEF10EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT9)"!=""
+ @echo $(DEF10EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT10)"!=""
+ @echo $(DEF10EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT11)"!=""
+ @echo $(DEF10EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT12)"!=""
+ @echo $(DEF10EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT13)"!=""
+ @echo $(DEF10EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT14)"!=""
+ @echo $(DEF10EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT15)"!=""
+ @echo $(DEF10EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT16)"!=""
+ @echo $(DEF10EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT17)"!=""
+ @echo $(DEF10EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT18)"!=""
+ @echo $(DEF10EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT19)"!=""
+ @echo $(DEF10EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF10EXPORT20)"!=""
+ @echo $(DEF10EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF10EXPORTFILE)"!=""
+ $(TYPE) $(DEF10EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP10HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF10TARGETN): \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF10TARGETN): \
+ $(DEF10DEPN) \
+ $(DEF10EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF10TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/_tg_lib.mk b/solenv/inc/_tg_lib.mk
new file mode 100644
index 000000000000..325c302e89e4
--- /dev/null
+++ b/solenv/inc/_tg_lib.mk
@@ -0,0 +1,750 @@
+# unroll begin
+
+.IF "$(LIB1TARGET)" != ""
+
+$(LIB1TARGET) : $(LIB1FILES) \
+ $(LIB1OBJFILES) \
+ $(LIB1DEPN)
+ @echo using: $(LIB1FILES)
+ @echo using: $(LIB1TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB1OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB1FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB1TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB1ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB1ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB1TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB1FLAGS) $(LIBFLAGS) $(LIB1ARCHIV) `cat $(LIB1TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB1ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB1ARCHIV) >> $(MISC)$/$(LIB1ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB1ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB1ARCHIV:b).cmd
+.ENDIF # "$(LIB1ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB1OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB1FILES) | xargs -n 1 >> $@
+.IF "$(LIB1ARCHIV)" != ""
+ @+$(RM) $(LIB1ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB1ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB1ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB1FILES:+"\n+":^"&") -+$(LIB1OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB1FILES) $(LIB1OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB1FILES:+"&\n") \
+ $(LIB1OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB1OBJFILES)
+ $(LIBMGR) r $@ $(LIB1OBJFILES) $(LIB1FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB1TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB2TARGET)" != ""
+
+$(LIB2TARGET) : $(LIB2FILES) \
+ $(LIB2OBJFILES) \
+ $(LIB2DEPN)
+ @echo using: $(LIB2FILES)
+ @echo using: $(LIB2TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB2OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB2FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB2TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB2ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB2ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB2TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB2FLAGS) $(LIBFLAGS) $(LIB2ARCHIV) `cat $(LIB2TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB2ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB2ARCHIV) >> $(MISC)$/$(LIB2ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB2ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB2ARCHIV:b).cmd
+.ENDIF # "$(LIB2ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB2OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB2FILES) | xargs -n 1 >> $@
+.IF "$(LIB2ARCHIV)" != ""
+ @+$(RM) $(LIB2ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB2ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB2ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB2FILES:+"\n+":^"&") -+$(LIB2OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB2FILES) $(LIB2OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB2FILES:+"&\n") \
+ $(LIB2OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB2OBJFILES)
+ $(LIBMGR) r $@ $(LIB2OBJFILES) $(LIB2FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB2TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB3TARGET)" != ""
+
+$(LIB3TARGET) : $(LIB3FILES) \
+ $(LIB3OBJFILES) \
+ $(LIB3DEPN)
+ @echo using: $(LIB3FILES)
+ @echo using: $(LIB3TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB3OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB3FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB3TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB3ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB3ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB3TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB3FLAGS) $(LIBFLAGS) $(LIB3ARCHIV) `cat $(LIB3TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB3ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB3ARCHIV) >> $(MISC)$/$(LIB3ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB3ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB3ARCHIV:b).cmd
+.ENDIF # "$(LIB3ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB3OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB3FILES) | xargs -n 1 >> $@
+.IF "$(LIB3ARCHIV)" != ""
+ @+$(RM) $(LIB3ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB3ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB3ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB3FILES:+"\n+":^"&") -+$(LIB3OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB3FILES) $(LIB3OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB3FILES:+"&\n") \
+ $(LIB3OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB3OBJFILES)
+ $(LIBMGR) r $@ $(LIB3OBJFILES) $(LIB3FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB3TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB4TARGET)" != ""
+
+$(LIB4TARGET) : $(LIB4FILES) \
+ $(LIB4OBJFILES) \
+ $(LIB4DEPN)
+ @echo using: $(LIB4FILES)
+ @echo using: $(LIB4TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB4OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB4FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB4TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB4ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB4ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB4TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB4FLAGS) $(LIBFLAGS) $(LIB4ARCHIV) `cat $(LIB4TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB4ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB4ARCHIV) >> $(MISC)$/$(LIB4ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB4ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB4ARCHIV:b).cmd
+.ENDIF # "$(LIB4ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB4OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB4FILES) | xargs -n 1 >> $@
+.IF "$(LIB4ARCHIV)" != ""
+ @+$(RM) $(LIB4ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB4ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB4ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB4FILES:+"\n+":^"&") -+$(LIB4OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB4FILES) $(LIB4OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB4FILES:+"&\n") \
+ $(LIB4OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB4OBJFILES)
+ $(LIBMGR) r $@ $(LIB4OBJFILES) $(LIB4FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB4TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB5TARGET)" != ""
+
+$(LIB5TARGET) : $(LIB5FILES) \
+ $(LIB5OBJFILES) \
+ $(LIB5DEPN)
+ @echo using: $(LIB5FILES)
+ @echo using: $(LIB5TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB5OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB5FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB5TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB5ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB5ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB5TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB5FLAGS) $(LIBFLAGS) $(LIB5ARCHIV) `cat $(LIB5TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB5ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB5ARCHIV) >> $(MISC)$/$(LIB5ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB5ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB5ARCHIV:b).cmd
+.ENDIF # "$(LIB5ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB5OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB5FILES) | xargs -n 1 >> $@
+.IF "$(LIB5ARCHIV)" != ""
+ @+$(RM) $(LIB5ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB5ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB5ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB5FILES:+"\n+":^"&") -+$(LIB5OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB5FILES) $(LIB5OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB5FILES:+"&\n") \
+ $(LIB5OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB5OBJFILES)
+ $(LIBMGR) r $@ $(LIB5OBJFILES) $(LIB5FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB5TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB6TARGET)" != ""
+
+$(LIB6TARGET) : $(LIB6FILES) \
+ $(LIB6OBJFILES) \
+ $(LIB6DEPN)
+ @echo using: $(LIB6FILES)
+ @echo using: $(LIB6TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB6OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB6FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB6TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB6ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB6ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB6TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB6FLAGS) $(LIBFLAGS) $(LIB6ARCHIV) `cat $(LIB6TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB6ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB6ARCHIV) >> $(MISC)$/$(LIB6ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB6ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB6ARCHIV:b).cmd
+.ENDIF # "$(LIB6ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB6OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB6FILES) | xargs -n 1 >> $@
+.IF "$(LIB6ARCHIV)" != ""
+ @+$(RM) $(LIB6ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB6ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB6ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB6FILES:+"\n+":^"&") -+$(LIB6OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB6FILES) $(LIB6OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB6FILES:+"&\n") \
+ $(LIB6OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB6OBJFILES)
+ $(LIBMGR) r $@ $(LIB6OBJFILES) $(LIB6FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB6TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB7TARGET)" != ""
+
+$(LIB7TARGET) : $(LIB7FILES) \
+ $(LIB7OBJFILES) \
+ $(LIB7DEPN)
+ @echo using: $(LIB7FILES)
+ @echo using: $(LIB7TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB7OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB7FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB7TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB7ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB7ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB7TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB7FLAGS) $(LIBFLAGS) $(LIB7ARCHIV) `cat $(LIB7TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB7ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB7ARCHIV) >> $(MISC)$/$(LIB7ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB7ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB7ARCHIV:b).cmd
+.ENDIF # "$(LIB7ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB7OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB7FILES) | xargs -n 1 >> $@
+.IF "$(LIB7ARCHIV)" != ""
+ @+$(RM) $(LIB7ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB7ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB7ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB7FILES:+"\n+":^"&") -+$(LIB7OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB7FILES) $(LIB7OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB7FILES:+"&\n") \
+ $(LIB7OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB7OBJFILES)
+ $(LIBMGR) r $@ $(LIB7OBJFILES) $(LIB7FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB7TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB8TARGET)" != ""
+
+$(LIB8TARGET) : $(LIB8FILES) \
+ $(LIB8OBJFILES) \
+ $(LIB8DEPN)
+ @echo using: $(LIB8FILES)
+ @echo using: $(LIB8TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB8OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB8FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB8TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB8ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB8ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB8TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB8FLAGS) $(LIBFLAGS) $(LIB8ARCHIV) `cat $(LIB8TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB8ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB8ARCHIV) >> $(MISC)$/$(LIB8ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB8ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB8ARCHIV:b).cmd
+.ENDIF # "$(LIB8ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB8OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB8FILES) | xargs -n 1 >> $@
+.IF "$(LIB8ARCHIV)" != ""
+ @+$(RM) $(LIB8ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB8ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB8ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB8FILES:+"\n+":^"&") -+$(LIB8OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB8FILES) $(LIB8OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB8FILES:+"&\n") \
+ $(LIB8OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB8OBJFILES)
+ $(LIBMGR) r $@ $(LIB8OBJFILES) $(LIB8FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB8TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB9TARGET)" != ""
+
+$(LIB9TARGET) : $(LIB9FILES) \
+ $(LIB9OBJFILES) \
+ $(LIB9DEPN)
+ @echo using: $(LIB9FILES)
+ @echo using: $(LIB9TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB9OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB9FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB9TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB9ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB9ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB9TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB9FLAGS) $(LIBFLAGS) $(LIB9ARCHIV) `cat $(LIB9TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB9ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB9ARCHIV) >> $(MISC)$/$(LIB9ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB9ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB9ARCHIV:b).cmd
+.ENDIF # "$(LIB9ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB9OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB9FILES) | xargs -n 1 >> $@
+.IF "$(LIB9ARCHIV)" != ""
+ @+$(RM) $(LIB9ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB9ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB9ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB9FILES:+"\n+":^"&") -+$(LIB9OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB9FILES) $(LIB9OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB9FILES:+"&\n") \
+ $(LIB9OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB9OBJFILES)
+ $(LIBMGR) r $@ $(LIB9OBJFILES) $(LIB9FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB9TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
+# unroll begin
+
+.IF "$(LIB10TARGET)" != ""
+
+$(LIB10TARGET) : $(LIB10FILES) \
+ $(LIB10OBJFILES) \
+ $(LIB10DEPN)
+ @echo using: $(LIB10FILES)
+ @echo using: $(LIB10TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB10OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB10FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB10TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB10ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB10ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB10TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB10FLAGS) $(LIBFLAGS) $(LIB10ARCHIV) `cat $(LIB10TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB10ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB10ARCHIV) >> $(MISC)$/$(LIB10ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB10ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB10ARCHIV:b).cmd
+.ENDIF # "$(LIB10ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB10OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB10FILES) | xargs -n 1 >> $@
+.IF "$(LIB10ARCHIV)" != ""
+ @+$(RM) $(LIB10ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB10ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB10ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB10FILES:+"\n+":^"&") -+$(LIB10OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB10FILES) $(LIB10OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB10FILES:+"&\n") \
+ $(LIB10OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB10OBJFILES)
+ $(LIBMGR) r $@ $(LIB10OBJFILES) $(LIB10FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB10TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+#next Target
diff --git a/solenv/inc/_tg_rslb.mk b/solenv/inc/_tg_rslb.mk
new file mode 100644
index 000000000000..3ff005c9f8d7
--- /dev/null
+++ b/solenv/inc/_tg_rslb.mk
@@ -0,0 +1,970 @@
+# unroll begin
+
+.IF "$(RESLIB1TARGETN)"!=""
+
+$(RESLIB1TARGETN): \
+ $(RESLIB1SRSFILES) \
+ $(RESLIB1BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB1NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC1HEADER) $(RESLIB1SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB1TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB2TARGETN)"!=""
+
+$(RESLIB2TARGETN): \
+ $(RESLIB2SRSFILES) \
+ $(RESLIB2BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB2NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC2HEADER) $(RESLIB2SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB2TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB3TARGETN)"!=""
+
+$(RESLIB3TARGETN): \
+ $(RESLIB3SRSFILES) \
+ $(RESLIB3BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB3NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC3HEADER) $(RESLIB3SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB3TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB4TARGETN)"!=""
+
+$(RESLIB4TARGETN): \
+ $(RESLIB4SRSFILES) \
+ $(RESLIB4BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB4NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC4HEADER) $(RESLIB4SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB4TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB5TARGETN)"!=""
+
+$(RESLIB5TARGETN): \
+ $(RESLIB5SRSFILES) \
+ $(RESLIB5BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB5NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC5HEADER) $(RESLIB5SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB5TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB6TARGETN)"!=""
+
+$(RESLIB6TARGETN): \
+ $(RESLIB6SRSFILES) \
+ $(RESLIB6BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB6NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC6HEADER) $(RESLIB6SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB6TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB7TARGETN)"!=""
+
+$(RESLIB7TARGETN): \
+ $(RESLIB7SRSFILES) \
+ $(RESLIB7BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB7NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC7HEADER) $(RESLIB7SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB7TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB8TARGETN)"!=""
+
+$(RESLIB8TARGETN): \
+ $(RESLIB8SRSFILES) \
+ $(RESLIB8BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB8NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC8HEADER) $(RESLIB8SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB8TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB9TARGETN)"!=""
+
+$(RESLIB9TARGETN): \
+ $(RESLIB9SRSFILES) \
+ $(RESLIB9BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB9NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC9HEADER) $(RESLIB9SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB9TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(RESLIB10TARGETN)"!=""
+
+$(RESLIB10TARGETN): \
+ $(RESLIB10SRSFILES) \
+ $(RESLIB10BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB10NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC10HEADER) $(RESLIB10SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB10TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/_tg_scp.mk b/solenv/inc/_tg_scp.mk
new file mode 100644
index 000000000000..6dfcaffae12d
--- /dev/null
+++ b/solenv/inc/_tg_scp.mk
@@ -0,0 +1,140 @@
+# unroll begin
+
+.IF "$(SCP1TARGETN)"!=""
+
+ALLSCP1FILES=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP1TARGETN): $(ALLSCP1FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP1FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP2TARGETN)"!=""
+
+ALLSCP2FILES=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP2TARGETN): $(ALLSCP2FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP2FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP3TARGETN)"!=""
+
+ALLSCP3FILES=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP3TARGETN): $(ALLSCP3FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP3FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP4TARGETN)"!=""
+
+ALLSCP4FILES=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP4TARGETN): $(ALLSCP4FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP4FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP5TARGETN)"!=""
+
+ALLSCP5FILES=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP5TARGETN): $(ALLSCP5FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP5FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP6TARGETN)"!=""
+
+ALLSCP6FILES=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP6TARGETN): $(ALLSCP6FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP6FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP7TARGETN)"!=""
+
+ALLSCP7FILES=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP7TARGETN): $(ALLSCP7FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP7FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP8TARGETN)"!=""
+
+ALLSCP8FILES=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP8TARGETN): $(ALLSCP8FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP8FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP9TARGETN)"!=""
+
+ALLSCP9FILES=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP9TARGETN): $(ALLSCP9FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP9FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(SCP10TARGETN)"!=""
+
+ALLSCP10FILES=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP10TARGETN): $(ALLSCP10FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP10FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/_tg_shl.mk b/solenv/inc/_tg_shl.mk
new file mode 100644
index 000000000000..12db25ca35d7
--- /dev/null
+++ b/solenv/inc/_tg_shl.mk
@@ -0,0 +1,4000 @@
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL1STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL1STDLIBS=
+STDSHL=
+.ELSE
+SHL1ARCHIVES=
+.ENDIF
+
+SHL1DEF*=$(MISC)$/$(SHL1TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL1IMPLIB)" != ""
+USE_1IMPLIB=-implib:$(LB)$/$(SHL1IMPLIB).lib
+.ELSE # "$(SHL1IMPLIB)" != ""
+USE_1IMPLIB=-implib:$(LB)$/i$(TARGET)1.lib
+.ENDIF # "$(SHL1IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_1IMPLIB_DEPS=$(LB)$/$(SHL1IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL1DEF=$(SHL1DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL1DEF=
+SHL1DEPN+:=$(SHL1DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL1VERSIONMAP=$(MISC)$/$(SHL1TARGET).vmap
+
+.IF "$(USE_SHL1VERSIONMAP)"!=""
+
+.IF "$(DEF1EXPORTFILE)"!=""
+.IF "$(SHL1VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL1VERSIONMAP=$(MISC)$/$(SHL1TARGET).vmap
+$(USE_SHL1VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL1VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL1VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL1VERSIONMAP)
+.ENDIF
+
+$(USE_SHL1VERSIONMAP): \
+ $(SHL1OBJS)\
+ $(SHL1LIBS)\
+ $(DEF1EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL1OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL1OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL1OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL1LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF1EXPORTFILE) -o $@
+
+.ELSE # "$(DEF1EXPORTFILE)"!=""
+USE_SHL1VERSIONMAP=$(MISC)$/$(SHL1TARGET).vmap
+$(USE_SHL1VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF1EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF1EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL1VERSIONMAP)"!=""
+.IF "$(SHL1VERSIONMAP)"!=""
+USE_SHL1VERSIONMAP=$(MISC)$/$(SHL1VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL1VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL1VERSIONMAP)
+.ENDIF
+
+$(USE_SHL1VERSIONMAP): $(SHL1VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL1VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL1VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL1RES)"!=""
+SHL1RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL1RES))
+SHL1ALLRES+=$(SHL1RES)
+SHL1LINKRES*=$(MISC)$/$(SHL1TARGET).res
+.ENDIF # "$(SHL1RES)"!=""
+.ENDIF
+
+.IF "$(SHL1DEFAULTRES)$(use_shl_versions)"!=""
+SHL1DEFAULTRES*=$(MISC)$/$(SHL1TARGET)_def.res
+SHL1ALLRES+=$(SHL1DEFAULTRES)
+SHL1LINKRES*=$(MISC)$/$(SHL1TARGET).res
+.ENDIF # "$(SHL1DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL1TARGETN)"!=""
+$(SHL1TARGETN) : \
+ $(SHL1OBJS)\
+ $(SHL1LIBS)\
+ $(USE_1IMPLIB_DEPS)\
+ $(USE_SHL1DEF)\
+ $(USE_SHL1VERSIONMAP)\
+ $(SHL1RES)\
+ $(SHL1DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL1TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL1OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL1LIBS:+"+\n") $(SHL1STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL1DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL1LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL1STDLIBS:^"-l") $(SHL1OBJS) $(VERSIONOBJ) $(SHL1DEF)
+.ENDIF
+.IF "$(SHL1RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL1RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL1OBJS), $@, $(MISC)\$(@:b).map, $(SHL1LIBS) $(SHL1STDLIBS) $(STDSHL), $(SHL1DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL1DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL1DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL1ICON)" != ""
+ @-+echo 1 ICON $(SHL1ICON) >> $(MISC)$/$(SHL1DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL1DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL1TARGET)$(DLLPOST) >> $(MISC)$/$(SHL1DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL1TARGET:b) >> $(MISC)$/$(SHL1DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL1DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL1DEFAULTRES:b).rc
+.ENDIF # "$(SHL1DEFAULTRES)"!=""
+.IF "$(SHL1ALLRES)"!=""
+ +$(COPY) /b $(SHL1ALLRES:s/res /res+/) $(SHL1LINKRES)
+.ENDIF # "$(SHL1ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL1STACK) $(SHL1BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL1TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL1DEF) \
+ $(USE_1IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL1OBJS) \
+ $(SHL1LIBS) \
+ $(SHL1STDLIBS) \
+ $(STDSHL) \
+ $(SHL1LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL1LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL1STDLIBS) $(STDSHL) $(SHL1RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL1STACK) $(SHL1BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL1DEF) \
+ $(USE_1IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL1OBJS) \
+ $(SHL1LIBS) \
+ $(SHL1STDLIBS) \
+ $(STDSHL) \
+ $(SHL1LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL1BASEX) \
+ $(SHL1STACK) -out:$(SHL1TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL1IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL1OBJS) $(VERSIONOBJ) \
+ $(SHL1LIBS) \
+ $(SHL1STDLIBS) \
+ $(STDSHL) \
+ $(SHL1LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL1BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL1STACK) -out:$(BIN)$/_$(SHL1TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL1IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL1OBJS) $(VERSIONOBJ) \
+ $(SHL1LIBS) \
+ $(SHL1STDLIBS) \
+ $(STDSHL) \
+ $(SHL1LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL1TARGET).lnk del $(MISC)$/$(SHL1TARGET).lnk
+ +if exist $(MISC)$/$(SHL1TARGET).lst del $(MISC)$/$(SHL1TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL1BASEX) \
+ $(SHL1STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL1IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL1OBJS) \
+ $(SHL1STDLIBS) \
+ $(STDSHL) \
+ $(SHL1LINKRES) \
+ ) >> $(MISC)$/$(SHL1TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL1TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL1TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL1VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL1OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL1LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL1STDLIBS) $(SHL1ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL1TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL1TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL1OBJS) `cat /dev/null $(SHL1LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL1STDLIBS) $(SHL1ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL1TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL1IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL1LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL1TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL1IMPLIBN): \
+ $(SHL1DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL1IMPLIBN): \
+ $(SHL1LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL1IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL1IMPLIBN) \
+ -def:$(SHL1DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL1TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL1DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL1TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL2STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL2STDLIBS=
+STDSHL=
+.ELSE
+SHL2ARCHIVES=
+.ENDIF
+
+SHL2DEF*=$(MISC)$/$(SHL2TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL2IMPLIB)" != ""
+USE_2IMPLIB=-implib:$(LB)$/$(SHL2IMPLIB).lib
+.ELSE # "$(SHL2IMPLIB)" != ""
+USE_2IMPLIB=-implib:$(LB)$/i$(TARGET)2.lib
+.ENDIF # "$(SHL2IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_2IMPLIB_DEPS=$(LB)$/$(SHL2IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL2DEF=$(SHL2DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL2DEF=
+SHL2DEPN+:=$(SHL2DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL2VERSIONMAP=$(MISC)$/$(SHL2TARGET).vmap
+
+.IF "$(USE_SHL2VERSIONMAP)"!=""
+
+.IF "$(DEF2EXPORTFILE)"!=""
+.IF "$(SHL2VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL2VERSIONMAP=$(MISC)$/$(SHL2TARGET).vmap
+$(USE_SHL2VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL2VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL2VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL2VERSIONMAP)
+.ENDIF
+
+$(USE_SHL2VERSIONMAP): \
+ $(SHL2OBJS)\
+ $(SHL2LIBS)\
+ $(DEF2EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL2OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL2OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL2OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL2LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF2EXPORTFILE) -o $@
+
+.ELSE # "$(DEF2EXPORTFILE)"!=""
+USE_SHL2VERSIONMAP=$(MISC)$/$(SHL2TARGET).vmap
+$(USE_SHL2VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF2EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF2EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL2VERSIONMAP)"!=""
+.IF "$(SHL2VERSIONMAP)"!=""
+USE_SHL2VERSIONMAP=$(MISC)$/$(SHL2VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL2VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL2VERSIONMAP)
+.ENDIF
+
+$(USE_SHL2VERSIONMAP): $(SHL2VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL2VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL2VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL2RES)"!=""
+SHL2RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL2RES))
+SHL2ALLRES+=$(SHL2RES)
+SHL2LINKRES*=$(MISC)$/$(SHL2TARGET).res
+.ENDIF # "$(SHL2RES)"!=""
+.ENDIF
+
+.IF "$(SHL2DEFAULTRES)$(use_shl_versions)"!=""
+SHL2DEFAULTRES*=$(MISC)$/$(SHL2TARGET)_def.res
+SHL2ALLRES+=$(SHL2DEFAULTRES)
+SHL2LINKRES*=$(MISC)$/$(SHL2TARGET).res
+.ENDIF # "$(SHL2DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL2TARGETN)"!=""
+$(SHL2TARGETN) : \
+ $(SHL2OBJS)\
+ $(SHL2LIBS)\
+ $(USE_2IMPLIB_DEPS)\
+ $(USE_SHL2DEF)\
+ $(USE_SHL2VERSIONMAP)\
+ $(SHL2RES)\
+ $(SHL2DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL2TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL2OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL2LIBS:+"+\n") $(SHL2STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL2DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL2LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL2STDLIBS:^"-l") $(SHL2OBJS) $(VERSIONOBJ) $(SHL2DEF)
+.ENDIF
+.IF "$(SHL2RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL2RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL2OBJS), $@, $(MISC)\$(@:b).map, $(SHL2LIBS) $(SHL2STDLIBS) $(STDSHL), $(SHL2DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL2DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL2DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL2ICON)" != ""
+ @-+echo 1 ICON $(SHL2ICON) >> $(MISC)$/$(SHL2DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL2DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL2TARGET)$(DLLPOST) >> $(MISC)$/$(SHL2DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL2TARGET:b) >> $(MISC)$/$(SHL2DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL2DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL2DEFAULTRES:b).rc
+.ENDIF # "$(SHL2DEFAULTRES)"!=""
+.IF "$(SHL2ALLRES)"!=""
+ +$(COPY) /b $(SHL2ALLRES:s/res /res+/) $(SHL2LINKRES)
+.ENDIF # "$(SHL2ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL2STACK) $(SHL2BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL2TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL2DEF) \
+ $(USE_2IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL2OBJS) \
+ $(SHL2LIBS) \
+ $(SHL2STDLIBS) \
+ $(STDSHL) \
+ $(SHL2LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL2LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL2STDLIBS) $(STDSHL) $(SHL2RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL2STACK) $(SHL2BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL2DEF) \
+ $(USE_2IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL2OBJS) \
+ $(SHL2LIBS) \
+ $(SHL2STDLIBS) \
+ $(STDSHL) \
+ $(SHL2LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL2BASEX) \
+ $(SHL2STACK) -out:$(SHL2TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL2IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL2OBJS) $(VERSIONOBJ) \
+ $(SHL2LIBS) \
+ $(SHL2STDLIBS) \
+ $(STDSHL) \
+ $(SHL2LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL2BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL2STACK) -out:$(BIN)$/_$(SHL2TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL2IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL2OBJS) $(VERSIONOBJ) \
+ $(SHL2LIBS) \
+ $(SHL2STDLIBS) \
+ $(STDSHL) \
+ $(SHL2LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL2TARGET).lnk del $(MISC)$/$(SHL2TARGET).lnk
+ +if exist $(MISC)$/$(SHL2TARGET).lst del $(MISC)$/$(SHL2TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL2BASEX) \
+ $(SHL2STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL2IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL2OBJS) \
+ $(SHL2STDLIBS) \
+ $(STDSHL) \
+ $(SHL2LINKRES) \
+ ) >> $(MISC)$/$(SHL2TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL2TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL2TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL2VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL2OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL2LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL2STDLIBS) $(SHL2ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL2TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL2TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL2OBJS) `cat /dev/null $(SHL2LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL2STDLIBS) $(SHL2ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL2TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL2IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL2LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL2TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL2IMPLIBN): \
+ $(SHL2DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL2IMPLIBN): \
+ $(SHL2LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL2IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL2IMPLIBN) \
+ -def:$(SHL2DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL2TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL2DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL2TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL3STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL3STDLIBS=
+STDSHL=
+.ELSE
+SHL3ARCHIVES=
+.ENDIF
+
+SHL3DEF*=$(MISC)$/$(SHL3TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL3IMPLIB)" != ""
+USE_3IMPLIB=-implib:$(LB)$/$(SHL3IMPLIB).lib
+.ELSE # "$(SHL3IMPLIB)" != ""
+USE_3IMPLIB=-implib:$(LB)$/i$(TARGET)3.lib
+.ENDIF # "$(SHL3IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_3IMPLIB_DEPS=$(LB)$/$(SHL3IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL3DEF=$(SHL3DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL3DEF=
+SHL3DEPN+:=$(SHL3DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL3VERSIONMAP=$(MISC)$/$(SHL3TARGET).vmap
+
+.IF "$(USE_SHL3VERSIONMAP)"!=""
+
+.IF "$(DEF3EXPORTFILE)"!=""
+.IF "$(SHL3VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL3VERSIONMAP=$(MISC)$/$(SHL3TARGET).vmap
+$(USE_SHL3VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL3VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL3VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL3VERSIONMAP)
+.ENDIF
+
+$(USE_SHL3VERSIONMAP): \
+ $(SHL3OBJS)\
+ $(SHL3LIBS)\
+ $(DEF3EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL3OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL3OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL3OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL3LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF3EXPORTFILE) -o $@
+
+.ELSE # "$(DEF3EXPORTFILE)"!=""
+USE_SHL3VERSIONMAP=$(MISC)$/$(SHL3TARGET).vmap
+$(USE_SHL3VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF3EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF3EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL3VERSIONMAP)"!=""
+.IF "$(SHL3VERSIONMAP)"!=""
+USE_SHL3VERSIONMAP=$(MISC)$/$(SHL3VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL3VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL3VERSIONMAP)
+.ENDIF
+
+$(USE_SHL3VERSIONMAP): $(SHL3VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL3VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL3VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL3RES)"!=""
+SHL3RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL3RES))
+SHL3ALLRES+=$(SHL3RES)
+SHL3LINKRES*=$(MISC)$/$(SHL3TARGET).res
+.ENDIF # "$(SHL3RES)"!=""
+.ENDIF
+
+.IF "$(SHL3DEFAULTRES)$(use_shl_versions)"!=""
+SHL3DEFAULTRES*=$(MISC)$/$(SHL3TARGET)_def.res
+SHL3ALLRES+=$(SHL3DEFAULTRES)
+SHL3LINKRES*=$(MISC)$/$(SHL3TARGET).res
+.ENDIF # "$(SHL3DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL3TARGETN)"!=""
+$(SHL3TARGETN) : \
+ $(SHL3OBJS)\
+ $(SHL3LIBS)\
+ $(USE_3IMPLIB_DEPS)\
+ $(USE_SHL3DEF)\
+ $(USE_SHL3VERSIONMAP)\
+ $(SHL3RES)\
+ $(SHL3DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL3TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL3OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL3LIBS:+"+\n") $(SHL3STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL3DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL3LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL3STDLIBS:^"-l") $(SHL3OBJS) $(VERSIONOBJ) $(SHL3DEF)
+.ENDIF
+.IF "$(SHL3RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL3RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL3OBJS), $@, $(MISC)\$(@:b).map, $(SHL3LIBS) $(SHL3STDLIBS) $(STDSHL), $(SHL3DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL3DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL3DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL3ICON)" != ""
+ @-+echo 1 ICON $(SHL3ICON) >> $(MISC)$/$(SHL3DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL3DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL3TARGET)$(DLLPOST) >> $(MISC)$/$(SHL3DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL3TARGET:b) >> $(MISC)$/$(SHL3DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL3DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL3DEFAULTRES:b).rc
+.ENDIF # "$(SHL3DEFAULTRES)"!=""
+.IF "$(SHL3ALLRES)"!=""
+ +$(COPY) /b $(SHL3ALLRES:s/res /res+/) $(SHL3LINKRES)
+.ENDIF # "$(SHL3ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL3STACK) $(SHL3BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL3TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL3DEF) \
+ $(USE_3IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL3OBJS) \
+ $(SHL3LIBS) \
+ $(SHL3STDLIBS) \
+ $(STDSHL) \
+ $(SHL3LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL3LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL3STDLIBS) $(STDSHL) $(SHL3RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL3STACK) $(SHL3BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL3DEF) \
+ $(USE_3IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL3OBJS) \
+ $(SHL3LIBS) \
+ $(SHL3STDLIBS) \
+ $(STDSHL) \
+ $(SHL3LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL3BASEX) \
+ $(SHL3STACK) -out:$(SHL3TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL3IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL3OBJS) $(VERSIONOBJ) \
+ $(SHL3LIBS) \
+ $(SHL3STDLIBS) \
+ $(STDSHL) \
+ $(SHL3LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL3BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL3STACK) -out:$(BIN)$/_$(SHL3TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL3IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL3OBJS) $(VERSIONOBJ) \
+ $(SHL3LIBS) \
+ $(SHL3STDLIBS) \
+ $(STDSHL) \
+ $(SHL3LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL3TARGET).lnk del $(MISC)$/$(SHL3TARGET).lnk
+ +if exist $(MISC)$/$(SHL3TARGET).lst del $(MISC)$/$(SHL3TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL3BASEX) \
+ $(SHL3STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL3IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL3OBJS) \
+ $(SHL3STDLIBS) \
+ $(STDSHL) \
+ $(SHL3LINKRES) \
+ ) >> $(MISC)$/$(SHL3TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL3TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL3TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL3VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL3OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL3LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL3STDLIBS) $(SHL3ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL3TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL3TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL3OBJS) `cat /dev/null $(SHL3LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL3STDLIBS) $(SHL3ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL3TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL3IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL3LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL3TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL3IMPLIBN): \
+ $(SHL3DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL3IMPLIBN): \
+ $(SHL3LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL3IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL3IMPLIBN) \
+ -def:$(SHL3DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL3TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL3DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL3TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL4STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL4STDLIBS=
+STDSHL=
+.ELSE
+SHL4ARCHIVES=
+.ENDIF
+
+SHL4DEF*=$(MISC)$/$(SHL4TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL4IMPLIB)" != ""
+USE_4IMPLIB=-implib:$(LB)$/$(SHL4IMPLIB).lib
+.ELSE # "$(SHL4IMPLIB)" != ""
+USE_4IMPLIB=-implib:$(LB)$/i$(TARGET)4.lib
+.ENDIF # "$(SHL4IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_4IMPLIB_DEPS=$(LB)$/$(SHL4IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL4DEF=$(SHL4DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL4DEF=
+SHL4DEPN+:=$(SHL4DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL4VERSIONMAP=$(MISC)$/$(SHL4TARGET).vmap
+
+.IF "$(USE_SHL4VERSIONMAP)"!=""
+
+.IF "$(DEF4EXPORTFILE)"!=""
+.IF "$(SHL4VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL4VERSIONMAP=$(MISC)$/$(SHL4TARGET).vmap
+$(USE_SHL4VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL4VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL4VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL4VERSIONMAP)
+.ENDIF
+
+$(USE_SHL4VERSIONMAP): \
+ $(SHL4OBJS)\
+ $(SHL4LIBS)\
+ $(DEF4EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL4OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL4OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL4OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL4LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF4EXPORTFILE) -o $@
+
+.ELSE # "$(DEF4EXPORTFILE)"!=""
+USE_SHL4VERSIONMAP=$(MISC)$/$(SHL4TARGET).vmap
+$(USE_SHL4VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF4EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF4EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL4VERSIONMAP)"!=""
+.IF "$(SHL4VERSIONMAP)"!=""
+USE_SHL4VERSIONMAP=$(MISC)$/$(SHL4VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL4VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL4VERSIONMAP)
+.ENDIF
+
+$(USE_SHL4VERSIONMAP): $(SHL4VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL4VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL4VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL4RES)"!=""
+SHL4RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL4RES))
+SHL4ALLRES+=$(SHL4RES)
+SHL4LINKRES*=$(MISC)$/$(SHL4TARGET).res
+.ENDIF # "$(SHL4RES)"!=""
+.ENDIF
+
+.IF "$(SHL4DEFAULTRES)$(use_shl_versions)"!=""
+SHL4DEFAULTRES*=$(MISC)$/$(SHL4TARGET)_def.res
+SHL4ALLRES+=$(SHL4DEFAULTRES)
+SHL4LINKRES*=$(MISC)$/$(SHL4TARGET).res
+.ENDIF # "$(SHL4DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL4TARGETN)"!=""
+$(SHL4TARGETN) : \
+ $(SHL4OBJS)\
+ $(SHL4LIBS)\
+ $(USE_4IMPLIB_DEPS)\
+ $(USE_SHL4DEF)\
+ $(USE_SHL4VERSIONMAP)\
+ $(SHL4RES)\
+ $(SHL4DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL4TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL4OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL4LIBS:+"+\n") $(SHL4STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL4DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL4LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL4STDLIBS:^"-l") $(SHL4OBJS) $(VERSIONOBJ) $(SHL4DEF)
+.ENDIF
+.IF "$(SHL4RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL4RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL4OBJS), $@, $(MISC)\$(@:b).map, $(SHL4LIBS) $(SHL4STDLIBS) $(STDSHL), $(SHL4DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL4DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL4DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL4ICON)" != ""
+ @-+echo 1 ICON $(SHL4ICON) >> $(MISC)$/$(SHL4DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL4DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL4TARGET)$(DLLPOST) >> $(MISC)$/$(SHL4DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL4TARGET:b) >> $(MISC)$/$(SHL4DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL4DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL4DEFAULTRES:b).rc
+.ENDIF # "$(SHL4DEFAULTRES)"!=""
+.IF "$(SHL4ALLRES)"!=""
+ +$(COPY) /b $(SHL4ALLRES:s/res /res+/) $(SHL4LINKRES)
+.ENDIF # "$(SHL4ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL4STACK) $(SHL4BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL4TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL4DEF) \
+ $(USE_4IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL4OBJS) \
+ $(SHL4LIBS) \
+ $(SHL4STDLIBS) \
+ $(STDSHL) \
+ $(SHL4LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL4LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL4STDLIBS) $(STDSHL) $(SHL4RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL4STACK) $(SHL4BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL4DEF) \
+ $(USE_4IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL4OBJS) \
+ $(SHL4LIBS) \
+ $(SHL4STDLIBS) \
+ $(STDSHL) \
+ $(SHL4LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL4BASEX) \
+ $(SHL4STACK) -out:$(SHL4TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL4IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL4OBJS) $(VERSIONOBJ) \
+ $(SHL4LIBS) \
+ $(SHL4STDLIBS) \
+ $(STDSHL) \
+ $(SHL4LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL4BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL4STACK) -out:$(BIN)$/_$(SHL4TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL4IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL4OBJS) $(VERSIONOBJ) \
+ $(SHL4LIBS) \
+ $(SHL4STDLIBS) \
+ $(STDSHL) \
+ $(SHL4LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL4TARGET).lnk del $(MISC)$/$(SHL4TARGET).lnk
+ +if exist $(MISC)$/$(SHL4TARGET).lst del $(MISC)$/$(SHL4TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL4BASEX) \
+ $(SHL4STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL4IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL4OBJS) \
+ $(SHL4STDLIBS) \
+ $(STDSHL) \
+ $(SHL4LINKRES) \
+ ) >> $(MISC)$/$(SHL4TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL4TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL4TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL4VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL4OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL4LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL4STDLIBS) $(SHL4ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL4TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL4TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL4OBJS) `cat /dev/null $(SHL4LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL4STDLIBS) $(SHL4ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL4TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL4IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL4LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL4TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL4IMPLIBN): \
+ $(SHL4DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL4IMPLIBN): \
+ $(SHL4LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL4IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL4IMPLIBN) \
+ -def:$(SHL4DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL4TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL4DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL4TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL5STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL5STDLIBS=
+STDSHL=
+.ELSE
+SHL5ARCHIVES=
+.ENDIF
+
+SHL5DEF*=$(MISC)$/$(SHL5TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL5IMPLIB)" != ""
+USE_5IMPLIB=-implib:$(LB)$/$(SHL5IMPLIB).lib
+.ELSE # "$(SHL5IMPLIB)" != ""
+USE_5IMPLIB=-implib:$(LB)$/i$(TARGET)5.lib
+.ENDIF # "$(SHL5IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_5IMPLIB_DEPS=$(LB)$/$(SHL5IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL5DEF=$(SHL5DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL5DEF=
+SHL5DEPN+:=$(SHL5DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL5VERSIONMAP=$(MISC)$/$(SHL5TARGET).vmap
+
+.IF "$(USE_SHL5VERSIONMAP)"!=""
+
+.IF "$(DEF5EXPORTFILE)"!=""
+.IF "$(SHL5VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL5VERSIONMAP=$(MISC)$/$(SHL5TARGET).vmap
+$(USE_SHL5VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL5VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL5VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL5VERSIONMAP)
+.ENDIF
+
+$(USE_SHL5VERSIONMAP): \
+ $(SHL5OBJS)\
+ $(SHL5LIBS)\
+ $(DEF5EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL5OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL5OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL5OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL5LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF5EXPORTFILE) -o $@
+
+.ELSE # "$(DEF5EXPORTFILE)"!=""
+USE_SHL5VERSIONMAP=$(MISC)$/$(SHL5TARGET).vmap
+$(USE_SHL5VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF5EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF5EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL5VERSIONMAP)"!=""
+.IF "$(SHL5VERSIONMAP)"!=""
+USE_SHL5VERSIONMAP=$(MISC)$/$(SHL5VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL5VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL5VERSIONMAP)
+.ENDIF
+
+$(USE_SHL5VERSIONMAP): $(SHL5VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL5VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL5VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL5RES)"!=""
+SHL5RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL5RES))
+SHL5ALLRES+=$(SHL5RES)
+SHL5LINKRES*=$(MISC)$/$(SHL5TARGET).res
+.ENDIF # "$(SHL5RES)"!=""
+.ENDIF
+
+.IF "$(SHL5DEFAULTRES)$(use_shl_versions)"!=""
+SHL5DEFAULTRES*=$(MISC)$/$(SHL5TARGET)_def.res
+SHL5ALLRES+=$(SHL5DEFAULTRES)
+SHL5LINKRES*=$(MISC)$/$(SHL5TARGET).res
+.ENDIF # "$(SHL5DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL5TARGETN)"!=""
+$(SHL5TARGETN) : \
+ $(SHL5OBJS)\
+ $(SHL5LIBS)\
+ $(USE_5IMPLIB_DEPS)\
+ $(USE_SHL5DEF)\
+ $(USE_SHL5VERSIONMAP)\
+ $(SHL5RES)\
+ $(SHL5DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL5TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL5OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL5LIBS:+"+\n") $(SHL5STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL5DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL5LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL5STDLIBS:^"-l") $(SHL5OBJS) $(VERSIONOBJ) $(SHL5DEF)
+.ENDIF
+.IF "$(SHL5RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL5RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL5OBJS), $@, $(MISC)\$(@:b).map, $(SHL5LIBS) $(SHL5STDLIBS) $(STDSHL), $(SHL5DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL5DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL5DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL5ICON)" != ""
+ @-+echo 1 ICON $(SHL5ICON) >> $(MISC)$/$(SHL5DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL5DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL5TARGET)$(DLLPOST) >> $(MISC)$/$(SHL5DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL5TARGET:b) >> $(MISC)$/$(SHL5DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL5DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL5DEFAULTRES:b).rc
+.ENDIF # "$(SHL5DEFAULTRES)"!=""
+.IF "$(SHL5ALLRES)"!=""
+ +$(COPY) /b $(SHL5ALLRES:s/res /res+/) $(SHL5LINKRES)
+.ENDIF # "$(SHL5ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL5STACK) $(SHL5BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL5TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL5DEF) \
+ $(USE_5IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL5OBJS) \
+ $(SHL5LIBS) \
+ $(SHL5STDLIBS) \
+ $(STDSHL) \
+ $(SHL5LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL5LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL5STDLIBS) $(STDSHL) $(SHL5RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL5STACK) $(SHL5BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL5DEF) \
+ $(USE_5IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL5OBJS) \
+ $(SHL5LIBS) \
+ $(SHL5STDLIBS) \
+ $(STDSHL) \
+ $(SHL5LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL5BASEX) \
+ $(SHL5STACK) -out:$(SHL5TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL5IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL5OBJS) $(VERSIONOBJ) \
+ $(SHL5LIBS) \
+ $(SHL5STDLIBS) \
+ $(STDSHL) \
+ $(SHL5LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL5BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL5STACK) -out:$(BIN)$/_$(SHL5TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL5IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL5OBJS) $(VERSIONOBJ) \
+ $(SHL5LIBS) \
+ $(SHL5STDLIBS) \
+ $(STDSHL) \
+ $(SHL5LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL5TARGET).lnk del $(MISC)$/$(SHL5TARGET).lnk
+ +if exist $(MISC)$/$(SHL5TARGET).lst del $(MISC)$/$(SHL5TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL5BASEX) \
+ $(SHL5STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL5IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL5OBJS) \
+ $(SHL5STDLIBS) \
+ $(STDSHL) \
+ $(SHL5LINKRES) \
+ ) >> $(MISC)$/$(SHL5TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL5TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL5TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL5VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL5OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL5LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL5STDLIBS) $(SHL5ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL5TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL5TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL5OBJS) `cat /dev/null $(SHL5LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL5STDLIBS) $(SHL5ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL5TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL5IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL5LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL5TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL5IMPLIBN): \
+ $(SHL5DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL5IMPLIBN): \
+ $(SHL5LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL5IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL5IMPLIBN) \
+ -def:$(SHL5DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL5TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL5DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL5TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL6STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL6STDLIBS=
+STDSHL=
+.ELSE
+SHL6ARCHIVES=
+.ENDIF
+
+SHL6DEF*=$(MISC)$/$(SHL6TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL6IMPLIB)" != ""
+USE_6IMPLIB=-implib:$(LB)$/$(SHL6IMPLIB).lib
+.ELSE # "$(SHL6IMPLIB)" != ""
+USE_6IMPLIB=-implib:$(LB)$/i$(TARGET)6.lib
+.ENDIF # "$(SHL6IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_6IMPLIB_DEPS=$(LB)$/$(SHL6IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL6DEF=$(SHL6DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL6DEF=
+SHL6DEPN+:=$(SHL6DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL6VERSIONMAP=$(MISC)$/$(SHL6TARGET).vmap
+
+.IF "$(USE_SHL6VERSIONMAP)"!=""
+
+.IF "$(DEF6EXPORTFILE)"!=""
+.IF "$(SHL6VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL6VERSIONMAP=$(MISC)$/$(SHL6TARGET).vmap
+$(USE_SHL6VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL6VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL6VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL6VERSIONMAP)
+.ENDIF
+
+$(USE_SHL6VERSIONMAP): \
+ $(SHL6OBJS)\
+ $(SHL6LIBS)\
+ $(DEF6EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL6OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL6OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL6OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL6LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF6EXPORTFILE) -o $@
+
+.ELSE # "$(DEF6EXPORTFILE)"!=""
+USE_SHL6VERSIONMAP=$(MISC)$/$(SHL6TARGET).vmap
+$(USE_SHL6VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF6EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF6EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL6VERSIONMAP)"!=""
+.IF "$(SHL6VERSIONMAP)"!=""
+USE_SHL6VERSIONMAP=$(MISC)$/$(SHL6VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL6VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL6VERSIONMAP)
+.ENDIF
+
+$(USE_SHL6VERSIONMAP): $(SHL6VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL6VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL6VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL6RES)"!=""
+SHL6RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL6RES))
+SHL6ALLRES+=$(SHL6RES)
+SHL6LINKRES*=$(MISC)$/$(SHL6TARGET).res
+.ENDIF # "$(SHL6RES)"!=""
+.ENDIF
+
+.IF "$(SHL6DEFAULTRES)$(use_shl_versions)"!=""
+SHL6DEFAULTRES*=$(MISC)$/$(SHL6TARGET)_def.res
+SHL6ALLRES+=$(SHL6DEFAULTRES)
+SHL6LINKRES*=$(MISC)$/$(SHL6TARGET).res
+.ENDIF # "$(SHL6DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL6TARGETN)"!=""
+$(SHL6TARGETN) : \
+ $(SHL6OBJS)\
+ $(SHL6LIBS)\
+ $(USE_6IMPLIB_DEPS)\
+ $(USE_SHL6DEF)\
+ $(USE_SHL6VERSIONMAP)\
+ $(SHL6RES)\
+ $(SHL6DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL6TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL6OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL6LIBS:+"+\n") $(SHL6STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL6DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL6LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL6STDLIBS:^"-l") $(SHL6OBJS) $(VERSIONOBJ) $(SHL6DEF)
+.ENDIF
+.IF "$(SHL6RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL6RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL6OBJS), $@, $(MISC)\$(@:b).map, $(SHL6LIBS) $(SHL6STDLIBS) $(STDSHL), $(SHL6DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL6DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL6DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL6ICON)" != ""
+ @-+echo 1 ICON $(SHL6ICON) >> $(MISC)$/$(SHL6DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL6DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL6TARGET)$(DLLPOST) >> $(MISC)$/$(SHL6DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL6TARGET:b) >> $(MISC)$/$(SHL6DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL6DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL6DEFAULTRES:b).rc
+.ENDIF # "$(SHL6DEFAULTRES)"!=""
+.IF "$(SHL6ALLRES)"!=""
+ +$(COPY) /b $(SHL6ALLRES:s/res /res+/) $(SHL6LINKRES)
+.ENDIF # "$(SHL6ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL6STACK) $(SHL6BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL6TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL6DEF) \
+ $(USE_6IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL6OBJS) \
+ $(SHL6LIBS) \
+ $(SHL6STDLIBS) \
+ $(STDSHL) \
+ $(SHL6LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL6LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL6STDLIBS) $(STDSHL) $(SHL6RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL6STACK) $(SHL6BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL6DEF) \
+ $(USE_6IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL6OBJS) \
+ $(SHL6LIBS) \
+ $(SHL6STDLIBS) \
+ $(STDSHL) \
+ $(SHL6LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL6BASEX) \
+ $(SHL6STACK) -out:$(SHL6TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL6IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL6OBJS) $(VERSIONOBJ) \
+ $(SHL6LIBS) \
+ $(SHL6STDLIBS) \
+ $(STDSHL) \
+ $(SHL6LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL6BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL6STACK) -out:$(BIN)$/_$(SHL6TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL6IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL6OBJS) $(VERSIONOBJ) \
+ $(SHL6LIBS) \
+ $(SHL6STDLIBS) \
+ $(STDSHL) \
+ $(SHL6LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL6TARGET).lnk del $(MISC)$/$(SHL6TARGET).lnk
+ +if exist $(MISC)$/$(SHL6TARGET).lst del $(MISC)$/$(SHL6TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL6BASEX) \
+ $(SHL6STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL6IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL6OBJS) \
+ $(SHL6STDLIBS) \
+ $(STDSHL) \
+ $(SHL6LINKRES) \
+ ) >> $(MISC)$/$(SHL6TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL6TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL6TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL6VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL6OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL6LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL6STDLIBS) $(SHL6ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL6TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL6TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL6OBJS) `cat /dev/null $(SHL6LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL6STDLIBS) $(SHL6ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL6TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL6IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL6LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL6TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL6IMPLIBN): \
+ $(SHL6DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL6IMPLIBN): \
+ $(SHL6LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL6IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL6IMPLIBN) \
+ -def:$(SHL6DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL6TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL6DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL6TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL7STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL7STDLIBS=
+STDSHL=
+.ELSE
+SHL7ARCHIVES=
+.ENDIF
+
+SHL7DEF*=$(MISC)$/$(SHL7TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL7IMPLIB)" != ""
+USE_7IMPLIB=-implib:$(LB)$/$(SHL7IMPLIB).lib
+.ELSE # "$(SHL7IMPLIB)" != ""
+USE_7IMPLIB=-implib:$(LB)$/i$(TARGET)7.lib
+.ENDIF # "$(SHL7IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_7IMPLIB_DEPS=$(LB)$/$(SHL7IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL7DEF=$(SHL7DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL7DEF=
+SHL7DEPN+:=$(SHL7DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL7VERSIONMAP=$(MISC)$/$(SHL7TARGET).vmap
+
+.IF "$(USE_SHL7VERSIONMAP)"!=""
+
+.IF "$(DEF7EXPORTFILE)"!=""
+.IF "$(SHL7VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL7VERSIONMAP=$(MISC)$/$(SHL7TARGET).vmap
+$(USE_SHL7VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL7VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL7VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL7VERSIONMAP)
+.ENDIF
+
+$(USE_SHL7VERSIONMAP): \
+ $(SHL7OBJS)\
+ $(SHL7LIBS)\
+ $(DEF7EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL7OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL7OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL7OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL7LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF7EXPORTFILE) -o $@
+
+.ELSE # "$(DEF7EXPORTFILE)"!=""
+USE_SHL7VERSIONMAP=$(MISC)$/$(SHL7TARGET).vmap
+$(USE_SHL7VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF7EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF7EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL7VERSIONMAP)"!=""
+.IF "$(SHL7VERSIONMAP)"!=""
+USE_SHL7VERSIONMAP=$(MISC)$/$(SHL7VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL7VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL7VERSIONMAP)
+.ENDIF
+
+$(USE_SHL7VERSIONMAP): $(SHL7VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL7VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL7VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL7RES)"!=""
+SHL7RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL7RES))
+SHL7ALLRES+=$(SHL7RES)
+SHL7LINKRES*=$(MISC)$/$(SHL7TARGET).res
+.ENDIF # "$(SHL7RES)"!=""
+.ENDIF
+
+.IF "$(SHL7DEFAULTRES)$(use_shl_versions)"!=""
+SHL7DEFAULTRES*=$(MISC)$/$(SHL7TARGET)_def.res
+SHL7ALLRES+=$(SHL7DEFAULTRES)
+SHL7LINKRES*=$(MISC)$/$(SHL7TARGET).res
+.ENDIF # "$(SHL7DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL7TARGETN)"!=""
+$(SHL7TARGETN) : \
+ $(SHL7OBJS)\
+ $(SHL7LIBS)\
+ $(USE_7IMPLIB_DEPS)\
+ $(USE_SHL7DEF)\
+ $(USE_SHL7VERSIONMAP)\
+ $(SHL7RES)\
+ $(SHL7DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL7TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL7OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL7LIBS:+"+\n") $(SHL7STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL7DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL7LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL7STDLIBS:^"-l") $(SHL7OBJS) $(VERSIONOBJ) $(SHL7DEF)
+.ENDIF
+.IF "$(SHL7RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL7RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL7OBJS), $@, $(MISC)\$(@:b).map, $(SHL7LIBS) $(SHL7STDLIBS) $(STDSHL), $(SHL7DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL7DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL7DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL7ICON)" != ""
+ @-+echo 1 ICON $(SHL7ICON) >> $(MISC)$/$(SHL7DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL7DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL7TARGET)$(DLLPOST) >> $(MISC)$/$(SHL7DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL7TARGET:b) >> $(MISC)$/$(SHL7DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL7DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL7DEFAULTRES:b).rc
+.ENDIF # "$(SHL7DEFAULTRES)"!=""
+.IF "$(SHL7ALLRES)"!=""
+ +$(COPY) /b $(SHL7ALLRES:s/res /res+/) $(SHL7LINKRES)
+.ENDIF # "$(SHL7ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL7STACK) $(SHL7BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL7TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL7DEF) \
+ $(USE_7IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL7OBJS) \
+ $(SHL7LIBS) \
+ $(SHL7STDLIBS) \
+ $(STDSHL) \
+ $(SHL7LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL7LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL7STDLIBS) $(STDSHL) $(SHL7RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL7STACK) $(SHL7BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL7DEF) \
+ $(USE_7IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL7OBJS) \
+ $(SHL7LIBS) \
+ $(SHL7STDLIBS) \
+ $(STDSHL) \
+ $(SHL7LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL7BASEX) \
+ $(SHL7STACK) -out:$(SHL7TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL7IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL7OBJS) $(VERSIONOBJ) \
+ $(SHL7LIBS) \
+ $(SHL7STDLIBS) \
+ $(STDSHL) \
+ $(SHL7LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL7BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL7STACK) -out:$(BIN)$/_$(SHL7TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL7IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL7OBJS) $(VERSIONOBJ) \
+ $(SHL7LIBS) \
+ $(SHL7STDLIBS) \
+ $(STDSHL) \
+ $(SHL7LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL7TARGET).lnk del $(MISC)$/$(SHL7TARGET).lnk
+ +if exist $(MISC)$/$(SHL7TARGET).lst del $(MISC)$/$(SHL7TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL7BASEX) \
+ $(SHL7STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL7IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL7OBJS) \
+ $(SHL7STDLIBS) \
+ $(STDSHL) \
+ $(SHL7LINKRES) \
+ ) >> $(MISC)$/$(SHL7TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL7TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL7TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL7VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL7OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL7LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL7STDLIBS) $(SHL7ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL7TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL7TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL7OBJS) `cat /dev/null $(SHL7LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL7STDLIBS) $(SHL7ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL7TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL7IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL7LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL7TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL7IMPLIBN): \
+ $(SHL7DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL7IMPLIBN): \
+ $(SHL7LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL7IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL7IMPLIBN) \
+ -def:$(SHL7DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL7TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL7DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL7TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL8STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL8STDLIBS=
+STDSHL=
+.ELSE
+SHL8ARCHIVES=
+.ENDIF
+
+SHL8DEF*=$(MISC)$/$(SHL8TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL8IMPLIB)" != ""
+USE_8IMPLIB=-implib:$(LB)$/$(SHL8IMPLIB).lib
+.ELSE # "$(SHL8IMPLIB)" != ""
+USE_8IMPLIB=-implib:$(LB)$/i$(TARGET)8.lib
+.ENDIF # "$(SHL8IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_8IMPLIB_DEPS=$(LB)$/$(SHL8IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL8DEF=$(SHL8DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL8DEF=
+SHL8DEPN+:=$(SHL8DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL8VERSIONMAP=$(MISC)$/$(SHL8TARGET).vmap
+
+.IF "$(USE_SHL8VERSIONMAP)"!=""
+
+.IF "$(DEF8EXPORTFILE)"!=""
+.IF "$(SHL8VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL8VERSIONMAP=$(MISC)$/$(SHL8TARGET).vmap
+$(USE_SHL8VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL8VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL8VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL8VERSIONMAP)
+.ENDIF
+
+$(USE_SHL8VERSIONMAP): \
+ $(SHL8OBJS)\
+ $(SHL8LIBS)\
+ $(DEF8EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL8OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL8OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL8OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL8LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF8EXPORTFILE) -o $@
+
+.ELSE # "$(DEF8EXPORTFILE)"!=""
+USE_SHL8VERSIONMAP=$(MISC)$/$(SHL8TARGET).vmap
+$(USE_SHL8VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF8EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF8EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL8VERSIONMAP)"!=""
+.IF "$(SHL8VERSIONMAP)"!=""
+USE_SHL8VERSIONMAP=$(MISC)$/$(SHL8VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL8VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL8VERSIONMAP)
+.ENDIF
+
+$(USE_SHL8VERSIONMAP): $(SHL8VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL8VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL8VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL8RES)"!=""
+SHL8RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL8RES))
+SHL8ALLRES+=$(SHL8RES)
+SHL8LINKRES*=$(MISC)$/$(SHL8TARGET).res
+.ENDIF # "$(SHL8RES)"!=""
+.ENDIF
+
+.IF "$(SHL8DEFAULTRES)$(use_shl_versions)"!=""
+SHL8DEFAULTRES*=$(MISC)$/$(SHL8TARGET)_def.res
+SHL8ALLRES+=$(SHL8DEFAULTRES)
+SHL8LINKRES*=$(MISC)$/$(SHL8TARGET).res
+.ENDIF # "$(SHL8DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL8TARGETN)"!=""
+$(SHL8TARGETN) : \
+ $(SHL8OBJS)\
+ $(SHL8LIBS)\
+ $(USE_8IMPLIB_DEPS)\
+ $(USE_SHL8DEF)\
+ $(USE_SHL8VERSIONMAP)\
+ $(SHL8RES)\
+ $(SHL8DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL8TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL8OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL8LIBS:+"+\n") $(SHL8STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL8DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL8LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL8STDLIBS:^"-l") $(SHL8OBJS) $(VERSIONOBJ) $(SHL8DEF)
+.ENDIF
+.IF "$(SHL8RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL8RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL8OBJS), $@, $(MISC)\$(@:b).map, $(SHL8LIBS) $(SHL8STDLIBS) $(STDSHL), $(SHL8DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL8DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL8DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL8ICON)" != ""
+ @-+echo 1 ICON $(SHL8ICON) >> $(MISC)$/$(SHL8DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL8DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL8TARGET)$(DLLPOST) >> $(MISC)$/$(SHL8DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL8TARGET:b) >> $(MISC)$/$(SHL8DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL8DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL8DEFAULTRES:b).rc
+.ENDIF # "$(SHL8DEFAULTRES)"!=""
+.IF "$(SHL8ALLRES)"!=""
+ +$(COPY) /b $(SHL8ALLRES:s/res /res+/) $(SHL8LINKRES)
+.ENDIF # "$(SHL8ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL8STACK) $(SHL8BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL8TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL8DEF) \
+ $(USE_8IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL8OBJS) \
+ $(SHL8LIBS) \
+ $(SHL8STDLIBS) \
+ $(STDSHL) \
+ $(SHL8LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL8LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL8STDLIBS) $(STDSHL) $(SHL8RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL8STACK) $(SHL8BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL8DEF) \
+ $(USE_8IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL8OBJS) \
+ $(SHL8LIBS) \
+ $(SHL8STDLIBS) \
+ $(STDSHL) \
+ $(SHL8LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL8BASEX) \
+ $(SHL8STACK) -out:$(SHL8TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL8IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL8OBJS) $(VERSIONOBJ) \
+ $(SHL8LIBS) \
+ $(SHL8STDLIBS) \
+ $(STDSHL) \
+ $(SHL8LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL8BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL8STACK) -out:$(BIN)$/_$(SHL8TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL8IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL8OBJS) $(VERSIONOBJ) \
+ $(SHL8LIBS) \
+ $(SHL8STDLIBS) \
+ $(STDSHL) \
+ $(SHL8LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL8TARGET).lnk del $(MISC)$/$(SHL8TARGET).lnk
+ +if exist $(MISC)$/$(SHL8TARGET).lst del $(MISC)$/$(SHL8TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL8BASEX) \
+ $(SHL8STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL8IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL8OBJS) \
+ $(SHL8STDLIBS) \
+ $(STDSHL) \
+ $(SHL8LINKRES) \
+ ) >> $(MISC)$/$(SHL8TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL8TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL8TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL8VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL8OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL8LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL8STDLIBS) $(SHL8ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL8TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL8TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL8OBJS) `cat /dev/null $(SHL8LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL8STDLIBS) $(SHL8ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL8TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL8IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL8LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL8TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL8IMPLIBN): \
+ $(SHL8DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL8IMPLIBN): \
+ $(SHL8LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL8IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL8IMPLIBN) \
+ -def:$(SHL8DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL8TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL8DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL8TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL9STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL9STDLIBS=
+STDSHL=
+.ELSE
+SHL9ARCHIVES=
+.ENDIF
+
+SHL9DEF*=$(MISC)$/$(SHL9TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL9IMPLIB)" != ""
+USE_9IMPLIB=-implib:$(LB)$/$(SHL9IMPLIB).lib
+.ELSE # "$(SHL9IMPLIB)" != ""
+USE_9IMPLIB=-implib:$(LB)$/i$(TARGET)9.lib
+.ENDIF # "$(SHL9IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_9IMPLIB_DEPS=$(LB)$/$(SHL9IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL9DEF=$(SHL9DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL9DEF=
+SHL9DEPN+:=$(SHL9DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL9VERSIONMAP=$(MISC)$/$(SHL9TARGET).vmap
+
+.IF "$(USE_SHL9VERSIONMAP)"!=""
+
+.IF "$(DEF9EXPORTFILE)"!=""
+.IF "$(SHL9VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL9VERSIONMAP=$(MISC)$/$(SHL9TARGET).vmap
+$(USE_SHL9VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL9VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL9VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL9VERSIONMAP)
+.ENDIF
+
+$(USE_SHL9VERSIONMAP): \
+ $(SHL9OBJS)\
+ $(SHL9LIBS)\
+ $(DEF9EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL9OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL9OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL9OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL9LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF9EXPORTFILE) -o $@
+
+.ELSE # "$(DEF9EXPORTFILE)"!=""
+USE_SHL9VERSIONMAP=$(MISC)$/$(SHL9TARGET).vmap
+$(USE_SHL9VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF9EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF9EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL9VERSIONMAP)"!=""
+.IF "$(SHL9VERSIONMAP)"!=""
+USE_SHL9VERSIONMAP=$(MISC)$/$(SHL9VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL9VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL9VERSIONMAP)
+.ENDIF
+
+$(USE_SHL9VERSIONMAP): $(SHL9VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL9VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL9VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL9RES)"!=""
+SHL9RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL9RES))
+SHL9ALLRES+=$(SHL9RES)
+SHL9LINKRES*=$(MISC)$/$(SHL9TARGET).res
+.ENDIF # "$(SHL9RES)"!=""
+.ENDIF
+
+.IF "$(SHL9DEFAULTRES)$(use_shl_versions)"!=""
+SHL9DEFAULTRES*=$(MISC)$/$(SHL9TARGET)_def.res
+SHL9ALLRES+=$(SHL9DEFAULTRES)
+SHL9LINKRES*=$(MISC)$/$(SHL9TARGET).res
+.ENDIF # "$(SHL9DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL9TARGETN)"!=""
+$(SHL9TARGETN) : \
+ $(SHL9OBJS)\
+ $(SHL9LIBS)\
+ $(USE_9IMPLIB_DEPS)\
+ $(USE_SHL9DEF)\
+ $(USE_SHL9VERSIONMAP)\
+ $(SHL9RES)\
+ $(SHL9DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL9TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL9OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL9LIBS:+"+\n") $(SHL9STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL9DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL9LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL9STDLIBS:^"-l") $(SHL9OBJS) $(VERSIONOBJ) $(SHL9DEF)
+.ENDIF
+.IF "$(SHL9RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL9RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL9OBJS), $@, $(MISC)\$(@:b).map, $(SHL9LIBS) $(SHL9STDLIBS) $(STDSHL), $(SHL9DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL9DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL9DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL9ICON)" != ""
+ @-+echo 1 ICON $(SHL9ICON) >> $(MISC)$/$(SHL9DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL9DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL9TARGET)$(DLLPOST) >> $(MISC)$/$(SHL9DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL9TARGET:b) >> $(MISC)$/$(SHL9DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL9DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL9DEFAULTRES:b).rc
+.ENDIF # "$(SHL9DEFAULTRES)"!=""
+.IF "$(SHL9ALLRES)"!=""
+ +$(COPY) /b $(SHL9ALLRES:s/res /res+/) $(SHL9LINKRES)
+.ENDIF # "$(SHL9ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL9STACK) $(SHL9BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL9TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL9DEF) \
+ $(USE_9IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL9OBJS) \
+ $(SHL9LIBS) \
+ $(SHL9STDLIBS) \
+ $(STDSHL) \
+ $(SHL9LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL9LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL9STDLIBS) $(STDSHL) $(SHL9RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL9STACK) $(SHL9BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL9DEF) \
+ $(USE_9IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL9OBJS) \
+ $(SHL9LIBS) \
+ $(SHL9STDLIBS) \
+ $(STDSHL) \
+ $(SHL9LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL9BASEX) \
+ $(SHL9STACK) -out:$(SHL9TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL9IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL9OBJS) $(VERSIONOBJ) \
+ $(SHL9LIBS) \
+ $(SHL9STDLIBS) \
+ $(STDSHL) \
+ $(SHL9LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL9BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL9STACK) -out:$(BIN)$/_$(SHL9TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL9IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL9OBJS) $(VERSIONOBJ) \
+ $(SHL9LIBS) \
+ $(SHL9STDLIBS) \
+ $(STDSHL) \
+ $(SHL9LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL9TARGET).lnk del $(MISC)$/$(SHL9TARGET).lnk
+ +if exist $(MISC)$/$(SHL9TARGET).lst del $(MISC)$/$(SHL9TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL9BASEX) \
+ $(SHL9STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL9IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL9OBJS) \
+ $(SHL9STDLIBS) \
+ $(STDSHL) \
+ $(SHL9LINKRES) \
+ ) >> $(MISC)$/$(SHL9TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL9TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL9TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL9VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL9OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL9LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL9STDLIBS) $(SHL9ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL9TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL9TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL9OBJS) `cat /dev/null $(SHL9LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL9STDLIBS) $(SHL9ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL9TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL9IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL9LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL9TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL9IMPLIBN): \
+ $(SHL9DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL9IMPLIBN): \
+ $(SHL9LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL9IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL9IMPLIBN) \
+ -def:$(SHL9DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL9TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL9DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL9TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL10STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL10STDLIBS=
+STDSHL=
+.ELSE
+SHL10ARCHIVES=
+.ENDIF
+
+SHL10DEF*=$(MISC)$/$(SHL10TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL10IMPLIB)" != ""
+USE_10IMPLIB=-implib:$(LB)$/$(SHL10IMPLIB).lib
+.ELSE # "$(SHL10IMPLIB)" != ""
+USE_10IMPLIB=-implib:$(LB)$/i$(TARGET)10.lib
+.ENDIF # "$(SHL10IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_10IMPLIB_DEPS=$(LB)$/$(SHL10IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL10DEF=$(SHL10DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL10DEF=
+SHL10DEPN+:=$(SHL10DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL10VERSIONMAP=$(MISC)$/$(SHL10TARGET).vmap
+
+.IF "$(USE_SHL10VERSIONMAP)"!=""
+
+.IF "$(DEF10EXPORTFILE)"!=""
+.IF "$(SHL10VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL10VERSIONMAP=$(MISC)$/$(SHL10TARGET).vmap
+$(USE_SHL10VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL10VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL10VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL10VERSIONMAP)
+.ENDIF
+
+$(USE_SHL10VERSIONMAP): \
+ $(SHL10OBJS)\
+ $(SHL10LIBS)\
+ $(DEF10EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL10OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL10OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL10OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL10LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF10EXPORTFILE) -o $@
+
+.ELSE # "$(DEF10EXPORTFILE)"!=""
+USE_SHL10VERSIONMAP=$(MISC)$/$(SHL10TARGET).vmap
+$(USE_SHL10VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF10EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF10EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL10VERSIONMAP)"!=""
+.IF "$(SHL10VERSIONMAP)"!=""
+USE_SHL10VERSIONMAP=$(MISC)$/$(SHL10VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL10VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL10VERSIONMAP)
+.ENDIF
+
+$(USE_SHL10VERSIONMAP): $(SHL10VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL10VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL10VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL10RES)"!=""
+SHL10RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL10RES))
+SHL10ALLRES+=$(SHL10RES)
+SHL10LINKRES*=$(MISC)$/$(SHL10TARGET).res
+.ENDIF # "$(SHL10RES)"!=""
+.ENDIF
+
+.IF "$(SHL10DEFAULTRES)$(use_shl_versions)"!=""
+SHL10DEFAULTRES*=$(MISC)$/$(SHL10TARGET)_def.res
+SHL10ALLRES+=$(SHL10DEFAULTRES)
+SHL10LINKRES*=$(MISC)$/$(SHL10TARGET).res
+.ENDIF # "$(SHL10DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL10TARGETN)"!=""
+$(SHL10TARGETN) : \
+ $(SHL10OBJS)\
+ $(SHL10LIBS)\
+ $(USE_10IMPLIB_DEPS)\
+ $(USE_SHL10DEF)\
+ $(USE_SHL10VERSIONMAP)\
+ $(SHL10RES)\
+ $(SHL10DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL10TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL10OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL10LIBS:+"+\n") $(SHL10STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL10DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL10LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL10STDLIBS:^"-l") $(SHL10OBJS) $(VERSIONOBJ) $(SHL10DEF)
+.ENDIF
+.IF "$(SHL10RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL10RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL10OBJS), $@, $(MISC)\$(@:b).map, $(SHL10LIBS) $(SHL10STDLIBS) $(STDSHL), $(SHL10DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL10DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL10DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL10ICON)" != ""
+ @-+echo 1 ICON $(SHL10ICON) >> $(MISC)$/$(SHL10DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL10DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL10TARGET)$(DLLPOST) >> $(MISC)$/$(SHL10DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL10TARGET:b) >> $(MISC)$/$(SHL10DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL10DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL10DEFAULTRES:b).rc
+.ENDIF # "$(SHL10DEFAULTRES)"!=""
+.IF "$(SHL10ALLRES)"!=""
+ +$(COPY) /b $(SHL10ALLRES:s/res /res+/) $(SHL10LINKRES)
+.ENDIF # "$(SHL10ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL10STACK) $(SHL10BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL10TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL10DEF) \
+ $(USE_10IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL10OBJS) \
+ $(SHL10LIBS) \
+ $(SHL10STDLIBS) \
+ $(STDSHL) \
+ $(SHL10LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL10LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL10STDLIBS) $(STDSHL) $(SHL10RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL10STACK) $(SHL10BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL10DEF) \
+ $(USE_10IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL10OBJS) \
+ $(SHL10LIBS) \
+ $(SHL10STDLIBS) \
+ $(STDSHL) \
+ $(SHL10LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL10BASEX) \
+ $(SHL10STACK) -out:$(SHL10TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL10IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL10OBJS) $(VERSIONOBJ) \
+ $(SHL10LIBS) \
+ $(SHL10STDLIBS) \
+ $(STDSHL) \
+ $(SHL10LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL10BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL10STACK) -out:$(BIN)$/_$(SHL10TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL10IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL10OBJS) $(VERSIONOBJ) \
+ $(SHL10LIBS) \
+ $(SHL10STDLIBS) \
+ $(STDSHL) \
+ $(SHL10LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL10TARGET).lnk del $(MISC)$/$(SHL10TARGET).lnk
+ +if exist $(MISC)$/$(SHL10TARGET).lst del $(MISC)$/$(SHL10TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL10BASEX) \
+ $(SHL10STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL10IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL10OBJS) \
+ $(SHL10STDLIBS) \
+ $(STDSHL) \
+ $(SHL10LINKRES) \
+ ) >> $(MISC)$/$(SHL10TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL10TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL10TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL10VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL10OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL10LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL10STDLIBS) $(SHL10ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL10TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL10TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL10OBJS) `cat /dev/null $(SHL10LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL10STDLIBS) $(SHL10ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL10TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL10IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL10LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL10TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL10IMPLIBN): \
+ $(SHL10DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL10IMPLIBN): \
+ $(SHL10LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL10IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL10IMPLIBN) \
+ -def:$(SHL10DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL10TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL10DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL10TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/_tg_zip.mk b/solenv/inc/_tg_zip.mk
new file mode 100644
index 000000000000..4bc9aca22784
--- /dev/null
+++ b/solenv/inc/_tg_zip.mk
@@ -0,0 +1,500 @@
+# unroll begin
+
+.IF "$(ZIP1TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP1TARGET).dpzz : $(ZIP1TARGETN)
+
+ZIP1HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP1TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP1TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP1TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP1LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP1HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP1LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP1TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP1LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP1HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP1LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP1TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP2TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP2TARGET).dpzz : $(ZIP2TARGETN)
+
+ZIP2HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP2TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP2TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP2TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP2LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP2HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP2LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP2TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP2LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP2HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP2LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP2TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP3TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP3TARGET).dpzz : $(ZIP3TARGETN)
+
+ZIP3HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP3TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP3TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP3TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP3LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP3HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP3LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP3TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP3LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP3HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP3LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP3TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP4TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP4TARGET).dpzz : $(ZIP4TARGETN)
+
+ZIP4HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP4TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP4TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP4TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP4LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP4HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP4LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP4TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP4LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP4HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP4LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP4TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP5TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP5TARGET).dpzz : $(ZIP5TARGETN)
+
+ZIP5HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP5TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP5TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP5TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP5LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP5HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP5LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP5TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP5LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP5HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP5LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP5TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP6TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP6TARGET).dpzz : $(ZIP6TARGETN)
+
+ZIP6HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP6TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP6TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP6TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP6LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP6HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP6LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP6TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP6LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP6HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP6LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP6TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP7TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP7TARGET).dpzz : $(ZIP7TARGETN)
+
+ZIP7HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP7TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP7TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP7TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP7LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP7HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP7LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP7TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP7LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP7HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP7LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP7TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP8TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP8TARGET).dpzz : $(ZIP8TARGETN)
+
+ZIP8HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP8TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP8TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP8TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP8LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP8HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP8LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP8TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP8LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP8HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP8LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP8TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP9TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP9TARGET).dpzz : $(ZIP9TARGETN)
+
+ZIP9HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP9TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP9TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP9TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP9LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP9HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP9LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP9TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP9LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP9HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP9LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP9TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
+# unroll begin
+
+.IF "$(ZIP10TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP10TARGET).dpzz : $(ZIP10TARGETN)
+
+ZIP10HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP10TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP10TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP10TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP10LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP10HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP10LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP10TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP10LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP10HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP10LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP10TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+#next Target
diff --git a/solenv/inc/found_no.mk b/solenv/inc/found_no.mk
new file mode 100644
index 000000000000..a6fda82a15e6
--- /dev/null
+++ b/solenv/inc/found_no.mk
@@ -0,0 +1,4 @@
+no_traget:
+ @+echo -----------------------------------------------
+ @+echo Error: No makefile.mk found!
+ @+echo -----------------------------------------------
diff --git a/solenv/inc/lang.mk b/solenv/inc/lang.mk
new file mode 100644
index 000000000000..7aa5eacb2bfa
--- /dev/null
+++ b/solenv/inc/lang.mk
@@ -0,0 +1,228 @@
+#*******************************************************************
+#*/*****************************************************************/
+#*
+#* $Workfile: lang.mk $
+#*
+#* Beschreibung Compiler und Systemabhaengige
+#* Entwicklungtools-Definitionen
+#*
+#* Ersterstellung HJS 25.11.98
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/lang.mkv $
+#*
+#* Copyright (c) 1990-1995, STAR DIVISION
+#*
+#*******************************************************************
+
+.IF "$(GUI)"=="UNX" || "$(GUIBASE)"=="WIN"
+LANG_GUI=WIN
+.ELSE
+LANG_GUI=$(GUI)
+.ENDIF
+
+###################################################
+#
+# eintragungen fuer charsets
+# variablenname entspricht $(solarlang)$(LANG_GUI)
+#
+###################################################
+
+.IF "$(USE_NEW_RSC)" != ""
+
+pol$(LANG_GUI)=-CHARSET_microsoft-cp1250
+slov$(LANG_GUI)=-CHARSET_microsoft-cp1250
+russ$(LANG_GUI)=-CHARSET_microsoft-cp1251
+cz$(LANG_GUI)=-CHARSET_microsoft-cp1250
+hung$(LANG_GUI)=-CHARSET_microsoft-cp1250
+japn$(LANG_GUI)=-CHARSET_microsoft-cp932
+chinsim$(LANG_GUI)=-CHARSET_microsoft-cp936
+chintrad$(LANG_GUI)=-CHARSET_microsoft-cp950
+arab$(LANG_GUI)=-CHARSET_microsoft-cp1256
+greek$(LANG_GUI)=-CHARSET_microsoft-cp1253
+turk$(LANG_GUI)=-CHARSET_microsoft-cp1254
+korean$(LANG_GUI)=-CHARSET_microsoft-cp949
+
+.ELSE # "$(USE_NEW_RSC)" != ""
+# os2
+danOS2=-CHARSET_ANSI-SOURCE -CHARSET_IBMPC_865
+norgOS2=-CHARSET_ANSI-SOURCE -CHARSET_IBMPC_865
+
+polOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+slovOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+russOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+czOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+hungOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+japnOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+chinsimOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+chintradOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+arabOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+
+# win, wnt, unx
+
+polWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+slovWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+russWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+czWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+hungWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+japnOS2=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+chinsimWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+chintradWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+arabWIN=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+.ENDIF # "$(USE_NEW_RSC)" != ""
+
+
+###################################################
+#
+# defaults setzen
+#
+###################################################
+
+.IF "$(solarlang)" == ""
+solarlang=deut
+.ENDIF
+
+LANGEXT=49
+RSCLANG=GERMAN
+
+.IF "$(NEWCHARSET)"!=""
+
+.IF "$(USE_NEW_RSC)" != ""
+
+RSC_SRS_CHARSET=-CHARSET_DONTKNOW
+default$(LANG_GUI)*=-CHARSET_microsoft-cp1252
+
+.ELSE # "$(USE_NEW_RSC)" != ""
+RSC_SRS_CHARSET=-CHARSET_DONTKNOW-SOURCE -CHARSET_DONTKNOW
+
+.IF "$(LANG_GUI)"=="OS2"
+$(solarlang)$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_IBMPC_850
+default$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_IBMPC_850
+.ENDIF
+.IF "$(LANG_GUI)"=="MAC"
+$(solarlang)$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_MAC
+default$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_MAC
+.ENDIF
+.IF "$(LANG_GUI)"=="WIN"
+$(solarlang)$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_ANSI
+default$(LANG_GUI)*=-CHARSET_ANSI-SOURCE -CHARSET_ANSI
+.ENDIF
+RSC_RES_CHARSET=$($(solarlang)$(LANG_GUI))
+
+.ENDIF # "$(USE_NEW_RSC)" != ""
+
+.ELSE # "$(NEWCHARSET)"!=""
+IBM_PC_437=-CHARSET_IBMPC_437-SOURCE
+IBM_PC_850=-CHARSET_IBMPC_850-SOURCE
+IBM_PC_852=-CHARSET_IBMPC_852-SOURCE
+.ENDIF # "$(NEWCHARSET)"!=""
+
+####################################################
+.IF "$(NO_REC_RES)"==""
+.IF "$(solarlang)" == "deut"
+RSCLANG=GERMAN $(IBM_PC_437)
+IDLLANG=german
+LANGEXT=49
+.ENDIF
+
+.IF "$(solarlang)" == "enuk"
+RSCLANG=ENGLISH_UK $(IBM_PC_437)
+IDLLANG=english_uk
+LANGEXT=44
+.ENDIF
+.IF "$(solarlang)" == "endp"
+RSCLANG=ENGLISH $(IBM_PC_437)
+IDLLANG=english_us
+LANGEXT=01
+.ENDIF
+.IF "$(solarlang)" == "enus"
+RSCLANG=ENGLISH_US $(IBM_PC_437)
+IDLLANG=english_us
+LANGEXT=01
+.ENDIF
+.IF "$(solarlang)" == "fren"
+RSCLANG=FRENCH $(IBM_PC_850)
+LANGEXT=33
+.ENDIF
+.IF "$(solarlang)" == "ital"
+RSCLANG=ITALIAN $(IBM_PC_850)
+LANGEXT=39
+.ENDIF
+.IF "$(solarlang)" == "span"
+RSCLANG=SPANISH $(IBM_PC_850)
+LANGEXT=34
+.ENDIF
+.IF "$(solarlang)" == "dtch"
+RSCLANG=DUTCH $(IBM_PC_850)
+LANGEXT=31
+.ENDIF
+.IF "$(solarlang)" == "dan"
+RSCLANG=DANISH $(IBM_PC_850)
+LANGEXT=45
+.ENDIF
+.IF "$(solarlang)" == "swed"
+RSCLANG=SWEDISH $(IBM_PC_850)
+LANGEXT=46
+.ENDIF
+.IF "$(solarlang)" == "ptbr"
+RSCLANG=PORTUGUESE_BRAZILIAN $(IBM_PC_850)
+LANGEXT=55
+.ENDIF
+.IF "$(solarlang)" == "port"
+RSCLANG=PORTUGUESE $(IBM_PC_850)
+LANGEXT=03
+.ENDIF
+.IF "$(solarlang)" == "norg"
+RSCLANG=NORWEGIAN $(IBM_PC_850)
+LANGEXT=47
+.ENDIF
+.IF "$(solarlang)" == "suom"
+RSCLANG=FINNISH $(IBM_PC_850)
+LANGEXT=05
+.ENDIF
+.IF "$(solarlang)" == "hung"
+RSCLANG=HUNGARIAN $(IBM_PC_852)
+LANGEXT=36
+.ENDIF
+.IF "$(solarlang)" == "pol"
+RSCLANG=POLISH $(IBM_PC_852)
+LANGEXT=48
+.ENDIF
+.IF "$(solarlang)" == "cz"
+RSCLANG=CZECH $(IBM_PC_852)
+LANGEXT=42
+.ENDIF
+.IF "$(solarlang)" == "russ"
+RSCLANG=RUSSIAN $(IBM_PC_852)
+LANGEXT=07
+.ENDIF
+.IF "$(solarlang)" == "slov"
+RSCLANG=SLOVAK $(IBM_PC_852)
+LANGEXT=04
+.ENDIF
+.IF "$(solarlang)" == "turk"
+RSCLANG=TURKISH $(IBM_PC_857)
+LANGEXT=90
+.ENDIF
+
+# sprachen nur fuer neues rsc verhalten
+.IF "$(solarlang)" == "chinsim"
+RSCLANG=CHINESE_SIMPLIFIED
+LANGEXT=86
+.ENDIF
+.IF "$(solarlang)" == "chintrad"
+RSCLANG=CHINESE_TRADITIONAL
+LANGEXT=88
+.ENDIF
+.IF "$(solarlang)" == "japn"
+RSCLANG=JAPANESE
+LANGEXT=81
+.ENDIF
+.IF "$(solarlang)" == "arab"
+RSCLANG=ARABIC
+LANGEXT=96
+.ENDIF
+
+.ENDIF # "$(NO_REC_RES)"==""
+
diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
new file mode 100644
index 000000000000..acb4ee9d724a
--- /dev/null
+++ b/solenv/inc/libs.mk
@@ -0,0 +1,422 @@
+.IF "$(COM)"=="WTC"
+LIBPRE=libr
+.ENDIF
+
+.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+
+#
+#externe libs in plattform.mk
+#
+
+.IF "$(OS)"=="S390"
+
+CONNECTIVITYLIB=$(L)$/libconnectivity.x
+LDAPBERLIB=$(L)$/libldapber.x
+TOOLSLIB=$(L)$/libtl$(UPD)$(DLLPOSTFIX).x
+OTXLIB=$(L)$/libotx_ind.x
+OSXLIB=$(L)$/libosx.x
+REGLIB=$(L)$/libreg$(UPD)$(DLLPOSTFIX).x
+BPICONVLIB=$(L)$/libbpiconv.x
+OSLLIB=$(L)$/libosl$(UPD)$(DLLPOSTFIX).x
+VOSLIB=$(L)$/libvos$(VOS_MAJOR)$(DLLPOSTFIX).x
+UNOLIB=$(L)$/libuno$(UPD)$(DLLPOSTFIX).x
+RTLLIB=$(L)$/librtl$(UPD)$(DLLPOSTFIX).x
+TECLIB=$(L)$/libtec$(UPD)$(DLLPOSTFIX).x
+UCRLIB=$(L)$/libucr$(UPD)$(DLLPOSTFIX).x
+UASLIB=$(L)$/libuas$(UPD)$(DLLPOSTFIX).x
+USRLIB=$(L)$/libusr$(UPD)$(DLLPOSTFIX).x
+SOTLIB=$(L)$/libsot$(UPD)$(DLLPOSTFIX).x
+SVLIBDEPEND=$(L)$/$(L)$/libvcl$(UPD)$(DLLPOSTFIX)$(DLLPOST)
+SVLIB=$(L)$/libvcl$(UPD)$(DLLPOSTFIX).x
+VCLLIB=$(L)$/$(SVLIB)
+TKLIB=$(L)$/libtk$(UPD)$(DLLPOSTFIX).x
+XPLIB=$(L)$/lib_xp.x
+SVTOOLLIB=$(L)$/libsvt$(UPD)$(DLLPOSTFIX).x
+AUTOMATIONLIB=$(L)$/libsts$(UPD)$(DLLPOSTFIX).x
+SVLLIB=$(L)$/libsvl$(UPD)$(DLLPOSTFIX).x
+VCLLIB=$(L)$/$(SVLIB)
+SVMEMLIB=
+SVUNZIPLIB=$(L)$/libsvunzip.x
+PLUGCTORLIB=$(L)$/libplugctor.x
+# PLUGCTORLIB=
+INETLIB=$(L)$/libni$(UPD)$(DLLPOSTFIX).x
+INETLIBSH=$(L)$/libinetdll.x
+INETLIBST=$(L)$/libinetwrap.x
+SO2LIB=$(L)$/libso$(UPD)$(DLLPOSTFIX).x
+TKTLIB=$(L)$/libtkt$(UPD)$(DLLPOSTFIX).x
+GOODIESLIB=$(L)$/libgo$(UPD)$(DLLPOSTFIX).x
+GOODIESLLIB=$(L)$/libgol$(UPD)$(DLLPOSTFIX).x
+MAILLIB=$(L)$/libmail.x
+DOCMGRLIB=$(L)$/libdmg$(UPD)$(DLLPOSTFIX).x
+.IF "$(BIG_GOODIES)"!=""
+HELPLIB=
+CHANELLIB=
+.ELSE
+HELPLIB=$(L)$/libhlp$(UPD)$(DLLPOSTFIX).x
+CHANELLIB=$(L)$/libcha$(UPD)$(DLLPOSTFIX).x
+.ENDIF
+BASICLIB=$(L)$/libsb$(UPD)$(DLLPOSTFIX).x
+SDBLIB=$(L)$/libsdb$(UPD)$(DLLPOSTFIX).x
+HM2LIBSH=$(L)$/libhmwrpdll.x
+HM2LIBST=$(L)$/libhmwrap.x
+LINGULIB=$(L)$/$(HM2LIBST).x
+EXPAT3RDLIB=$(L)$/libexpat_xmltok.x $(L)$/libexpat_xmlparse.x
+EXPATASCII3RDLIB=$(L)$/libexpat_xmltok.x $(L)$/libascii_expat_xmlparse.x
+ZLIB3RDLIB=$(L)$/libzlib.x
+JPEG3RDLIB=$(L)$/libjpeglib.x
+NEON3RDLIB=$(L)$/libneon.x
+SFX2LIB=$(L)$/libsfx$(UPD)$(DLLPOSTFIX).x
+SFXLIB=$(L)$/libsfx$(UPD)$(DLLPOSTFIX).x
+SFXDEBUGLIB=
+SVXLIB=$(L)$/libsvx$(UPD)$(DLLPOSTFIX).x
+BASCTLLIB=$(L)$/libbasctl$(UPD)$(DLLPOSTFIX).x
+SVXlLIB=$(L)$/libsvx$(UPD)$(DLLPOSTFIX).a
+.IF "$(OLD_CHAOS)"==""
+CHAOSLIB=$(L)$/libcnt$(UPD)$(DLLPOSTFIX).x
+.ENDIF
+UUILIB=$(L)$/libuui$(UPD)$(DLLPOSTFIX).x
+DGLIB=
+SIMLIB=$(L)$/libysim.x
+SCHLIB=$(L)$/libysch.x
+SMLIB=$(L)$/libysm.x
+#SBALIB=$(L)$/libsbawrap
+SBALIB=$(L)$/libsba$(UPD)$(DLLPOSTFIX).x
+OFALIB=$(L)$/libofa$(UPD)$(DLLPOSTFIX).x
+TARCERLIB=$(L)$/libtrc$(UPD)$(DLLPOSTFIX).x
+PAPILIB=$(L)$/libpap$(UPD)$(DLLPOSTFIX).x
+SCLIB=$(L)$/libsclib.x
+SDLIB=$(L)$/libsdlib.x
+SDLLIB=$(L)$/libsdl.a
+SWLIB=$(L)$/libswlib.x
+
+.ELSE # "$(OS)"=="S390"
+
+CONNECTIVITYLIB=-lconnectivity
+LDAPBERLIB=-lldapber
+TOOLSLIBST=-latools
+DVOSUTILLIBST=-ldvosutil
+DUNOUTILLIBST=-ldunoutil
+DVCLUTILLIBST=-ldvclutil
+BPICONVLIB=-lbpiconv
+OSLLIB=-losl$(UPD)$(DLLPOSTFIX)
+TOOLSLIB=-ltl$(UPD)$(DLLPOSTFIX)
+OSLLIB=
+RTLLIB=
+TECLIB=
+.INCLUDE .IGNORE : cppu$/version.mk
+CPPULIB=-lcppu$(CPPU_MAJOR)
+.INCLUDE .IGNORE : cppuhelper$/version.mk
+CPPUHELPERLIB=-lcppuhelper$(CPPUHELPER_MAJOR)$(COM)
+.INCLUDE .IGNORE : ucbhelper$/version.mk
+UCBHELPERLIB=-lucbhelper$(UCBHELPER_MAJOR)$(COM)
+.INCLUDE .IGNORE : registry$/version.mk
+REGLIB=-lreg$(REGISTRY_MAJOR)
+.INCLUDE .IGNORE : vos$/version.mk
+VOSLIB=-lvos$(VOS_MAJOR)$(COM)
+XMLOFFLIB=-lxo$(UPD)$(DLLPOSTFIX)
+.INCLUDE .IGNORE : store$/version.mk
+STORELIB=-lstore$(STORE_MAJOR)
+.INCLUDE .IGNORE : sal$/version.mk
+SALLIB=-lsal$(SAL_MAJOR)
+.INCLUDE .IGNORE : connectivity$/version.mk
+ODBCLIB=-lodbc$(ODBC_MAJOR)
+SALTLSLIB=-lsaltls$(SAL_MAJOR)
+SALZIPLIB=-lsalzip$(SAL_MAJOR)
+.INCLUDE .IGNORE : bridges$/version.mk
+RMCXTLIB=-lrmcxt$(RMCXT_MAJOR)
+BTSTRPLIB=-lbtstrp
+IOTXLIB=
+OTXLIB=-lotx_ind
+OSXLIB=-losx
+UNOLIB=-luno$(UPD)$(DLLPOSTFIX)
+UNOTOOLSLIB=-lutl$(UPD)$(DLLPOSTFIX)
+UCRLIB=-lucr$(UPD)$(DLLPOSTFIX)
+UASLIB=-luas$(UPD)$(DLLPOSTFIX)
+USRLIB=-lusr$(UPD)$(DLLPOSTFIX)
+SOTLIB=-lsot$(UPD)$(DLLPOSTFIX)
+ONELIB=-lone$(UPD)$(DLLPOSTFIX)
+MOZBASELIBST=$(STATIC) -lnspr4 -lxpcombase_s $(DYNAMIC)
+MOZBASELIB=-lnspr4 -lxpcom
+ONELIB=
+UNOLIB=
+S2ULIB=-lstu$(UPD)$(DLLPOSTFIX)
+SVLIBDEPEND=$(L)$/libvcl$(UPD)$(DLLPOSTFIX)$(DLLPOST)
+SVLIB=-lvcl$(UPD)$(DLLPOSTFIX)
+ICOLIB=-lico$(UPD)$(DLLPOSTFIX)
+BSTRPLIB=-lbtstrp
+VCLLIBST=-lvcl
+VCLLIB=$(SVLIB)
+XPLIB=-l_xp
+TKLIB=-ltk$(UPD)$(DLLPOSTFIX)
+SVTOOLLIB=-lsvt$(UPD)$(DLLPOSTFIX)
+AUTOMATIONLIB=-lsts$(UPD)$(DLLPOSTFIX)
+SVLLIB=-lsvl$(UPD)$(DLLPOSTFIX)
+SVMEMLIB=
+SVUNZIPLIB=-lsvunzip
+SVUNZIPDLL=-lzip$(UPD)$(DLLPOSTFIX)
+PLUGCTORLIB=-lplugctor
+# PLUGCTORLIB=
+INETLIB=-lni$(UPD)$(DLLPOSTFIX)
+INETLIBSH=-linetdll
+INETLIBST=-linetwrap
+SO2LIB=-lso$(UPD)$(DLLPOSTFIX)
+TKTLIB=-ltkt$(UPD)$(DLLPOSTFIX)
+SJLIB=-lj$(UPD)$(DLLPOSTFIX)_g
+GOODIESLIB=-lgo$(UPD)$(DLLPOSTFIX)
+GOODIESLLIB=-lgol$(UPD)$(DLLPOSTFIX)
+CHANELLIB=-lcha$(UPD)$(DLLPOSTFIX)
+MAILLIB=-lmail
+DOCMGRLIB=-ldmg$(UPD)$(DLLPOSTFIX)
+.IF "$(BIG_GOODIES)"!=""
+HELPLIB=
+CHANELLIB=
+.ELSE
+HELPLIB=-lhlp$(UPD)$(DLLPOSTFIX)
+CHANELLIB=-lcha$(UPD)$(DLLPOSTFIX)
+.ENDIF
+BASICLIB=-lsb$(UPD)$(DLLPOSTFIX)
+SDBLIB=-lsdb$(UPD)$(DLLPOSTFIX)
+HM2LIBSH=-lhmwrpdll
+HM2LIBST=-lhmwrap
+LINGULIB=$(HM2LIBST)
+EXPAT3RDLIB=-lexpat_xmlparse -lexpat_xmltok
+EXPATASCII3RDLIB=-lascii_expat_xmlparse -lexpat_xmltok
+ZLIB3RDLIB=-lzlib
+JPEG3RDLIB=-ljpeglib
+NEON3RDLIB=-lneon
+SFX2LIB=-lsfx$(UPD)$(DLLPOSTFIX)
+SFXLIB=-lsfx$(UPD)$(DLLPOSTFIX)
+SFXDEBUGLIB=
+SVXLIB=-lsvx$(UPD)$(DLLPOSTFIX)
+BASCTLLIB=-lbasctl$(UPD)$(DLLPOSTFIX)
+SVXLLIB=-lsvxl
+.IF "$(OLD_CHAOS)"==""
+CHAOSLIB=-lcnt$(UPD)$(DLLPOSTFIX)
+.ENDIF
+UUILIB=-luui$(UPD)$(DLLPOSTFIX)
+DGLIB=
+SIMLIB=-lysim
+SCHLIB=-lysch
+SMLIB=-lysm
+SBALIB=-lsbawrap
+#SBALIB=-lsba$(UPD)$(DLLPOSTFIX)
+OFALIB=-lofa$(UPD)$(DLLPOSTFIX)
+SETUPLIB=-lset$(UPD)$(DLLPOSTFIX)
+SCHEDLIB=-lss$(UPD)$(DLLPOSTFIX)
+SSLLIB=-lssl$(UPD)$(DLLPOSTFIX)
+SSCLIB=-lssc$(UPD)$(DLLPOSTFIX)
+SSWLIB=-lssw$(UPD)$(DLLPOSTFIX)
+TRACERLIB=-ltrc$(UPD)$(DLLPOSTFIX)
+PAPILIB=-lpap$(UPD)$(DLLPOSTFIX)
+TRCLIB=$(TRACERLIB)
+SCLIB=-lsclib
+SDLIB=-lsdlib
+SDLLIB=-lsdl
+SWLIB=-lswlib
+
+.ENDIF # "$(OS)"=="S390"
+
+
+#SOLARLIB= $(TOOLSLIB) \
+# $(SVTOOLLIB) \
+# $(SVLIB) \
+# $(SO2LIB) \
+# $(SFX2LIB) \
+# $(BASICLIB) \
+# $(SVXLIB)
+
+
+
+#
+# USED_%NAME%_LIBS
+# Variablen, in denen in gueltiger Reihenfolge ALLE Libraries,
+# die unterhalb von %NAME% liegen, zusammengefasst werden
+#
+
+# Libraries
+USED_OSL_LIBS =
+USED_VOS_LIBS = $(OSLLIB)
+USED_UNO_LIBS = $(VOSLIB) $(OSLLIB)
+USED_TOOLS_LIBS =
+USED_SOT_LIBS = $(TOOLSLIB)
+USED_VCL_LIBS = $(SOTLIB) $(TOOLSLIB) $(USED_UNO_LIBS)
+
+# Applikationen
+USED_BOOTSTRP_LIBS= $(TOOLSLIB)
+USED_RCLIENT_LIBS = $(VCLLIB) $(SOTLIB) $(TOOLSLIB) $(UNOLIB) \
+ $(USED_UNO_LIBS)
+
+.ELSE # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+.IF "$(make_xl)"!=""
+TOOLSLIB=$(LIBPRE) ixl.lib $(LIBPRE) xapp.lib
+BTSTRPLIB=
+STORELIB=
+ICOLIB=
+OSLLIB=
+CPPULIB=
+CPPUHELPERLIB=
+UCBHELPERLIB=
+VOSLIB=
+UNOLIB=
+UNOTOOLSLIB=
+SOTLIB=
+SVLIB=
+VCLLIB=
+SVTOOLLIB=
+AUTOMATIONLIB=
+SVLLIB=
+INETLIB=
+GOODIESLIB=
+BASICLIB=
+SFX2LIB=
+SO2LIB=
+SVXLIB=
+BASCTLLIB=
+DGLIB=
+OFALIB=
+TRACERLIB=
+TRCLIB=
+SCHEDLIB=
+SETUPLIB=
+SSCLIB=
+SSLLIB=
+.ELSE # "$(make_xl)"!=""
+CONNECTIVITYLIB=connectivity.lib
+LDAPBERLIB=ldapber.lib
+CPPULIB=$(LIBPRE) icppu.lib
+CPPUHELPERLIB=$(LIBPRE) icppuhelper.lib
+SALTLSLIB=isaltls.lib
+SALZIPLIB=isalzip.lib
+UCBHELPERLIB=$(LIBPRE) iucbhelper.lib
+ODBCLIB=$(LIBPRE) iodbc.lib
+TOOLSLIB=$(LIBPRE)itools.lib
+TOOLSLIBST=$(LIBPRE) atools.lib
+DVOSUTILLIBST=$(LIBPRE) dvosutil.lib
+DUNOUTILLIBST=$(LIBPRE) dunoutil.lib
+DVCLUTILLIBST=$(LIBPRE) dvclutil.lib
+BPICONVLIB=$(LIBPRE) bpiconv.lib
+SALLIB=$(LIBPRE) isal.lib
+OSLLIB=
+RTLLIB=
+TECLIB=
+VOSLIB=$(LIBPRE) ivos.lib
+UNOLIB=$(LIBPRE) iuno.lib
+UNOTOOLSLIB=$(LIBPRE) iutl.lib
+RMCXTLIB=$(LIBPRE) irmcxt.lib
+XMLOFFLIB=$(LIBPRE) ixo.lib
+STORELIB=$(LIBPRE) istore.lib
+IOTXLIB=$(LIBPRE) iotx.lib
+OTXLIB=$(LIBPRE) otx_ind.lib
+OSXLIB=$(LIBPRE) osx.lib
+REGLIB=$(LIBPRE) ireg.lib
+UCRLIB=$(LIBPRE) ucr.lib
+UASLIB=$(LIBPRE) uas.lib
+EXTLIB=$(LIBPRE) iext.lib
+USRLIB=$(LIBPRE) usr.lib
+SOTLIB=$(LIBPRE) sot.lib
+ONELIB=$(LIBPRE) one.lib
+MOZBASELIBST=$(LIBPRE) nspr4_s.lib $(LIBPRE) xpcombase_s.lib
+MOZBASELIB=$(LIBPRE) nspr4.lib $(LIBPRE) xpcom.lib
+ONELIB=
+UNOLIB=
+S2ULIB=$(LIBPRE) stu.lib
+PAPILIB=$(LIBPRE) ipap.lib
+TRACERLIB=$(LIBPRE) itrc.lib
+TRCLIB=$(TRACERLIB)
+SETUPLIB=$(LIBPRE) iset.lib
+SCHEDLIB=$(LIBPRE) ss.lib
+SSCLIB=$(LIBPRE) ssc.lib
+SSLLIB=$(LIBPRE) ssl.lib
+SSWLIB=$(LIBPRE) ssw.lib
+SVLIBDEPEND=$(L)$/sv.lib
+.IF "$(GUI)"=="WNT"
+SVLIB=$(LIBPRE) sv.lib $(LIBPRE) isv.lib
+VCLLIB=$(SVLIB)
+SFX2LIB=$(LIBPRE) sfx.lib
+SFXLIB=$(SFX2LIB)
+.ELSE
+.IF "$(GUI)"!="DOS"
+SVLIB=$(LIBPRE) sv.lib
+VCLLIB=$(SVLIB)
+SFX2LIB=$(LIBPRE) sfx.lib
+SFXLIB=$(LIBPRE) sfx.lib
+SFXDEBUGLIB=$(LIBPRE) sfxdebug.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+BTSTRPLIB=$(LIBPRE) bootstrp.lib
+ICOLIB= $(LIBPRE) icom.lib
+SVTOOLLIB=$(LIBPRE) svtool.lib
+AUTOMATIONLIB=$(LIBPRE) automation.lib
+SVLLIB=$(LIBPRE) isvl.lib
+PLUGCTORLIB=$(LIBPRE) plugctor.lib
+PLUGAPPLIB=$(LIBPRE) plugapp.lib
+SVMEMLIB=$(LIBPRE) svmem.lib
+SVUNZIPLIB=$(LIBPRE) svunzip.lib
+SVUNZIPDLL=$(LIBPRE) unzipdll.lib
+GOODIESLIB=$(LIBPRE) igo.lib
+GOODIESLLIB=$(LIBPRE) igol.lib
+MAILLIB=$(LIBPRE) mail.lib
+DOCMGRLIB=$(LIBPRE) docmgr.lib
+.IF "$(BIG_GOODIES)"!=""
+HELPLIB=
+CHANELLIB=
+.ELSE
+HELPLIB=$(LIBPRE) hlp.lib
+CHANELLIB=$(LIBPRE) ich.lib
+.ENDIF
+INETLIBSH=$(LIBPRE) inetdll.lib
+INETLIBST=$(LIBPRE) inetwrap.lib
+BASICLIB=$(LIBPRE) basic.lib
+SO2LIB=$(LIBPRE) so2.lib
+TKTLIB=$(LIBPRE) tkt.lib
+SJLIB=$(LIBPRE) sj.lib
+SVXLIB=$(LIBPRE) svx.lib
+SVXLIB+=$(LIBPRE) dl.lib
+BASCTLLIB=$(LIBPRE) basctl.lib
+SVXLLIB=$(LIBPRE) svxl.lib
+SDBLIB=$(LIBPRE) sdb.lib
+HM2LIBSH=$(LIBPRE) hmwrpdll.lib
+HM2LIBST=$(LIBPRE) hmwrap.lib
+LINGULIB=$(HM2LIBST)
+EXPAT3RDLIB=$(LIBPRE) expat_xmltok.lib $(LIBPRE) expat_xmlparse.lib
+EXPATASCII3RDLIB=$(LIBPRE) expat_xmltok.lib $(LIBPRE) ascii_expat_xmlparse.lib
+ZLIB3RDLIB=$(LIBPRE) zlib.lib
+JPEG3RDLIB=$(LIBPRE) jpeglib.lib
+NEON3RDLIB=$(LIBPRE) neon.lib
+.IF "$(OLD_CHAOS)"==""
+CHAOSLIB=$(LIBPRE) ichaos.lib
+.ENDIF
+UUILIB=$(LIBPRE) iuui.lib
+DGLIB=
+SIMLIB=$(LIBPRE) ysim.lib
+SCHLIB=$(LIBPRE) ysch.lib
+SMLIB=$(LIBPRE) ysm.lib
+SBALIB=$(LIBPRE) sbawrap.lib
+OFALIB=$(LIBPRE) aofa.lib
+SCLIB=$(LIBPRE) sclib.lib
+SDLIB=$(LIBPRE) sdlib.lib
+SDLLIB=$(LIBPRE) sdl.lib
+SWLIB=$(LIBPRE) swlib.lib
+.IF "$(VCL)" != ""
+.IF "$(WORK_STAMP)"=="MIX364"
+SVLIB=$(LIBPRE) vcl.lib
+VCLLIB=$(SVLIB)
+SVLIBDEPEND=$(L)$/vcl.lib
+.ELSE # "$(WORK_STAMP)"=="MIX364"
+SVLIB=$(LIBPRE) ivcl.lib
+VCLLIB=$(SVLIB)
+TKLIB=$(LIBPRE) itk.lib
+SVLIBDEPEND=$(L)$/ivcl.lib
+SVXLLIB=$(LIBPRE) svxl.lib
+.ENDIF # "$(WORK_STAMP)"=="MIX364"
+.ENDIF # "$(VCL)" != ""
+
+.IF "$(BIG_TOOLS)"!=""
+SALLIB=
+OSLLIB=
+RTLLIB=
+VOSLIB=
+.ENDIF # "$(BIG_TOOLS)"!=""
+.ENDIF # "$(make_xl)"!=""
+.ENDIF # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+
diff --git a/solenv/inc/minor.mk b/solenv/inc/minor.mk
new file mode 100644
index 000000000000..1b2a4daaae78
--- /dev/null
+++ b/solenv/inc/minor.mk
@@ -0,0 +1,5 @@
+RSCVERSION=201
+RSCREVISION=201a(Build:0)
+BUILD=0
+LAST_MINOR=a
+SOURCEVERSION=UDK201
diff --git a/solenv/inc/os2.mk b/solenv/inc/os2.mk
new file mode 100644
index 000000000000..7378508b8438
--- /dev/null
+++ b/solenv/inc/os2.mk
@@ -0,0 +1,330 @@
+#*******************************************************************
+#*
+#* $Workfile: os2.mk $
+#*
+#* Beschreibung Compiler und Systemabhaengige
+#* Entwicklungtools-Definitionen
+#* Enstellungen fuer OS2 Environment
+#*
+#* Ersterstellung MH 9.2.96
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/os2.mkv $
+#*
+#* Copyright (c) 1990-1995, STAR DIVISION
+#*
+#*******************************************************************
+
+# --- OS2-Environment ----------------------------------------------
+
+.IF "$(GUI)" == "OS2"
+
+.IF "$(NOSOLAR_JAVA)"==""
+SOLAR_JAVA=TRUE
+.ENDIF
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+.ENDIF
+JAVAFLAGSDEBUG=-g
+
+# --- Borland ---
+.IF "$(COM)" == "BLC"
+
+JAVADEF=-DSOLAR_JAVA
+
+ASM=tasm
+AFLAGS=
+
+CC=bcc
+CFLAGS=-c -3 -a1 -X -d -wbbf -weas -wucp -w-hid -w-par -I. $(MINUS_I)$(INCLUDE)
+CFLAGSCXX=-Pcxx -RT- -x- -V
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=-sm
+CFLAGSOBJCUIMT=-sm
+CFLAGSSLOGUIMT=-sm -sd
+CFLAGSSLOCUIMT=-sm -sd
+CFLAGSPROF=
+CFLAGSDEBUG=-v
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Os -Ob -k-
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-o
+
+LINK=tlink
+LINKFLAGS=/m /L$(LIB)
+#LINKFLAGSAPPGUI=/Toe /B:0x10000 /aa
+#Base wg. lxopt raus
+LINKFLAGSAPPGUI=/Toe /aa
+LINKFLAGSSHLGUI=/Tod
+LINKFLAGSAPPCUI=/Toe /B:0x10000 /ap
+LINKFLAGSSHLCUI=/Tod
+LINKFLAGSTACK=/S:
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=/v
+.IF "$(SOLAR_JAVA)"==""
+LINKFLAGSOPT=/Oc
+.ENDIF
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=c02.obj
+STDSLOGUI=c02d.obj
+STDOBJCUI=c02.obj
+STDSLOCUI=c02d.obj
+STDLIBGUIST=c2.lib os2.lib
+STDLIBCUIST=c2.lib os2.lib
+STDLIBGUIMT=c2mt.lib os2.lib
+STDLIBCUIMT=c2mt.lib os2.lib
+STDSHLGUIMT=c2mt.lib os2.lib
+STDSHLCUIMT=c2mt.lib os2.lib
+
+LIBMGR=tlib
+LIBFLAGS=/C /P128
+
+IMPLIB=implib
+IMPLIBFLAGS=/c
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r $(RCFILES) $@
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=bo
+
+.ENDIF
+
+# --- IBM ---
+.IF "$(COM)" == "ICC"
+
+ASM=tasm
+AFLAGS=/ml /oi
+
+CC=icc
+.IF "$(COMEX)"=="3"
+CFLAGS=/C+ /Q+ /Gf+ /Sp1 /G4 /Se /Gs+ /Gt+ /Gd+ /J- /W2 /D__EXTENDED__ /Si+ /Xi+ $(MINUS_I)$(INCLUDE) /Wvft-
+.ELSE
+.IF "$(COMEX)"=="I"
+CFLAGS=/C+ /Tl10 /Q+ /Gf+ /Sp4 /G4 /Sc /Gs- /D__EXTENDED__ /Si+ /Su4
+.ELSE
+CFLAGS=/C+ /Tl10 /Q+ /Gf+ /Sp1 /G4 /Sc /Gs+ /D__EXTENDED__ /Si+
+.ENDIF
+.ENDIF
+
+CFLAGSCXX=/Tdp
+
+CFLAGSEXCEPTIONS=-Gx-
+CFLAGS_NO_EXCEPTIONS=-Gx+
+
+CFLAGSOBJGUIST=/Ge+
+CFLAGSOBJCUIST=/Ge+
+.IF "$(COMEX)"=="I"
+CFLAGSOBJGUIMT=/Ge+ /Gm+
+CFLAGSOBJCUIMT=/Ge+ /Gm+
+CFLAGSSLOGUIMT=/Ge- /Gm+
+CFLAGSSLOCUIMT=/Ge- /Gm+
+.ELSE
+CFLAGSOBJGUIMT=/Ge+ /Gm+
+CFLAGSOBJCUIMT=/Ge+ /Gm+
+CFLAGSSLOGUIMT=/Ge- /Gm+
+CFLAGSSLOCUIMT=/Ge- /Gm+
+.ENDIF
+CFLAGSPROF=/Gh+
+CFLAGSDEBUG=/Ti+
+CFLAGSDBGUTIL=
+CFLAGSOPT=/O+ /Oi+ /Oc+
+CFLAGSNOOPT=/O-
+CFLAGSOUTOBJ=/Fo
+
+.IF "$(vcl)"!=""
+CDEFS+=-DVCL -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+.ENDIF
+.IF "$(so3)"!=""
+CDEFS+=-DSO3
+.ENDIF
+.IF "$(old_chaos)"!=""
+CDEFS+=-DOLD_CHAOS
+.ENDIF
+
+LINK=ilink
+#LINKFLAGS=/PACKCODE:8192 /ALIGN:16 /NOD /NOE /NOI /MAP /NOFREE
+
+#bei too many segments ist /SEGMENTS:nnnn hilfreich. 3072 ist max!
+.IF "$(CPPRTST)"!=""
+LINKFLAGS=/NOFREE /NOD /NOE /NOI /MAP /OPTFUNC /PACKD:65536 /EXEPACK:2
+.ELSE
+LINKFLAGS=/NOFREE /NOD /NOE /NOI /MAP /OPTFUNC /PACKD:65536
+.ENDIF
+LINKFLAGSAPPGUI=/PM:PM /NOBASE
+LINKFLAGSSHLGUI=
+LINKFLAGSAPPCUI=/PM:VIO /NOBASE
+LINKFLAGSSHLCUI=
+LINKFLAGSTACK=/STACK:
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=/COD
+#LINKFLAGSOPT=/EXEPACK:2 /OPTFUNC
+LINKFLAGSOPT=
+#.IF "$(product)"!="full" && "$(product)"!="demo" && "$(product)"!="compact"
+#LINKFLAGS=$(LINKFLAGS) /COD
+#.ELSE
+#LINKFLAGS=$(LINKFLAGS)
+#.ENDIF
+
+.IF "$(product)"=="full" || "$(product)"=="demo" || "$(product)"=="compact"
+# LINKFLAGS=$(LINKFLAGS)
+.ELSE
+LINKFLAGS+=/COD
+.ENDIF
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+.IF "$(COMEX)"=="3"
+.IF "$(CPPRTST)"!=""
+STDLIBGUIST=cppom30o.lib cpprtst.lib os2386.lib
+STDLIBCUIST=cppom30o.lib cpprtst.lib os2386.lib
+STDLIBGUIMT=cppom30o.lib cpprtst.lib os2386.lib
+STDLIBCUIMT=cppom30o.lib cpprtst.lib os2386.lib
+STDSHLGUIMT=cppom30o.lib cpprtst.lib os2386.lib
+STDSHLCUIMT=cppom30o.lib cpprtst.lib os2386.lib
+.ELSE
+STDLIBGUIST=cppom30o.lib cppom30i.lib os2386.lib
+STDLIBCUIST=cppom30o.lib cppom30i.lib os2386.lib
+STDLIBGUIMT=cppom30o.lib cppom30i.lib os2386.lib
+STDLIBCUIMT=cppom30o.lib cppom30i.lib os2386.lib
+STDSHLGUIMT=cppom30o.lib cppom30i.lib os2386.lib
+STDSHLCUIMT=cppom30o.lib cppom30i.lib os2386.lib
+.ENDIF
+.ELSE
+STDLIBGUIST=dde4sbs.lib os2386.lib
+STDLIBCUIST=dde4sbs.lib os2386.lib
+STDLIBGUIMT=dde4mbs.lib os2386.lib
+STDLIBCUIMT=dde4mbs.lib os2386.lib
+STDSHLGUIMT=dde4mbs.lib os2386.lib
+STDSHLCUIMT=dde4mbs.lib os2386.lib
+.ENDIF
+
+.IF "$(COMEX)"=="3"
+LIBMGR=ilib
+.ELSE
+LIBMGR=lib
+.ENDIF
+LIBFLAGS=/NOI
+
+IMPLIB=implib
+IMPLIBFLAGS=/noi
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r $(RCFILES) $@
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+.IF "$(WORK_STAMP)"=="CVT364"
+DLLPOSTFIX=dp
+.ELSE
+DLLPOSTFIX=co
+.ENDIF
+
+.ENDIF
+
+# --- GNU ---
+.IF "$(COM)" == "GCC"
+
+.INCLUDE : os2gcci.mk
+
+.ENDIF
+
+# --- Watcom ---
+.IF "$(COM)" == "WTC"
+
+ASM=wasm
+AFLAGS=/ml /4pr
+
+CC=wcl386
+.IF "$(e2p)" != ""
+CFLAGS=-c -W3 -Zp4 -Zld $(MINUS_I)$(INCLUDE) -bt=os2 -zq -zm -ep -ee
+.ELSE
+CFLAGS=-c -Zp4 -W3 -Zl -Zld $(MINUS_I)$(INCLUDE) -bt=os2 -zq -s
+.ENDIF
+CFLAGSCXX=-cc++ -xst
+CFLAGSOBJGUIST= #-Alfd -GA -GEfs
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=-bm #-Alfw -GA -GEd
+CFLAGSOBJCUIMT=-bm
+CFLAGSSLOGUIMT=-bm -bd #-Alfw -GD -GEfd
+CFLAGSSLOCUIMT=-bm -bd
+CFLAGSPROF=
+CFLAGSDEBUG=/d2
+CFLAGSDBGUTIL=
+.IF "$(e2p)" != ""
+CFLAGSOPT=-otexan -3s
+CFLAGSNOOPT=-od -3s
+.ELSE
+CFLAGSOPT=-otexan -4s
+CFLAGSNOOPT=-od -4s
+.ENDIF
+CFLAGSOUTOBJ=-Fo
+
+LINK=wlink
+LINKFLAGS=op symf op caseexact op statics op MANY
+LINKFLAGSAPPGUI=sys os2v2 pm
+LINKFLAGSSHLGUI=sys os2v2 dll INITINSTANCE TERMINSTANCE
+LINKFLAGSAPPCUI=sys os2v2
+LINKFLAGSSHLCUI=sys os2v2 dll
+LINKFLAGSTACK=op stack=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=debug all op undefsok
+LINKFLAGSOPT=
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=libr clib3s.lib libr plib3s.lib libr math387s.lib
+STDSLOGUI=libr clib3s.lib libr os2386.lib libr plib3s.lib libr math387s.lib
+STDOBJCUI=libr clib3s.lib libr plib3s.lib libr math387s.lib
+STDSLOCUI=libr clib3s.lib libr plib3s.lib libr math387s.lib
+STDLIBGUIST=libr os2386.lib libr clib3s.lib libr plib3s.lib
+STDLIBCUIST=libr os2386.lib libr clib3s.lib libr plib3s.lib
+STDLIBGUIMT=libr os2386.lib libr clib3s.lib libr plib3s.lib
+STDLIBCUIMT=libr os2386.lib libr clib3s.lib libr plib3s.lib
+STDSHLGUIMT=libr os2386.lib libr clib3s.lib libr plibmt3s.lib libr math387s.lib libr plib3s.lib libr noemu387.lib
+STDSHLCUIMT=libr os2386.lib libr clib3s.lib libr plibmt3s.lib libr matg387s.lib libr plib3s.lib
+
+LIBMGR=wlib
+LIBFLAGS=/p=128 /c /m
+
+IMPLIB=echo
+IMPLIBFLAGS=
+
+MAPSYM=mapsym
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r $(RCFILES) $@
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=wo
+
+.ENDIF
+
+# --- OS2 Allgemein ---
+HC=toipf
+HCFLAGS=
+PATH_SEPERATOR*=;
+DLLPRE=
+DLLPOST=.dll
+EXECPOST=.exe
+SCPPOST=.ins
+DLLDEST=$(BIN)
+
+.ENDIF
diff --git a/solenv/inc/postmac.h b/solenv/inc/postmac.h
new file mode 100644
index 000000000000..852ddabdd1b3
--- /dev/null
+++ b/solenv/inc/postmac.h
@@ -0,0 +1,53 @@
+/*************************************************************************
+#*
+#* $Workfile: svpm.h $
+#*
+#* Ersterstellung DV 01.10.97
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/tools/os2/inc/svpm.h_v $
+#*
+#* Copyright (c) 2000, Sun Microsystems, Inc.
+#*
+#*************************************************************************
+
+ Source Code Control System - Header
+
+ $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/solenv/inc/postmac.h,v 1.1.1.1 2000-09-20 14:43:16 hr Exp $
+
+ Source Code Control System - Update
+
+ $Log: not supported by cvs2svn $
+ Revision 1.1 2000/06/11 09:18:58 patrick.luby
+ Updates to support SRC591 build on Mac OS X.
+
+ Revision 1.2 1997/10/15 12:26:50 dv
+ MAC_Ptr und MAC_Boolean neu
+
+ Revision 1.1 1997/10/01 06:45:40 dv
+ First checked in
+
+
+*************************************************************************/
+
+#undef Boolean
+#undef Button
+#undef Byte
+#undef Control
+#undef Cursor
+#undef FontInfo
+#undef GetItem
+#undef MemoryBlock
+#undef Palette
+#undef Polygon
+#undef Point
+#undef Ptr
+#undef Region
+#undef Size
+#undef LSize
+#undef ModalDialog
+#undef SetCursor
+#undef ShowWindow
+#undef StringPtr
+#undef DirInfo
diff --git a/solenv/inc/postset.mk b/solenv/inc/postset.mk
new file mode 100644
index 000000000000..74546ecfb761
--- /dev/null
+++ b/solenv/inc/postset.mk
@@ -0,0 +1,226 @@
+
+#*******************************************************************
+#*/*****************************************************************/
+#*
+#* $Workfile: postset.mk $
+#*
+#* Beschreibung settings which use variables defined
+#* in makefile.mk
+#*
+#* Ersterstellung HJS 20.07.99
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/postset.mkv $
+#*
+#* Copyright (c) 1990-1999, STAR DIVISION
+#*
+#*******************************************************************
+
+defaultlang=deut
+defaultlangext=49
+
+alllangext=49
+deut$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_49=deut
+longlang_49=german
+langext_49=49
+rsclang_49=-lgGERMAN $(IBM_PC_437)
+rescharset_49=$(deut$(LANG_GUI))
+
+.IF "$(RES_ENUS)"!=""
+alllangext+=01
+enus$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_01=enus
+longlang_01=english_us
+langext_01=01
+rsclang_01=-lgENGLISH_US $(IBM_PC_437)
+rescharset_01=$(enus$(LANG_GUI))
+RCLANGFLAGS_01+= -d ENGLISH
+.ENDIF
+
+.IF "$(UPDATER)"!="" || "$(give_me_all_languages)"!=""
+
+.IF "$(RES_ITAL)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=39
+ital$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_39=ital
+longlang_39=italian
+langext_39=39
+rsclang_39=-lgITALIAN $(IBM_PC_850)
+rescharset_39=$(ital$(LANG_GUI))
+RCLANGFLAGS_39+= -d ITALY
+.ENDIF
+
+.IF "$(RES_SPAN)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=34
+span$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_34=span
+longlang_34=spanish
+langext_34=34
+rsclang_34=-lgSPANISH $(IBM_PC_850)
+rescharset_34=$(span$(LANG_GUI))
+RCLANGFLAGS_34+= -d SPAIN
+.ENDIF
+
+.IF "$(RES_FREN)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=33
+fren$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_33=fren
+longlang_33=french
+langext_33=33
+rsclang_33=-lgFRENCH $(IBM_PC_850)
+rescharset_33=$(enus$(LANG_GUI))
+RCLANGFLAGS_33+= -d FRENCH
+.ENDIF
+
+.IF "$(RES_DTCH)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=31
+dtch$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_31=dtch
+longlang_31=dutch
+langext_31=31
+rsclang_31=-lgDUTCH $(IBM_PC_850)
+rescharset_31=$(dtch$(LANG_GUI))
+RCLANGFLAGS_31+= -d DTCH
+.ENDIF
+
+.IF "$(RES_DAN)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=45
+dan$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_45=dan
+longlang_45=danish
+langext_45=45
+rsclang_45=-lgDANISH $(IBM_PC_850)
+rescharset_45=$(dan$(LANG_GUI))
+.ENDIF
+
+.IF "$(RES_SWED)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=46
+swed$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_46=swed
+longlang_46=swedish
+langext_46=46
+rsclang_46=-lgSWEDISH $(IBM_PC_850)
+rescharset_46=$(swed$(LANG_GUI))
+RCLANGFLAGS_46+= -d SWED
+.ENDIF
+
+.IF "$(RES_PORT)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=03
+port$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_03=port
+longlang_03=portuguese
+langext_03=03
+rsclang_03=-lgPORTUGUESE $(IBM_PC_850)
+rescharset_03=$(port$(LANG_GUI))
+RCLANGFLAGS_03+= -d PORT
+.ENDIF
+
+.IF "$(RES_JAPN)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=81
+japn$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_81=japn
+longlang_81=japanese
+langext_81=81
+rsclang_81=-lgJAPANESE
+rescharset_81=$(japn$(LANG_GUI))
+RCLANGFLAGS_81+= -d JAPAN
+.ENDIF
+
+.IF "$(RES_CHINSIM)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=86
+chinsim$(LANG_GUI)*=$(default$(LANG_GUI))
+lang_86=chinsim
+longlang_86=chinese_simplified
+langext_86=86
+rsclang_86=-lgCHINESE_SIMPLIFIED
+rescharset_86=$(chinsim$(LANG_GUI))
+RCLANGFLAGS_86+= -d CHINA
+.ENDIF
+
+.IF "$(RES_CHINTRAD)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=88
+chintrad$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_chintrad:=chintrad 88 -lgCHINESE_TRADITIONAL $(chintrad$(LANG_GUI))
+lang_88=chintrad
+longlang_88=chinese_traditional
+langext_88=88
+rsclang_88=-lgCHINESE_TRADITIONAL
+rescharset_88=$(chintrad$(LANG_GUI))
+.ENDIF
+
+.IF "$(RES_RUSS)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=07
+russ$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_russ:=russ 07 -lgRUSSIAN $(IBM_PC_852) $(russ$(LANG_GUI))
+lang_07=russ
+longlang_07=russian
+langext_07=07
+rsclang_07=-lgRUSSIAN $(IBM_PC_852)
+rescharset_07=$(russ$(LANG_GUI))
+RCLANGFLAGS_07+= -d RUSS
+.ENDIF
+
+.IF "$(RES_POL)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=48
+pol$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_pol:=pol 48 -lgPOLISH $(IBM_PC_852) $(pol$(LANG_GUI))
+lang_48=pol
+longlang_48=polish
+langext_48=48
+rsclang_48=-lgPOLISH $(IBM_PC_852)
+rescharset_48=$(pol$(LANG_GUI))
+RCLANGFLAGS_48+= -d POLISH
+.ENDIF
+
+.IF "$(RES_ARAB)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=96
+arab$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_arab:=arab 96 -lgARABIC $(IBM_PC_852) $(arab$(LANG_GUI))
+lang_96=arab
+longlang_96=arabic
+langext_96=96
+rsclang_96=-lgARABIC $(IBM_PC_852)
+rescharset_96=$(arab$(LANG_GUI))
+RCLANGFLAGS_96+= -d ARABIC
+.ENDIF
+
+.IF "$(RES_GREEK)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=30
+greek$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_greek:=greek 30 -lgGREEK $(IBM_PC_852) $(greek$(LANG_GUI))
+lang_30=greek
+longlang_30=greek
+langext_30=30
+rsclang_30=-lgGREEK $(IBM_PC_852)
+rescharset_30=$(greek$(LANG_GUI))
+RCLANGFLAGS_30+= -d GREEK
+.ENDIF
+
+.IF "$(RES_TURK)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=90
+turk$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_greek:=turk 30 -lgTURKISH $(IBM_PC_852) $(greek$(LANG_GUI))
+lang_90=turk
+longlang_90=turkish
+langext_90=90
+rsclang_90=-lgTURKISH $(IBM_PC_857)
+rescharset_90=$(turk$(LANG_GUI))
+RCLANGFLAGS_90+= -d TURKISH
+.ENDIF
+
+.IF "$(RES_KOREAN)"!="" || "$(give_me_all_languages)"!=""
+alllangext+=82
+korean$(LANG_GUI)*=$(default$(LANG_GUI))
+cmd_korean:=korean 82 -lgKOREAN $(IBM_PC_852) $(korean$(LANG_GUI))
+lang_82=korean
+longlang_82=korean
+langext_82=82
+rsclang_82=-lgKOREAN $(IBM_PC_852)
+rescharset_82=$(korean$(LANG_GUI))
+RCLANGFLAGS_82+= -d KOREAN
+.ENDIF
+
+.ENDIF # "$(UPDATER)"!="" || "$(give_me_all_languages)"!=""
+
diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h
new file mode 100644
index 000000000000..ec138677505d
--- /dev/null
+++ b/solenv/inc/premac.h
@@ -0,0 +1,56 @@
+/*************************************************************************
+#*
+#* $Workfile: svpm.h $
+#*
+#* Ersterstellung DV 01.10.97
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/tools/os2/inc/svpm.h_v $
+#*
+#* Copyright (c) 2000, Sun Microsystems, Inc.
+#*
+#*************************************************************************
+
+ Source Code Control System - Header
+
+ $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/solenv/inc/premac.h,v 1.1.1.1 2000-09-20 14:43:16 hr Exp $
+
+ Source Code Control System - Update
+
+ $Log: not supported by cvs2svn $
+ Revision 1.2 2000/06/26 17:08:58 patrick.luby
+ Updated files so that the %minor.mk dmake recipe will work for developers who
+ must use rsync to get the solver directories.
+
+ Revision 1.1 2000/06/11 09:18:58 patrick.luby
+ Updates to support SRC591 build on Mac OS X.
+
+ Revision 1.2 1997/10/15 12:26:32 dv
+ MacOSPtr und MacOSBoolean neu
+
+ Revision 1.1 1997/10/01 06:45:41 dv
+ First checked in
+
+
+*************************************************************************/
+
+#define Boolean MacOSBoolean
+#define Button MacOSButton
+#define Byte MacOSByte
+#define Control MacOSControl
+#define Cursor MacOSCursor
+#define FontInfo MacOSFontInfo
+#define MemoryBlock MacOSMemoryBlock
+#define Point MacOSPoint
+#define Size MacOSSize
+#define Region MacOSRegion
+#define Polygon MacOSPolygon
+#define Ptr MacOSPtr
+#define Palette MacOSPalette
+#define LSize MacOSLSize
+#define ModalDialog MacOSModalDialog
+#define SetCursor MacOSSetCursor
+#define ShowWindow MacOSShowWindow
+#define StringPtr MacOSStringPtr
+#define DirInfo MacOSDirInfo
diff --git a/solenv/inc/pstrules.mk b/solenv/inc/pstrules.mk
new file mode 100644
index 000000000000..b1a38bccee26
--- /dev/null
+++ b/solenv/inc/pstrules.mk
@@ -0,0 +1,225 @@
+
+#*******************************************************************
+#*/*****************************************************************/
+#*
+#* $Workfile: pstrules.mk $
+#*
+#* Beschreibung rules which use variables defined
+#* in makefile.mk
+#*
+#* Ersterstellung HJS 20.07.99
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:16 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/pstrules.mkv $
+#*
+#* Copyright (c) 1990-1999, STAR DIVISION
+#*
+#*******************************************************************
+
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+#+++++++++++ svxlight rules +++++++++++++++++++++++++++++++++++++
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+.IF "$(SVXLIGHTOBJFILES)"!=""
+
+SVXLIGHTDEFS=-DSVX_LIGHT
+
+$(OBJ)$/sxl_%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/sxl_$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ENDIF
+.ENDIF
+
+.ENDIF # "$(SVXLIGHTOBJFILES)"!=""
+
+.IF "$(SVXLIGHTSLOFILES)"!=""
+
+$(SLO)$/sxl_%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$/sxl_$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ENDIF
+.ENDIF
+
+.ENDIF # "$(SVXLIGHTSLOFILES)"!=""
+
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+#+++++++++++ second_build rules +++++++++++++++++++++++++++++++++++++
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+.IF "$(SECOND_BUILD)"!=""
+.IF "$($(SECOND_BUILD)OBJFILES)"!=""
+
+#$(SECOND_BUILD)CDEFS=-DSVX_LIGHT
+
+$(OBJ)$/$(SECOND_BUILD)_%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$(SECOND_BUILD)_$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$(SECOND_BUILD)_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$(SECOND_BUILD)_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ENDIF
+.ENDIF
+
+$(OBJ)$/$(SECOND_BUILD)_%.obj : %.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) -E $(CFLAGSOUTOBJ) $(OBJ)$/$(SECOND_BUILD)_$*.o $*.c
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$(SECOND_BUILD)_$*.o $*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.c)
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$(SECOND_BUILD)_$*.obj $*.c )
+ @+echo.
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$(SECOND_BUILD)_$*.obj $*.c
+.ELSE
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$(SECOND_BUILD)_$*.obj $*.c )
+.ENDIF
+ $(SEMADEBUG)
+.ENDIF
+.ENDIF
+
+.ENDIF # "$($(SECOND_BUILD)OBJFILES)"!=""
+
+.IF "$($(SECOND_BUILD)SLOFILES)"!=""
+
+$(SLO)$/$(SECOND_BUILD)_%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$/$(SECOND_BUILD)_$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$(SECOND_BUILD)_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$(SECOND_BUILD)_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ENDIF
+.ENDIF
+
+$(SLO)$/$(SECOND_BUILD)_%.obj : %.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ) $(SLO)$/$(SECOND_BUILD)_$*.o $*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.c)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$(SECOND_BUILD)_$*.obj $*.c
+.ELSE
+ +$(TYPE) $(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$(SECOND_BUILD)_$*.obj $*.c )
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$(SECOND_BUILD)_$*.obj $*.c )
+.ENDIF
+.ENDIF
+.ENDIF
+
+.ENDIF # "$($(SECOND_BUILD)SLOFILES)"!=""
+.ENDIF # "$(SECOND_BUILD)"!=""
+
+#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+#+++++++++++ srcipting rules ++++++++++++++++++++++++++++++++++++++++
+#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+.IF "$(PARFILES)"!=""
+ALLPARFILES=$(foreach,i,$(PARFILES) $(foreach,j,$(SCP_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+SCP_PRODUCT_TYPE*=FAT
+
+$(PAR)$/%.par :
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="OS2"
+ $(CC) /P+ /Pe+ /Pd+ $(INCLUDE) -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLSUFFIX=$(DLLSUFFIX) $(*:b).scp > $(MISC)$/$(*:b).pre
+.ENDIF
+.IF "$(GUI)"=="WNT"
+ $(CC) /EP $(INCLUDE) -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLSUFFIX=$(DLLSUFFIX) $(*:b).scp > $(MISC)$/$(*:b).pre
+.ENDIF
+.IF "$(GUI)"=="UNX"
+.IF "$(OS)"=="SOLARIS"
+ cpp.lcc -+ -P -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLSUFFIX=$(DLLSUFFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) $(*:b).scp > $(MISC)$/$(*:b).pre
+.ELSE
+ $(CC) -E -P -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLSUFFIX=$(DLLSUFFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) -x c++ $(*:b).scp > $(MISC)$/$(*:b).pre
+.ENDIF
+.ENDIF
+ +scpcomp -s $(MISC)$/$(*:b).pre -o $@
+
+.ENDIF # "$(PARFILES)"!=""
+
+#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+#+++++++++++ cppumaker rules ++++++++++++++++++++++++++++++++++++++++
+#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+$(UNOUCROUT)$/%.hpp : $(UNOUCRDEP)
+ +cppumaker $(CPPUMAKERFLAGS) -B$(UNOUCRBASE) -O$(UNOUCROUT) -T{$(subst,$/,. $(subst,$(UNOUCROUT)$/, $(@:db)))} $(UNOUCRRDB)
+
+$(UNOUCROUT)$/%.hdl : $(UNOUCRDEP)
+ +cppumaker $(CPPUMAKERFLAGS) -B$(UNOUCRBASE) -O$(UNOUCROUT) -T{$(subst,$/,. $(subst,$(UNOUCROUT)$/, $(@:db)))} $(UNOUCRRDB)
+
diff --git a/solenv/inc/rules.mk b/solenv/inc/rules.mk
new file mode 100644
index 000000000000..450f35b79f74
--- /dev/null
+++ b/solenv/inc/rules.mk
@@ -0,0 +1,731 @@
+##*******************************************************************
+##*
+##* $Workfile: rules.mk $
+##*
+##* Beschreibung Compiler und Systemabhaengige
+##* Entwicklungtools-Definitionen
+##* Regeln
+##*
+##* Ersterstellung MH 9.2.96
+##* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+##* $Revision: 1.1.1.1 $
+##*
+##* $Logfile: T:/solar/inc/rules.mkv $
+##*
+##* Copyright (c) 1990-1996, STAR DIVISION
+##*
+##*******************************************************************
+
+MKFILENAME:=RULES.MK
+
+.IF "$(debug)"!=""
+SEMADEBUG=echo $(VCSID) hat das File $@ mit debug=$(debug) uebersetzt >$(MISC)\$*.!d!
+.ELSE
+SEMADEBUG=@+rem dummy
+.ENDIF
+
+$(OBJ)$/%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.cxx)
+.ELSE
+.IF "$(COM)"=="WTC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj ) $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx )
+ @+echo.
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ELSE
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(SLO)$/%.obj : %.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(SPEW)"!=""
+ @+-spew x:\er\stardiv.spw
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) -E $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $(CFLAGSINCXX)$(PWD)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.cxx)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+.IF "$(COM)"=="WTC"
+ @+if exist $@ $(RM) /q $@ >& nul
+
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj ) $(CFLAGSINCXX)$(PWD)$/$*.cxx
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(SLO)$/%.obj : %.cpp
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) -E $(CFLAGSINCXX)$(PWD)$/$*.cpp
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $(CFLAGSINCXX)$(PWD)$/$*.cpp
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.cpp)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+.IF "$(COM)"=="WTC"
+ @+if exist $@ $(RM) /q $@ >& nul
+
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj ) $(CFLAGSINCXX)$(PWD)$/$*.cpp
+.ELSE
+.IF "$(COM)"=="BLC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cpp)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cpp )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cpp )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(SLO)$/%.obj : $(MISC)$/%.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) -E $(CFLAGSINCXX)$(MISC)$/$*.cxx
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $(CFLAGSINCXX)$(MISC)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $(MISC)$/*.cxx)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="WTC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU)) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx
+.ELSE
+.IF "$(COM)"=="BLC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx)
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(OBJ)$/$(IDLPACKAGE)$/%.obj : $(OUTCXX)$/$(IDLPACKAGE)$/%.cxx
+ @echo ------------------------------
+ @echo Making: $@
+ @+-$(MKDIRHIER) $(OBJ)$/$(IDLPACKAGE)
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) -E $(CFLAGSINCXX)$(OUTCXX)$(IDLPACKAGE)$/$*.cxx
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ) $(OBJ)$/$(IDLPACKAGE)$/$*.o $(CFLAGSINCXX)$(OUTCXX)$/$(IDLPACKAGE)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $(OUTCXX)$/$(IDLPACKAGE)$/*.cxx)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="WTC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU)) $(CFLAGSOUTOBJ)$(OBJ)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$/$(IDLPACKAGE)$/$*.cxx
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$/$(IDLPACKAGE)$/$*.cxx )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$/$(IDLPACKAGE)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/%.obj : $(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/%.cxx
+ @echo ------------------------------
+ @echo Making: $@
+ @+-$(MKDIRHIER) $(SLO)$(SMARTPRE)$/$(IDLPACKAGE)
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) -E $(CFLAGSINCXX)$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.o $(CFLAGSINCXX)$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="WTC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU)) $(CFLAGSOUTOBJ)$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.obj $(CFLAGSINCXX)$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+
+
+$(OBJ)$/%.obj : $(MISC)$/%.cxx
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU) -E $(CFLAGSINCXX)$(MISC)$/$*.cxx
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $(CFLAGSINCXX)$(MISC)$/$*.cxx
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHOBJFLAGSU) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $(MISC)$/$*.cxx)
+.ELSE
+.IF "$(MDB)" != ""
+ @echo $@
+ @echo #$*#
+ @echo #$/#
+ @echo $(&:+"\n"))
+.ENDIF
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="WTC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU)) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx
+.ELSE
+.IF "$(COM)"=="BLC"
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx)
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(PCHSLOFLAGSU) $(CFLAGSOUTOBJ)$(OBJ)$/$*.obj $(CFLAGSINCXX)$(MISC)$/$*.cxx )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(OBJ)$/%.obj : %.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(TEST)"!=""
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $*.c
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.c)
+.ELSE
+.IF "$(COM)"=="WTC"
+ echo $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $*.c
+ $(cc) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ)) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $*.c
+.ELSE
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $*.c )
+ @+echo.
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $*.c
+.ELSE
+ +-@echo HAllo Ause
+ +-@echo Cflags: $(CFLAGS)
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $*.c )
+.ENDIF
+ $(SEMADEBUG)
+.ENDIF
+.ENDIF
+.ENDIF
+
+$(OBJ)$/%.obj : $(MISCX)$/%.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $(MISCX)$/$*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $(MISCX)$/$*.c )
+ @+echo.
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)\$*.obj $(MISCX)$/$*.c )
+ $(SEMADEBUG)
+.ENDIF
+
+$(SLO)$/%.obj : $(MISCX)$/%.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSSLO) $(PCHSLOFLAGSU) $(CDEFS) $(CDEFSSLO) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $(MISCX)$/$*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ @+$(TYPE) $(mktmp $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSSLO) $(PCHSLOFLAGSU) $(CDEFS) $(CDEFSSLO) $(CFLAGSOUTOBJ)$(SLO)\$*.obj $(MISCX)$/$*.c )
+ @+echo.
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSSLO) $(PCHSLOFLAGSU) $(CDEFS) $(CDEFSSLO) $(CFLAGSOUTOBJ)$(SLO)\$*.obj $(MISCX)$/$*.c
+.ELSE
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(CFLAGSSLO) $(PCHSLOFLAGSU) $(CDEFS) $(CDEFSSLO) $(CFLAGSOUTOBJ)$(SLO)\$*.obj $(MISCX)$/$*.c )
+.ENDIF
+ $(SEMADEBUG)
+.ENDIF
+
+$(SLO)$/%.obj : %.c
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $*.c
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE
+.IF "$(COM)"=="WTC"
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(cc) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT)) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $*.c
+ +IF exist $*.err @del $*.err
+.ELSE
+.IF "$(GUI)"=="MAC"
+ @$(RM) $@
+ $(cc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ) $(shell $(UNIX2MACPATH) $@ $*.c)
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+.IF "$(COM)"=="GCC"
+ $(CC) $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $*.c
+.ELSE
+ $(CC) @$(mktmp $(CFLAGS:s/stl//) $(CFLAGSCC) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$*.obj $*.c )
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Objective-C files
+$(OBJ)$/%.obj : %.m
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(OS)"=="MACOSX"
+.IF "$(TEST)"!=""
+ $(objc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $*.m
+.ELSE
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(objc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $*.m
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ENDIF
+.ELSE "$(OS)"=="MACOSX"
+ @echo "No recipe for compiling Objective-C files is available for this platform"
+.ENDIF "$(OS)"=="MACOSX"
+
+# Objective-C files
+$(OBJ)$/%.obj : $(MISCX)$/%.m
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(OS)"=="MACOSX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(objc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(PCHOBJFLAGSU) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ) $(OBJ)$/$*.o $(MISCX)$/$*.m
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE "$(OS)"=="MACOSX"
+ @echo "No recipe for compiling Objective-C files is available for this platform"
+.ENDIF "$(OS)"=="MACOSX"
+
+# Objective-C files
+$(SLO)$/%.obj : $(MISCX)$/%.m
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(OS)"=="MACOSX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(objc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSSLO) $(PCHSLOFLAGSU) $(CDEFS) $(CDEFSSLO) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $(MISCX)$/$*.m
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE "$(OS)"=="MACOSX"
+ @echo "No recipe for compiling Objective-C files is available for this platform"
+.ENDIF "$(OS)"=="MACOSX"
+
+# Objective-C files
+$(SLO)$/%.obj : %.m
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(OS)"=="MACOSX"
+ @$(RM) $@ $(@:s/.obj/.o/)
+ $(objc) $(CFLAGS:s/stl//) $(CFLAGSCC) $(OBJCFLAGS) $(PCHSLOFLAGSU) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ) $(SLO)$/$*.o $*.m
+ +if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
+.ELSE "$(OS)"=="MACOSX"
+ @echo "No recipe for compiling Objective-C files is available for this platform"
+.ENDIF "$(OS)"=="MACOSX"
+
+.IF "$(MAKEFILERC)"==""
+$(MISC)$/%.dpc : $(CFILES) $(CXXFILES) $(RCFILES) $(UNOIDLTARGETS) $(SLOFILES) $(OBJFILES)
+ @echo ------------------------------
+ @echo Making: $@
+ dmake subdmake=true $(MFLAGS) $(CALLMACROS) depend=t ALLDPC
+
+$(MISC)$/%.dpw : $(CFILES) $(CXXFILES) $(RCFILES)
+ @echo ------------------------------
+ @echo Making: $@
+ dmake $(MFLAGS) $(CALLMACROS) depend=t ALLDPC
+
+$(MISC)$/%.dpr : $(SRCFILES) $(SRC1FILES) $(SRC2FILES) $(SRC3FILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT" || "$(GUI)"=="UNX" || "$(GUI)"=="OS2"
+ @+-$(RM) $(SRS)$/$(PWD:f).*.dpr >& $(NULLDEV)
+ dmake $(MFLAGS) $(CALLMACROS) make_srs_deps=true SRCALLTARGET -u
+ +-$(TYPE) $(SRS)$/$(PWD:f).*.dpr >> $@
+.ELSE
+ @+echo # > $@
+.ENDIF
+.ELSE # MAKEFILERC == ""
+$/.dpc :
+ @echo ------------------------------
+ @echo Ignoring: $@
+.ENDIF
+
+$(MISC)$/%.dpz :
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT" || "$(GUI)"=="UNX" || "$(GUI)"=="OS2"
+ @+-$(RM) $(MISC)$/$(TARGET).$(PWD:f).*.dpzz >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+ dmake $(MFLAGS) $(CALLMACROS) make_zip_deps=true ZIPALLTARGET -u
+ $(TYPE) $(MISC)$/$(TARGET).$(PWD:f).*.dpzz >> $@
+ @+-$(RM) $(MISC)$/$(TARGET).$(PWD:f).*.dpzz >& $(NULLDEV)
+.ELSE
+ @+echo # > $@
+.ENDIF
+
+# Dependencies fuer unoidl - Files
+
+$(MISC)$/%.dp2 : makefile.mk
+.IF "$(nodep)"==""
+ @+echo Making dp2...
+.IF "$(NOSMARTUNO)"==""
+ $(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLDEPFLAGS) -Bs2u $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUT)$/cxx$(SMARTPRE)$/$(IDLPACKAGE) $(DEPIDLFILES)) > $(MISC)$/$(TARGET).dp2
+.ENDIF #NOSMARTUNO
+.ELSE
+ @+echo not making dp2...
+ @+echo #> $@
+.ENDIF
+
+$(MISC)$/%.dp1 : makefile.mk
+.IF "$(nodep)"==""
+ @+echo Making dp1...
+.IF "$(NOSMARTUNO)"==""
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLDEPFLAGS) -Bsmart $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(SMARTPRE)$/$(IDLPACKAGE) -OI$(OUT)$/cxx$(SMARTPRE)$/$(IDLPACKAGE) $(DEPIDLFILES)) > $(MISC)$/$(TARGET).dp1
+.ELSE #NOSMARTUNO
+.IF "$(PACKAGE)"==""
+ $(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLDEPFLAGS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUT)$/cxx $(DEPIDLFILES)) > $(MISC)$/$(TARGET).dp1
+.ELSE
+ +echo $(UNOIDL) $(UNOIDLDEFS) $(UNOIDLDEPFLAGS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -I$(SOLARIDLDIR)$/$(PACKAGE) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUT)$/cxx$/$(IDLPACKAGE) $(DEPIDLFILES)
+ $(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLDEPFLAGS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -I$(SOLARIDLDIR)$/$(PACKAGE) -I$(SOLARIDLDIR) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUT)$/cxx$/$(IDLPACKAGE) $(DEPIDLFILES)) > $(MISC)$/$(TARGET).dp1
+.ENDIF
+.ENDIF #NOSMARTUNO
+.ELSE
+ @+echo not making dp1...
+ @+echo #> $@
+.ENDIF
+
+$(MISC)$/%.dp3 : makefile.mk
+.IF "$(nodep)"==""
+ @+echo Making dp3.....
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) $(UNOIDLDEPFLAGS) -Bjava -P$(PRJNAME) -OH$(MISC)$/java $(DEPIDLFILES)) > $(MISC)$/$(TARGET).dp3
+.ELSE
+ @+echo not making dp3...
+ @+echo #> $@
+.ENDIF
+
+$(MISC)$/%.dpj : makefile.mk
+ @+echo Making dpj...
+.IF "$(nodep)"!=""
+.IF "$(GUI)"=="UNX"
+ @+echo > $@
+.ELSE
+ @+echo. > $@
+.ENDIF
+.ELSE # "$(ndep)"==""
+.IF "$(GUI)"=="UNX"
+ @$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/:/ /) -i $i) $(JAVACLASSFILES))
+.ELSE
+ $(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/;/ /) -i $i) $(JAVACLASSFILES))
+.ENDIF
+.ENDIF # "$(nodep)"==""
+
+$(SLO)$/%.obj : %.asm
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(COM)"=="WTC"
+ $(ASM) $(AFLAGS) -D$(COM) $*.asm -fo=$(SLO)\$*.obj
+ +-if exist $*.err @del $*.err
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(ASM) $(AFLAGS) $*.asm,$(SLO)\$*.obj;
+.ENDIF
+ @$(SEMADEBUG)
+
+$(OBJ)$/%.obj : %.asm
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(COM)"=="WTC"
+ $(ASM) $(AFLAGS) $*.asm -fo=$(OBJ)\$*.obj
+ +-if exist $*.err @del $*.err
+.ELSE
+ @+if exist $@ $(RM) /q $@ >& nul
+ $(ASM) $(AFLAGS) $*.asm,$(OBJ)\$*.obj;
+.ENDIF
+ @$(SEMADEBUG)
+#
+# keine rule fuer *.java - abh. innerhalb eines packages!
+#
+#$(CLASSDIR)$/$(PACKAGE)$/%.class : %.java
+#.IF "$(use_jdep)"!=""
+# $(JAVAC) -depend $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $<
+#.ELSE
+# $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $<
+#.ENDIF
+
+.SOURCE.idl : . $(SOLARVER)$/$(INPATH)$/idl$/remote $(SOLARVER)$/$(INPATH)$/idl $(SOLARVER)$/$(INPATH)$/idl$(UPDMINOREXT)$/$(PACKAGE)
+
+.IF "$(TF_PACKAGES)"==""
+.IF "$(NOSMARTUNO)"==""
+# smart uno mapping files fuer den unoidl generieren !
+$(MISC)$/%.smr : %.idl
+ @+echo Making for nix $@
+.IF "$(GUI)"=="UNX"
+ @+-echo mapping > $@
+ @+-echo \{ >> $@
+.IF "$(IDLMAP)"!=""
+ @+-echo "#import <$(IDLMAP)>" >> $@
+ @+-echo "#import <$*.idl>" >> $@
+.ELSE
+ @+-echo "#import <$(PRJNAME)map.idl>" >> $@
+ @+-echo "#import <$(PRJNAME)$/$*.idl>" >> $@
+.ENDIF
+ @+-echo "};" >> $@
+.ELSE
+ @+-echo mapping > $@
+ @+-echo { >> $@
+.IF "$(IDLMAP)"!=""
+ @+-echo `#import <$(IDLMAP)>` >> $@
+ @+-echo `#import <$*.idl>` >> $@
+.ELSE
+ @+-echo `#import <$(PRJNAME)map.idl>` >> $@
+ @+-echo `#import <$(PRJNAME)$/$*.idl>` >> $@
+.ENDIF
+ @+-echo }; >> $@
+.ENDIF
+
+# unoidl aufrufen
+$(MISC)$/%.cxx : $(MISC)$/%.smr
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGENAME) -OH$(INCCOM)$/$(IDLPACKAGE) -OI$(MISC) $<
+ +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -P$(PRJNAME) -OH$(OUT)$/ucr $(DEPIDLFILES)
+.IF "$(UPDATER)$(GUI)"=="YESWNT"
+.IF "$(NOUNODOC)"==""
+ +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bdoc -P..$/$(PRJNAME)$/$(PACKAGE) -OH$(PRJ)$/..$/unodoc $(@:b).idl
+.ENDIF
+.ENDIF
+$(INCCOM)$/$(IDLPACKAGE)$/%.hxx : $(MISC)$/%.smr
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) -P$(IDLPACKAGENAME) -OH$(INCCOM)$/$(IDLPACKAGE) -OI$(MISC) $<
+
+.ELSE # "$(NOSMARTUNO)"==""
+
+$(MISC)$/%.cxx : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(PRJNAME) -OH$(INCCOM)$/$(PRJNAME) -OI$(MISC) $<
+ +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -P$(PRJNAME) -OH$(OUT)$/ucr $<
+$(INCCOM)$/$(PRJNAME)$/%.hxx : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) -P$(PRJNAME) -OH$(INCCOM)$/$(PRJNAME) -OI$(MISC) $<
+
+.ENDIF # "$(NOSMARTUNO)"==""
+
+.ELSE # "$(TF_PACKAGES)"==""
+
+.IF "$(NOSMARTUNO)"==""
+# smart uno mapping files fuer den unoidl generieren !
+$(MISC)$(SMARTPRE)$/$(IDLPACKAGE)$/%.smr : %.idl
+ @+echo Making for TF_PACKAGES $@
+ @+-$(MKDIRHIER) $(MISC)$(SMARTPRE)$/$(IDLPACKAGE)
+.IF "$(GUI)"=="UNX"
+ @+-echo mapping > $@
+ @+-echo \{ >> $@
+.IF "$(IDLMAP)"!=""
+ @+-echo "#import <$(IDLMAP)>" >> $@
+.IF "$(UCE)"==""
+ @+-echo "#import <$*.idl>" >> $@
+.ELSE
+ @+-echo "#import <$(IDLPACKAGE)$/$*.idl>" >> $@
+.ENDIF
+.ELSE # "$(IDLMAP)"!=""
+ @+-echo "#import <$(PRJNAME)map.idl>" >> $@
+ @+-echo "#import <$(PRJNAME)$/$*.idl>" >> $@
+.ENDIF # "$(IDLMAP)"!=""
+ @+-echo "};" >> $@
+.ELSE # "$(GUI)"=="UNX"
+ @+-echo mapping > $(@)
+ @+-echo { >> $(@)
+.IF "$(IDLMAP)"!=""
+ @+-echo `#import <$(IDLMAP)>` >> $(@)
+.IF "$(UCE)"==""
+ @+-echo `#import <$*.idl>` >> $(@)
+.ELSE
+ @+-echo `#import <$(IDLPACKAGE)$/$*.idl>` >> $(@)
+.ENDIF
+.ELSE
+ @+-echo `#import <$(PRJNAME)map.idl>` >> $(@)
+ @+-echo `#import <$(PRJNAME)$/$*.idl>` >> $(@)
+.ENDIF
+ @+-echo }; >> $(@)
+.ENDIF # "$(GUI)"=="UNX"
+
+# unoidl aufrufen
+$(INCCOM)$(SMARTPRE)$/$(IDLPACKAGE)$/%.hxx $(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/%.cxx .UPDATEALL : $(MISC)$(SMARTPRE)$/$(IDLPACKAGE)$/%.smr
+ +$(UNOIDL) $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(SMARTPRE)$/$(IDLPACKAGE) -OI$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE) $(<)
+.IF "$(UPDATER)$(GUI)"=="YESWNT"
+.IF "$(NOUNODOC)"==""
+ +-$(UNOIDL) $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bdoc -P..$/$(PRJNAME)$/$(IDLPACKAGE) -OH$(PRJ)$/..$/unodoc $(@:b).idl
+.ENDIF
+.ENDIF
+
+$(OUT)$/ucr$/$(IDLPACKAGE)$/%.urd : %.idl
+ +$(UNOIDL) -Wb,c $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -OH$(OUT)$/ucr$/$(IDLPACKAGE) $<
+
+$(OUT)$/ucrdoc$/$(IDLPACKAGE)$/%.urd : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -OH$(OUT)$/ucrdoc$/$(IDLPACKAGE) $<
+
+$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/s2u_%.cxx : $(MISC)$(SMARTPRE)$/$(IDLPACKAGE)$/%.smr
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) $(TF_PACKAGES_DEF) -Bs2u -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE) $(<)
+
+$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE)$/%.h : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) $(TF_PACKAGES_DEF) -Wb,c -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) $<
+
+.ELSE # "$(NOSMARTUNO)"==""
+
+.IF "$(PACKAGE)"==""
+$(MISC)$/%.cxx : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$/$(IDLPACKAGE) -OI$(MISC) $<
+$(INCCOM)$/$(PRJNAME)$/%.hxx : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$/$(IDLPACKAGE) -OI$(MISC) $<
+.ELSE
+$(OUTCXX)$/$(IDLPACKAGE)$/%.cxx : %.idl
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUTCXX)$/$(IDLPACKAGE) $< )
+$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE)$/%.hxx : %.idl
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLINC) -P$(IDLPACKAGE) -OH$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE) -OI$(OUTCXX)$/$(IDLPACKAGE) $< )
+.ENDIF
+
+$(OUT)$/ucr$/$(IDLPACKAGE)$/%.urd : %.idl
+ +$(UNOIDL) $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -OH$(OUT)$/ucr$/$(IDLPACKAGE) $<
+
+.ENDIF # "$(NOSMARTUNO)"==""
+
+.IF "$(javauno)"!=""
+.IF "$(IDLFILES)"!=""
+# idl to java...
+$(MISC)$/java$/%.java :
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bjava -P$(PRJNAME) -OH$(MISC)$/java $(DEPIDLFILES)
+.ENDIF
+.ENDIF
+
+.ENDIF
+
+.IF "$(make_uno_ext)"!=""
+$(MISC)$/%.uno : $(MISC)$/%.smr
+ +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Buno -prefixswitch -P$(PRJNAME) -OI$(MISC) -OH$(OUT)$/inc $(@:b).idl
+ $(TOUCH) $(MISC)$/$(@:b).uno
+.ENDIF
+
+.IF "$(GUI)"=="WNTtest"
+$(MISC)$/%.hid : %.src
+ +echo Making hids...
+ +mhids $< $(SRS) $(PRJNAME)
+.ENDIF
+
+#generate typelists from xml
+$(MISC)$/%.mk $(MISC)$/%_description.cxx : %.xml
+ +xml2cmp -func $(MISC)$/$*_description.cxx -types $(MISC)$/$*.mk $*.xml
+
+#generate private rdb
+$(BIN)$/%.rdb: $(SOLARBINDIR)$/applicat.rdb $(MISC)$/%.mk
+ +rdbmaker -BUCR -O$(BIN)$/$*.rdb $(foreach,i,$($(@:b)_XML2CMPTYPES) -T$i ) $(COMPRDB)
+
+
diff --git a/solenv/inc/sc.mk b/solenv/inc/sc.mk
new file mode 100644
index 000000000000..6cba2335588d
--- /dev/null
+++ b/solenv/inc/sc.mk
@@ -0,0 +1,46 @@
+#*******************************************************************
+#*
+#* $Workfile: sc.mk $
+#*
+#* Beschreibung Ausnahmen fuer die StarView-Projekte
+#*
+#* Ersterstellung TH 28.03.94
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: pvcs.data1:solar:inc:sc.mkv $
+#*
+#* Copyright (c) 1990-1994, STAR DIVISION
+#*
+#*******************************************************************
+
+.INCLUDE : sv.mk
+
+# MakeDepn nicht das segdefs.hxx und die PCHs auswerten lassen
+# PCHs werden nur in den ..._1st Verzeichnissen aufgenommen
+EXCDEPN=segdefs.hxx
+EXCDEPNPCH=core_pch.hxx;filt_pch.hxx;ui_pch.hxx
+.IF "$(GUI)" != "MAC"
+MKDEPFLAGS+=-E:$(EXCDEPN);$(EXCDEPNPCH)
+.ELSE
+MKDEPFLAGS+=-E:"$(EXCDEPN);$(EXCDEPNPCH)"
+.ENDIF
+
+.IF "$(GUI)" == "WIN"
+LINKFLAGSAPPGUI=/A:128
+LIBFLAGS=$(LIBFLAGS) /PAGE:128
+.ENDIF
+
+
+.IF "$(GUI)$(COM)" == "WINMSC"
+.IF "$(optimize)" != ""
+CFLAGS=$(CFLAGS) -OV9
+.ENDIF
+
+# kein -GEfs wegen dann fehlender inlinings
+CFLAGSOBJGUIST=-Alfd -GA -GEd
+
+# Wer hatte dieses denn aus welchem Grunde eingebaut ????
+#CFLAGSOBJGUIST=-Alfd -GA
+# !ENDIF
+.ENDIF
diff --git a/solenv/inc/scpre.mk b/solenv/inc/scpre.mk
new file mode 100644
index 000000000000..eb8e51090ea9
--- /dev/null
+++ b/solenv/inc/scpre.mk
@@ -0,0 +1,38 @@
+#*******************************************************************
+#*
+#* $Workfile: scpre.mk $
+#*
+#* Beschreibung Ausnahmen fuer die StarCalc
+#*
+#* Ersterstellung TH 28.03.94
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/scpre.mkv $
+#*
+#* Copyright (c) 1990-1994, STAR DIVISION
+#*
+#*******************************************************************
+
+
+#======================================================================
+# standardmaessig mit Optimierung, muss explizit mit nopt=t ausgeschaltet
+# werden, wenn nicht gewuenscht
+#----------------------------------------------------------------------
+
+#.IF defined(nopt) || defined(NOPT)
+#nopt=true
+#NOPT=TRUE
+#!undef optimize
+#!undef OPTIMIZE
+#.ELSE
+#.IF !(defined(debug) || defined(DEBUG))
+#optimize=true
+#OPTIMIZE=TRUE
+#.ENDIF
+#.ENDIF
+
+# falls dependencies auf s:\solver\... erstellt werden sollen
+# MKDEPENDSOLVER=YES
+
+
diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk
new file mode 100644
index 000000000000..2e568a78d8ff
--- /dev/null
+++ b/solenv/inc/settings.mk
@@ -0,0 +1,1473 @@
+#*******************************************************************
+#*/*****************************************************************/
+#*
+#* $Workfile: settings.mk $
+#*
+#* Beschreibung Compiler und Systemabhaengige
+#* Entwicklungtools-Definitionen
+#*
+#* Ersterstellung TH 28.03.94
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/settings.mkv $
+#*
+#* Copyright (c) 1990-1995, STAR DIVISION
+#*
+#*******************************************************************
+
+MKFILENAME:=SETTINGS.MK
+
+# check for new dmake features
+
+.IF 400<=200
+dmake_test_version:
+ @+echo dmake version too old!
+ force_dmake_to_error
+.ENDIF
+
+
+.IF "$(USE_COMMENT)"!=""
+.INCLUDE : comment.mak
+.ENDIF
+
+# --- gemeinsame tool makros --------------------------------------
+.INCLUDE : unitools.mk
+
+# --- minor.mk auf s: erzeugen ------------------------------------
+
+.IF "$(SOLARVERSION)"==""
+SOLARVERSION=$(SOLARVER)$/$(UPD)
+.ENDIF
+
+.INCLUDE : minor.mk
+
+.IF "$(BUILD_SOSL)"==""
+
+%minor.mk :
+.IF "$(SOURCEVERSION)"=="$(WORK_STAMP)"
+ @+-$(MKDIRHIER) $(SOLARVERSION)$/$(INPATH)$/inc >& $(NULLDEV)
+ @+$(COPY) $(SOLARENV)$/inc$/minor.mk $(SOLARVERSION)$/$(UPD)minor.mk >& $(NULLDEV)
+.ELSE # "$(SOURCEVERSION)"=="$(WORK_STAMP)"
+ @+echo #
+ @+echo #
+ @+echo # ERROR: minor.mk in solenv\inc does not match your version!
+ @+echo #
+ @+echo #
+ force_dmake_to_error
+.ENDIF # "$(SOURCEVERSION)"=="$(WORK_STAMP)"
+.IF "$(GUI)"=="UNX"
+ @+tr -d "\015" < $(SOLARVERSION)$/$(UPD)minor.mk > $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/$(UPD)minor.mk
+.ELSE # "$(GUI)"=="UNX"
+ @+$(COPY) $(SOLARVERSION)$/$(UPD)minor.mk $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/$(UPD)minor.mk >& $(NULLDEV)
+.ENDIF # "$(GUI)"=="UNX"
+
+.INCLUDE : $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/$(UPD)minor.mk
+
+.ENDIF # "$(BUILD_SOSL)"==""
+
+# --- vordefiniertes Environments zuruecksetzen --------------------
+.SUFFIXES:
+
+ASM=
+AFLAGS=
+
+
+#JAVA
+.IF "$(JDK)" == "J++"
+JAVAC=jvc.exe
+JAVAI=jview.exe
+JAVACPS=/cp
+.ELSE
+.IF "$(JDK)" == "SCAFE"
+.IF "$(JDK_VERSION)" != ""
+JAVAC=$(DEVROOT)$/vcafe11$/bin$/sj.exe
+JAVAI=$(DEVROOT)$/vcafe11$/java$/bin$/java.exe
+.ELSE
+JAVAC=$(DEVROOT)$/cafepro$/bin$/sj.exe
+JAVAI=$(DEVROOT)$/cafepro$/java$/bin$/java.exe
+.ENDIF
+JAVACPS=-classpath
+JAVARESPONSE=TRUE
+.ELSE
+#JAVAC=javac.exe
+#JAVAI=java.exe
+JAVAC=javac
+JAVAI=java
+JAVACPS=-classpath
+JAVARESPONSE=
+.ENDIF
+.ENDIF
+
+CDEFS=
+CXXDEFS=
+CDEFSCXX=
+CDEFSOBJ=
+CDEFSSLO=
+CDEFSGUI=
+CDEFSCUI=
+CDEFSST=
+CDEFSMT=
+CDEFSPROF=
+CDEFSDEBUG=
+CDEFSDBGUTIL=
+CDEFSOPT=
+HDEFS=
+
+CC=
+.IF "$(add_cflags)"!=""
+ENVCFLAGS+=$(add_cflags)
+.ENDIF
+.IF "$(add_cflagscxx)"!=""
+ENVCFLAGSCXX+=$(add_cflagscxx)
+.ENDIF
+CFLAGS=
+CFLAGSCALL=
+CFLAGSCXX=
+CFLAGSCC=
+CFLAGSOBJ=
+CFLAGSSLO=
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=
+CFLAGSSLOCUIMT=
+CFLAGSPROF=
+CFLAGSDEBUG=
+CFLAGSDBGUTIL=
+CFLAGSOPT=
+CFLAGSNOOPT=
+CFLAGSOUTOBJ=
+CFLAGSPCHC=
+
+PCHOBJFLAGSC=
+PCHSLOFLAGSC=
+PCHOBJFLAGSU=
+PCHSLOFLAGSU=
+
+CFLAGSINCXX=
+
+LINK=
+LINKFLAGS=
+LINKFLAGSAPPGUI=
+LINKFLAGSSHLGUI=
+LINKFLAGSAPPCUI=
+LINKFLAGSSHLCUI=
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+LINKFLAGSAPP=
+LINKFLAGSSHL=
+LINKEXTENDLINE=
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=
+STDLIBCUIST=
+STDLIBGUIMT=
+STDLIBCUIMT=
+STDSHLGUIMT=
+STDSHLCUIMT=
+STDOBJ=
+STDSLO=
+STDLIB=
+STDSHL=
+
+LIBMGR=
+LIBFLAGS=
+
+IMPLIBMGR=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RSC=
+RSCFLAGS=
+RSCDEFS=
+RSCLANG=
+
+RC=
+RCFLAGS=
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+.IF "$(WORK_STAMP)"=="LVM364"
+DMAKE=
+dmake=
+.ENDIF
+.IF "$(WORK_STAMP)"=="MIX364"
+DMAKE=
+dmake=
+.ENDIF
+DLLPOSTFIX=
+
+HC=
+HCFLAGS=
+
+MKDEP=
+MKDEPFLAGS=
+MKDEPALLINC=
+MKDEPSOLENV=
+MKDEPSOLVER=
+MKDEPPREPATH=
+
+AS=
+BC=
+COBOL=
+CPP=
+CXX=
+FOR=
+PASCAL=
+
+BFLAGS=
+COBFLAGS=
+CPPFLAGS=
+CXXFLAGS=
+FFLAGS=
+PFLAGS=
+RFLAGS=
+
+LNT=
+LNTFLAGS=
+LNTFLAGSGUI=
+LNTFLAGSCOM=
+
+MAKELANGDIR=
+# doesn't make sense
+#IDLSTATICOBJS=
+
+E2P=
+CAP=
+cap=
+
+# can be set on the command line. we shouldn't delete them!
+#PROFILE=
+#profile=
+#REMOTE=
+#remote=
+# ===========================================================================
+# unter NT werden Variablennamen an untergeordnete makefiles UPPERCASE
+# weitergereicht, aber case significant ausgewertet!
+# ---------------------------------------------------------------------------
+
+.IF "$(TFDEF)"!=""
+tfdef=$(TFDEF)
+TF_STARONE=TRUE
+tf_starone=TRUE
+TF_CHAOS=TRUE
+tf_chaos=TRUE
+.ENDIF
+
+DMAKE_WORK_DIR*:=$(PWD)
+
+.IF "$(TMP)"!=""
+tmp*=$(TMP)
+.ENDIF
+
+.IF "$(tmp)"!=""
+TMP*=$(tmp)
+.ENDIF
+
+.IF "$(TEMP)"!=""
+temp*=$(TEMP)
+.ENDIF
+
+.IF "$(temp)"!=""
+TEMP*=$(temp)
+.ENDIF
+
+.IF "$(DEPEND)"!=""
+depend=$(DEPEND)
+.ENDIF
+
+.IF "$(OPTIMIZE)"!=""
+optimize=$(OPTIMIZE)
+.ENDIF
+
+.IF "$(NOPT)"!=""
+nopt*=$(NOPT)
+.ENDIF
+
+.IF "$(ADDOPT)"!=""
+addopt*=$(ADDOPT)
+.ENDIF
+
+#.IF "$(DELOPT)"!=""
+#delopt*=$(DELOPT)
+#.ENDIF
+
+.IF "$(DEBUG)"!=""
+debug*=$(DEBUG)
+.ENDIF
+
+.IF "$(debug)"!=""
+DEBUG*=$(debug)
+.ENDIF
+
+.IF "$(GROUP)"!=""
+group*=$(GROUP)
+.ENDIF
+
+.IF "$(group)"!=""
+GROUP*=$(group)
+.ENDIF
+
+.IF "$(NODEBUG)"!=""
+nodebug=$(NODEBUG)
+.ENDIF
+
+.IF "$(PROFILE)"!=""
+profile=$(PROFILE)
+.ENDIF
+
+.IF "$(hbtoolkit)"!=""
+HBTOOLKIT=$(hbtoolkit)
+.ENDIF
+
+.IF "$(REMOTE)"!=""
+remote=$(REMOTE)
+.ENDIF
+
+.IF "$(DBGUTIL)"!=""
+dbgutil=$(DBGUTIL)
+.ENDIF
+
+.IF "$(PRJPCH)"!=""
+prjpch*=$(PRJPCH)
+.ENDIF
+
+.IF "$(prjpch)"!=""
+PRJPCH*=$(prjpch)
+.ENDIF
+
+.IF "$(PRODUCT)"!=""
+product*=$(PRODUCT)
+.ENDIF
+
+.IF "$(product)"!=""
+PRODUCT*=$(product)
+.ENDIF
+
+.IF "$(SOLARLANG)" != ""
+solarlang*=$(SOLARLANG)
+.ENDIF
+
+.IF "$(solarlang)" != ""
+SOLARLANG:=$(solarlang)
+.ENDIF
+
+.IF "$(VCL)" != ""
+vcl=$(VCL)
+DONT_USE_OLE2=TRUE
+.ENDIF
+
+.IF "$(SO3)" != ""
+so3=$(SO3)
+.ENDIF
+
+# --- env flags nicht case sensitiv --------------------------------
+
+.IF "$(envcflags)"!=""
+ENVCFLAGS*=$(envcflags)
+.ENDIF
+
+.IF "$(envcflagscxx)"!=""
+ENVCFLAGSCXX*=$(envcflagscxx)
+.ENDIF
+
+
+.IF "$(envcdefs)"!=""
+ENVCDEFS*=$(envcdefs)
+.ENDIF
+
+.IF "$(envlibflags)"!=""
+ENVLIBFLAGS*=$(envlibflags)
+.ENDIF
+
+.IF "$(envcflagsincxx)"!=""
+ENVCFLAGSINCXX*=$(envcflagsincxx)
+.ENDIF
+
+.IF "$(envlinkflags)"!=""
+ENVLINKFLAGS*=$(envlinkflags)
+.ENDIF
+
+.IF "$(envrscflags)"!=""
+ENVRSCFLAGS*=$(envrscflags)
+.ENDIF
+
+.IF "$(envrscdefs)"!=""
+ENVRSCDEFS*=$(envrscdefs)
+.ENDIF
+
+.IF "$(envrsclinkflags)"!=""
+# ENVRSCLINKFLAGS*=$(envrsclinkflags)
+.ENDIF
+
+.IF "$(envrcflags)"!=""
+ENVRCFLAGS*=$(envrcflags)
+.ENDIF
+
+.IF "$(envrclinkflags)"!=""
+ENVRCLINKFLAGS*=$(envrclinkflags)
+.ENDIF
+
+# --- Parameter Einstellungen ueberpruefen und umsetzen ------------
+
+# profile immer mit product
+.IF "$(profile)"!=""
+.IF "$(product)"==""
+product=full
+.ENDIF
+.ENDIF
+
+# Produkt auf einen Wert setzen (alles klein)
+.IF "$(product)" != ""
+optimize=true
+.IF "$(product)" == "full" || "$(product)" == "Full" || "$(product)" == "FULL"
+product!=full
+.ENDIF
+.IF "$(product)" == "demo" || "$(product)" == "Demo" || "$(product)" == "DEMO"
+product!=demo
+.ENDIF
+.IF "$(product)" == "compact" || "$(product)" == "Compact" || "$(product)" == "COMPACT"
+product!=compact
+.ENDIF
+.ELSE
+dbgutil!=true
+.ENDIF
+
+.IF "$(product)"==""
+.IF "$(RES_ENUS)"==""
+SRSDEFAULT=-SrsDefault
+.ENDIF
+.ENDIF
+
+.IF "$(debug)"!=""
+.IF "$(debug)"!="D_FORCE_OPT"
+optimize=
+OPTIMIZE=
+.ENDIF
+.ENDIF
+
+.IF "$(nopt)"!=""
+optimize=
+OPTIMIZE=
+.ENDIF
+
+
+.IF "$(addopt)"!=""
+OLD_EXEPTIONS=TRUE
+add_opt=
+ADD_OPT=
+.ENDIF
+
+
+#.IF "$(delopt)"!=""
+#del_opt=
+#DEL_OPT=
+#.ENDIF
+
+
+# Optimierung bei FinalCheck funktioniert nicht!
+.IF "$(bndchk)" != ""
+optimize=
+OPTIMIZE=
+.ENDIF
+
+.IF "$(USE_NEWCHARSET)"!=""
+.IF "$(USE_NEWCHARSET)"!="SRC510"
+NEWCHARSET=TRUE
+.ENDIF
+.ENDIF
+
+######################################################
+#
+# sprachabh. einstellungen
+#
+######################################################
+
+.INCLUDE : lang.mk
+
+######################################################
+
+.IF "$(TARGETTYPE)"==""
+TARGETTYPE=GUI
+.ENDIF
+
+.IF "$(TARGETTHREAD)"==""
+.IF "$(GUI)" == "UNX" || "$(GUI)"=="OS2"
+TARGETTHREAD=MT
+.ELSE
+.IF "$(MULTITHREAD_OBJ)"!=""
+TARGETTHREAD=MT
+.ELSE
+TARGETTHREAD=ST
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUIBASE)" == "DOS"
+TARGETTYPE=CUI
+.ENDIF
+
+# Neues Enironment setzen
+.IF "$(NOSMARTUNO)"==""
+.SUFFIXES : .exe .lst .lin .smr .dll .obj .dlo .asm .lib .c .hxx .cxx .res .rc .src .srs .hlp .y .yxx .odl .java .class .hid .cpp
+.ELSE
+.SUFFIXES : .exe .lst .lin .dll .obj .dlo .asm .lib .c .hxx .cxx .res .rc .src .srs .hlp .y .yxx .odl .idl .java .class .hid .cpp
+.ENDIF
+
+# --- Pfade setzen -------------------------------------------------
+
+# Output-Pfad
+# profile muss als erstes sein, weil dabei auch product gesetzt ist
+.IF "$(profile)"!=""
+OUT=$(PRJ)$/$(OUTPATH).cap
+ROUT=$(OUTPATH).cap
+.ELSE
+
+.IF "$(product)"!=""
+OUT=$(PRJ)$/$(OUTPATH).pro
+ROUT=$(OUTPATH).pro
+
+.ELSE
+.IF "$(profile)"!=""
+OUT=$(PRJ)$/$(OUTPATH).cap
+ROUT=$(OUTPATH).cap
+.ENDIF
+.IF "$(dbcs)"!=""
+OUT=$(PRJ)$/$(OUTPATH).w
+ROUT=$(OUTPATH).w
+.ENDIF
+# kann vor dem includen von settings.mak gesetzt werden
+.IF "$(OUT)" == ""
+OUT*=$(PRJ)$/$(OUTPATH)
+ROUT*=$(OUTPATH)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(bndchk)" != ""
+OUT:=$(PRJ)$/$(OUTPATH).bnd
+ROUT=$(OUTPATH).bnd
+.ENDIF
+.IF "$(truetime)" != ""
+OUT=$(PRJ)$/$(OUTPATH).tt
+ROUT=$(OUTPATH).tt
+.ENDIF
+.IF "$(hbtoolkit)"!=""
+OUT=$(PRJ)$/$(OUTPATH).tlk
+ROUT=$(OUTPATH).tlk
+.ENDIF
+
+# common output tree
+COMMON_OUTDIR*=common
+.IF "$(common_build)"!=""
+common_build_reslib=true
+common_build_zip=true
+common_build_sign_jar=true
+.ENDIF # "$(common_build)"!=""
+
+# --- ausgabebaum erzeugen -----------------------------------------
+
+%world.mk :
+ @+_mkout $(OUT)
+ @+echo # > $(OUT)$/inc$/myworld.mk
+.IF "$(common_build)"!=""
+ @+_mkout $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))
+ @+echo # > {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))}$/inc$/myworld.mk
+.ENDIF # "$(common_build)"!=""
+
+.INCLUDE .IGNORE : $(OUT)$/inc$/myworld.mk
+.IF "$(common_build)"!=""
+.INCLUDE .IGNORE : {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))}$/inc$/myworld.mk
+.ENDIF # "$(common_build)"!=""
+
+# --- ausgabebaum remote erzeugen ----------------------------------
+.IF "$(remote)"!=""
+
+%worldremote.mk :
+ @+_mkout -r
+ @+echo # > $(OUT)$/inc$/myworldremote.mk
+.IF "$(common_build)"!=""
+ @+_mkout -r $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))
+ @+echo # > {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))}$/inc$/myworldremote.mk
+.ENDIF # "$(common_build)"!=""
+
+.INCLUDE .IGNORE : $(OUT)$/inc$/myworldremote.mk
+.IF "$(common_build)"!=""
+.INCLUDE .IGNORE : {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(OUT))}$/inc$/myworldremote.mk
+.ENDIF # "$(common_build)"!=""
+
+.ENDIF # "$(remote)"!=""
+
+# Misc-Pfad
+.IF "$(UNR)"!=""
+MISCX=$(OUT)$/umisc
+MISC=$(OUT)$/umisc
+.ELSE
+MISC=$(OUT)$/misc
+# Misc-Pfad zur Erzeugung und Verwendung von lang/demo/compact etc.
+# abhaengigen .DEF, .MAP und .LNK Files
+MISCX=$(OUT)$/misc
+.ENDIF
+
+OUTCXX=$(OUT)$/cxx
+
+.IF "$(PACKAGE)"!=""
+IDLPACKAGE=$(PACKAGE)
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="OS2"
+IDLPACKAGENAME:=$(shell, +echo $(IDLPACKAGE) | $(SED) 's/\\/\//g' )
+.ELSE
+IDLPACKAGENAME:=$(shell, +echo $(IDLPACKAGE) | $(SED) "s/\\/\//g" )
+.ENDIF
+.ENDIF
+.ELSE
+IDLPACKAGE=$(PRJNAME)
+IDLPACKAGENAME=$(PRJNAME)
+.ENDIF
+
+# Objekt-Pfad
+.IF "$(debug)"!=""
+.IF "$(GROUP)"!="WRITER"
+OBJ=$(OUT)$/obj
+SLO=$(OUT)$/slo
+ROBJ=$(ROUT)$/obj
+RPACKAGEOBJ=$(ROUT)$/obj$(SMARTPRE)$/$(IDLPACKAGE)
+RSLO=$(ROUT)$/slo
+RPACKAGESLO=$(ROUT)$/slo$(SMARTPRE)$/$(IDLPACKAGE)
+.ELSE
+OBJ=$(OUT)$/dbo
+SLO=$(OUT)$/dso
+ROBJ=$(ROUT)$/dbo
+RPACKAGEOBJ=$(ROUT)$/dbo$/$(IDLPACKAGE)
+RSLO=$(ROUT)$/dso
+RPACKAGESLO=$(ROUT)$/dso$/$(IDLPACKAGE)
+.ENDIF
+.ELSE
+OBJ=$(OUT)$/obj
+SLO=$(OUT)$/slo
+ROBJ=$(ROUT)$/obj
+RPACKAGEOBJ=$(ROUT)$/obj$(SMARTPRE)$/$(IDLPACKAGE)
+RSLO=$(ROUT)$/slo
+RPACKAGESLO=$(ROUT)$/slo$(SMARTPRE)$/$(IDLPACKAGE)
+.ENDIF
+
+# Particle Path
+PAR=$(OUT)$/par
+
+# Library-Pfad
+LB=$(OUT)$/lib
+SLB=$(OUT)$/slb
+
+# wir haben ein ucr verzeichnis
+UCR=$(OUT)$/ucr
+
+# braucht den hier schon wer?
+# SOLARIDLDIR=das ist hier doppelt
+SOLARIDLDIR=$(SOLARVERSION)$/$(INPATH)$/idl$(EXT_UPDMINOR)
+
+# $(L) nur noch pfad ins solver\upd\...\lib
+#L:={$(LB);$(SLB);$(ILIB)}
+L=$(SOLARLIBDIR)
+
+#.EXPORT : SLB LB L LIB
+.EXPORT : PRJ
+
+# Class-Path fuer java-Klassen
+# obwohl der generierte Bytecode plattformunabhg. sein sollte
+# generieren wir ihn ersteinmal ins abhaengige Verzeichnis
+CLASSDIR=$(OUT)$/class
+CLASSPATH!:=.$(PATH_SEPERATOR)$(CLASSDIR)$(PATH_SEPERATOR)$(CLASSPATH)
+STARJAR=java -classpath $(CLASSPATH)$(PATH_SEPERATOR)$(SOLARENV)$/bin$/jtools.jar com.sun.star.tool.starjar.StarJar
+
+STARDEP=javadep
+.IF "$(GUI)"=="WNT"
+#javakey_c=r:\solenv\java\starsign\javakey\Star.sign
+#signtool_c=r:\solenv\java\starsign\signtool
+#signcode_c=r:\solenv\java\starsign\signcode
+.ENDIF
+.IF "$(PRJNAME)"=="sj2"
+CLASSPATH!:=$(CLASSPATH:s/sj2/no/)
+.ENDIF
+.IF "$(PRJNAME)"=="uno"
+CLASSPATH!:=$(CLASSPATH:s/uno/no/)
+.ENDIF
+.IF "$(PRJNAME)"=="tkt"
+CLASSPATH!:=$(CLASSPATH:s/tkt/no/)
+.ENDIF
+
+# Makros fuer die Librarynamen des Solar
+.INCLUDE : libs.mk
+
+.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+VERSIONOBJ=$(SLO)$/_version.obj
+.ELSE
+VERSIONOBJ=_version.obj
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+VERSIONOBJ=$(SLO)$/_version.o
+.ELSE
+VERSIONOBJ=$(SOLARENV)$/$(OUTPATH)$/lib$/_version.o
+.ENDIF
+.ENDIF
+
+
+.IF "$(GUI)"=="WNT"
+SHELLLIB=$(LIBPRE) gdi32.lib $(LIBPRE) shell32.lib $(LIBPRE) advapi32.lib $(LIBPRE) comdlg32.lib
+.ENDIF
+.IF "$(GUI)"=="WIN"
+SHELLLIB=$(LIBPRE) shell.lib
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+DDEMLLIB=$(LIBPRE) ddeml.lib
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+QELIB=$(LIBPRE) qelib.lib
+.ENDIF
+.IF "$(GUI)"=="OS2"
+QELIB=$(LIBPRE) qelib32.lib
+.ENDIF
+
+.IF "$(GUI)" != "MAC"
+SOLARLIBDEPN=\
+ $(L)$/basic.lib\
+ $(L)$/dg.lib\
+ $(L)$/sfxdebug.lib\
+ $(L)$/so2.lib\
+ $(SVLIBDEPEND)\
+ $(L)$/sfx.lib\
+ $(L)$/isfx.lib\
+ $(L)$/svmem.lib\
+ $(L)$/svtool.lib\
+ $(L)$/svx.lib\
+ $(L)$/tools.lib
+.ELSE
+SOLARLIBDEPN=\
+ $(SOLARLIB)
+.ENDIF
+
+
+# BIN-Pfad
+.IF "$(UNR)"!=""
+BIN=$(OUT)$/ubin
+.ELSE
+BIN=$(OUT)$/bin
+.ENDIF
+
+# Include-Pfad
+# still without -I here s.a. target.mk INCLUDE
+INC=$(PRJ)$/inc
+INCLOCAL=..$/inc
+.IF "$(PRJINC)"!=""
+INCLOCPRJ=$(PRJINC)$/inc
+.ENDIF
+INCGUI=$(PRJ)$/$(GUIBASE)$/inc
+INCCOM=$(OUT)$/inc
+INCCOMX=$(OUT)$/inc
+INCUNOIDL=$(INCCOM)$/$(PRJNAME)
+I={$(INCLUDE)}
+INCDEPN=. $(INCGUI) $(INCLOCAL) $(INC) $(INCLOCPRJ)
+
+# Resource-Pfad fuer .SRS
+SRS=$(OUT)$/srs
+SRSX=$(OUT)$/srs
+
+# Resource-Pfad fuer .RC und .RES
+RES=$(OUT)$/res
+
+LDBIN=$(OUT)$/bin
+LDRES=$(OUT)$/res
+LDMISC=$(OUT)$/misc
+LDSRS=$(OUT)$/srs
+LDINCCOM=$(OUT)$/inc
+.IF "$(NO_REC_RES)"==""
+.IF "$(solarlang)" != "deut"
+# die "language" BaseDir Pfade, werden von MAKE...DIR in tg_dir.mk gebraucht
+LDBIN=$(OUT)$/bin
+LDRES=$(OUT)$/res$/$(solarlang)
+LDSRS=$(OUT)$/srs$/$(solarlang)
+LDMISC=$(OUT)$/misc$/$(solarlang)
+LDINC=$(OUT)$/inc$/$(solarlang)
+BIN=$(LDBIN)
+RES=$(LDRES)
+MISCX=$(LDMISC)
+SRSX=$(LDSRS)
+INCCOMX=$(LDINC)
+.ENDIF # "$(solarlang)" != "deut"
+.ENDIF # "$(NO_REC_RES)"==""
+
+# Bitmap-Pfad fuer bmp
+BMP_IN*=$(PRJ)$/res
+BMP_OUT*=$(RES)
+
+# das normale MISC wird nicht an LDMISC angepasst, stattdessen MISCX
+
+.IF "$(make_xl)"!=""
+BIN=$(PRJ)$/$(OUTPATH).xl$/bin
+.ENDIF
+
+.IF "$(product)" == "demo"
+BIN=$(LDBIN)$/demo
+RES=$(LDRES)$/demo
+MISCX=$(LDMISC)$/demo
+SRSX=$(LDSRS)$/demo
+INCCOMX=$(LDINC)$/demo
+.ENDIF
+
+.IF "$(remote)"!=""
+BIN=$(LDBIN)$/remote
+SLO=$(OUT)$/slo$/remote
+OBJ=$(OUT)$/obj$/remote
+RES=$(LDRES)$/remote
+RSLO=$(INPATH)$/slo$/remote
+ROBJ=$(INPATH)$/obj$/remote
+MISCX=$(LDMISC)$/remote
+MISC=$(OUT)$/misc$/remote
+#SRSX=$(SRSX)$/remote
+#INCCOMX=$(INCCOMX)$/remote
+LB=$(OUT)$/lib$/remote
+SLB=$(OUT)$/slb$/remote
+REMOTEDEF=REMOTE_APPSERVER
+REMOTELIB=$(SOLARVERSION)$/$(INPATH)$/lib$/remote
+.ENDIF
+
+.IF "$(product)" == "compact"
+BIN=$(LDBIN)$/comp
+RES=$(LDRES)$/comp
+MISCX=$(LDMISC)$/comp
+SRSX=$(LDSRS)$/comp
+INCCOMX=$(LDINC)$/comp
+.ENDIF
+
+# fuer die Segmentierung kann das z.B. fuer dg*.dll uebergebuegelt werden
+.IF "$(SEGDEFS_HXX)" == ""
+SEGDEFS_HXX=$(INC)$/segdefs_.hxx
+.ENDIF
+
+# fuer die Segmentierung kann das z.B. fuer dg*.dll uebergebuegelt werden
+.IF "$(FUNCORD)" == ""
+.IF "$(USE_FUNCORD)"=="FALSE"
+FUNCORD=emptyorg.seg
+.ELSE
+FUNCORD=funcord.seg
+.ENDIF
+.ENDIF
+
+# damit gezielt Abhaengigkeiten auf s: angegeben werden koennen
+
+.IF "$(UPDMINOR)" != ""
+EXT_UPDMINOR=.$(UPDMINOR)
+.ELSE
+EXT_UPDMINOR=
+.ENDIF
+SOLARRESDIR=$(SOLARVERSION)$/$(INPATH)$/res$(EXT_UPDMINOR)
+SOLARRESXDIR=$(SOLARVERSION)$/$(INPATH)$/res$(EXT_UPDMINOR)
+SOLARLIBDIR=$(SOLARVERSION)$/$(INPATH)$/lib$(EXT_UPDMINOR)
+SOLARIDLDIR=$(SOLARVERSION)$/$(INPATH)$/idl$(EXT_UPDMINOR)
+SOLARJAVADIR=$(SOLARVERSION)$/$(INPATH)$/java$(EXT_UPDMINOR)
+SOLARINCDIR=$(SOLARVERSION)$/$(INPATH)$/inc$(EXT_UPDMINOR)
+SOLARINCXDIR=$(SOLARVERSION)$/$(INPATH)$/inc$(EXT_UPDMINOR)
+.IF "$(SOLARLANG)"!="deut"
+.IF "$(SOLARLANG)" != ""
+SOLARINCXDIR=$(SOLARVERSION)$/$(INPATH)$/inc$(EXT_UPDMINOR)$/$(SOLARLANG)
+SOLARRESXDIR=$(SOLARVERSION)$/$(INPATH)$/res$(EXT_UPDMINOR)$/$(SOLARLANG)
+.ENDIF
+.ENDIF
+SOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(EXT_UPDMINOR)
+SOLARUCRDIR=$(SOLARVERSION)$/$(INPATH)$/ucr$(EXT_UPDMINOR)
+
+# Full-Debug Pfade
+.IF "$(debug)" != ""
+.IF "$(FULLDEBUG)" != ""
+OBJ=$(OUT)$/dbo
+SLO=$(OUT)$/dso
+ROBJ=$(INPATH)$/dbo
+RSLO=$(INPATH)$/dso
+SLB=$(OUT)$/dlb
+LB=$(OUT)$/dib
+BIN=$(BIN)$/dbg
+.ENDIF
+.ENDIF
+
+# alles mit $(BIN) durch?
+.IF "$(PRE)"==""
+JARDIR=$(BIN)
+.ELSE
+JARDIR=$(PRE)$/bin
+.ENDIF
+
+#now mess around with SOLARINC, SOLARINCLUDES, SOLARLIB and LIB
+.IF "$(UDKVERSION)"!=""
+SOLARINC:=-I$(SOLARROOT)$/udk$/$(UDKVERSION)$/$(OUTPATH)$/inc $(SOLARINC)
+SOLARINCLUDES:=-I$(SOLARROOT)$/udk$/$(UDKVERSION)$/$(OUTPATH)$/inc $(SOLARINCLUDES)
+SOLARLIB:=-L$(SOLARROOT)$/udk$/$(UDKVERSION)$/$(OUTPATH)$/lib $(SOLARLIB)
+ILIB:=$(SOLARROOT)$/udk$/$(UDKVERSION)$/$(OUTPATH)$/lib;$(ILIB)
+.ENDIF # "$(UDKVERSION)"!=""
+
+# muss expandiert sein!!!
+
+# NETBSD_SDO
+.IF "$(OS)"=="NETBSD"
+LIB:= $(LB) $(SLB) $(ILIB)
+.ELSE
+LIB:=$(LB);$(SLB);$(ILIB)
+.ENDIF
+
+# --- Environment-Allgemein ----------------------------------------
+
+.IF "$(CPUNAME)" == ""
+CPUNAME=CPUNAME_MUSS_UEBER_SETSOLAR_GESETZT_WERDEN
+.ENDIF
+
+UNOIDLDEFS+=-DSUPD=$(UPD) -DUPD=$(UPD)
+
+UNOIDLDEPFLAGS=-Mdepend=$(SOLARVER)
+
+.IF "$(TF_ONE51)"=="$(WORK_STAMP)"
+UNOIDLDEFS+=-DTF_ONE51
+.ENDIF
+
+.IF "$(PRE)"!=""
+UNOIDLINC!:=-I$(PRE)$/idl $(UNOIDLINC)
+.ENDIF
+UNOIDLINC+=-I. -I.. -I$(PRJ) -I$(PRJ)$/inc -I$(PRJ)$/$(INPATH)$/idl -I$(OUT)$/inc -I$(SOLARIDLDIR) -I$(SOLARINCDIR)
+
+.IF "$(remote)" != ""
+CDEFS= -D$(OS) -D$(GUI) -D$(GVER) -D$(COM) -D$(CVER) -D$(CPUNAME) -D$(REMOTEDEF)
+.ELSE
+CDEFS= -D$(OS) -D$(GUI) -D$(GVER) -D$(COM) -D$(CVER) -D$(CPUNAME)
+.ENDIF
+
+#to be removed soon!!!
+.IF "$(TF_UCB)" != ""
+CDEFS+=-DTF_UCB
+.ENDIF
+
+#to be removed soon!!!
+.IF "$(ENABLEUNICODE)" != ""
+CDEFS+=-DENABLEUNICODE
+.ENDIF
+
+#to be removed soon!!!
+.IF "$(TF_SDBAPI)" != ""
+CDEFS+=-DTF_SDBAPI
+.ENDIF
+
+#to be removed soon!!!
+.IF "$(TF_CFG)" != ""
+CDEFS+=-DTF_CFG
+.ENDIF
+
+.IF "$(GUI)"=="UNX"
+CDEFS+=-DCVER=$(CVER)
+.ENDIF
+.IF "$(TFDEF)"!=""
+CDEFS+= -D$(TFDEF)
+.ENDIF
+
+.IF "$(USE_NAMESPACE)"==""
+CDEFS+=-D_USE_NO_NAMESPACE
+.ENDIF
+CDEFS+=-DONE_LINGU
+
+
+CDEFSCXX=
+CDEFSOBJ=
+.IF "$(GUI)"=="DOS"
+CDEFSSLO=
+.ELSE
+CDEFSSLO=-DSHAREDLIB -D_DLL_
+.ENDIF
+CDEFSGUI=-DGUI
+CDEFSCUI=-DCUI
+CDEFSST=-DSINGLETHREAD
+CDEFSMT=-DMULTITHREAD
+CDEFSPROF=-DPROFILE
+.IF "$(dbg_build_only)" == ""
+CDEFSDEBUG=-DDEBUG
+.ENDIF
+CDEFSDBGUTIL=-DDBG_UTIL
+CDEFSOPT=-DOPTIMIZE
+HDEFS=-D:$(GUI) -D:$(COM)
+
+MKDEP=makedepn
+MKDEPFLAGS=-I:$(INCDEPN:s/ / -I:/)
+#MKDEPALLINC=$(INCLUDE:s/;/ -I/:s/-I/ -I:/)
+MKDEPALLINC=$(SOLARINCLUDES:s/-I/ -I:/)
+MKDEPPREINC=-I:$(PREPATH)$/$(INPATH)$/inc$(UPDMINOREXT)
+MKDEPSOLENV=-I:$(SOLARENV)$/inc -I:$(SOLARENV)$/$(GUI)$(CVER)$(COMEX)$/inc
+MKDEPSOLVER=-I:$(SOLARVERSION)$/$(INPATH)$/inc.$(UPDMINOR) -I:$(SOLARVERSION)$/$(INPATH)$/inc
+MKDEPLOCAL=-I:$(INCCOM)
+
+MKSLEX=$(ROOTDIR)$/lex
+MKSYACC=$(ROOTDIR)$/yacc
+
+BISON=bison
+YACCFLAGS*=-d -o
+
+ROOTDIR=$(DEVROOT)$/bin$/lexyacc
+.IF "$(GUI)"=="UNX"
+SVIDL=svidl
+.ELSE
+SVIDL=svidl.exe
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+.IF "$(product)"=="full"
+LDUMP=ldump -Gy
+.ENDIF
+.ELSE
+LDUMP=ldump2
+LDUMP2=ldump2
+.ENDIF
+
+.IF "$(MKDEPENDALL)"!=""
+MKDEPFLAGS+=$(MKDEPALLINC)
+.ENDIF
+
+.IF "$(MKDEPENDSOLENV)"!=""
+MKDEPFLAGS+=$(MKDEPSOLENV)
+.ENDIF
+
+.IF "$(MKDEPENDPREPATH)"!=""
+MKDEPFLAGS+=$(MKDEPPREINC)
+.ENDIF
+
+.IF "$(MKDEPENDSOLVER)"!=""
+MKDEPFLAGS+=$(MKDEPSOLVER)
+.ENDIF
+# unused - nodep should do the same now
+#.IF "$(MKDEPENDLOCAL)"!="NO"
+MKDEPFLAGS+=$(MKDEPLOCAL)
+#.ENDIF
+
+ZIPUPDATE=-u -j
+ZIPFLAGS=$(ZIPUPDATE)
+#hack for dynamic language subdirs
+LANGDIR=LANGDIR
+
+.IF "$(make_srs_deps)"!=""
+.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2"
+RSC=$(SOLARENV)$/$(GUI)$(CPU)$/rscdep
+.ELSE
+RSC=$(SOLARENV)$/$(OUTPATH)$/bin$/rscdep
+.ENDIF
+.ELSE
+RSC=rsc
+.ENDIF
+
+RSCUPDVER=$(UPD)$(UPDMINOR)
+RSCFLAGS=-s
+.IF "$(remote)" != ""
+RSCDEFS=-D$(GUI) -D$(GVER) -D$(COM) -D$(CVER) -DSUPD=$(UPD) -DBUILD=$(BUILD) -D$(REMOTEDEF) $(JAVADEF)
+.ELSE
+RSCDEFS=-D$(GUI) -D$(GVER) -D$(COM) -D$(CVER) -DSUPD=$(UPD) -DBUILD=$(BUILD) $(JAVADEF)
+.ENDIF
+# RSCLINKFLAGS=-lg$(RSCLANG) -l
+#RSCGLOINC=$(SOLARENV)$/res
+#RSCGLOINC=$(PRJ)$/..$/res
+
+.IF "$(rscres)"!=""
+RSCRES=$(rscres)
+.ENDIF
+.IF "$(RSCRES)"!=""
+RSCGLOINC=$(RSCRES)
+.ELSE
+.IF "$(GUI)" != "UNX"
+RSCGLOINC=o:\$(WORK_STAMP)\src\res
+.ENDIF
+.ENDIF
+
+RSCLOCINC=$(PRJ)$/win$/res
+RSCEXTINC=.
+
+.IF "$(DEBUG)" != ""
+RSCDEFS+= -DDEBUG
+.ENDIF
+.IF "$(VCL)"!=""
+RSCDEFS+= -DVCL
+.ENDIF
+.IF "$(SO3)"!=""
+RSCDEFS+= -DSO3
+.ENDIF
+.IF "$(OLD_CHAOS)"!=""
+RSCDEFS+= -DOLD_CHAOS
+.ENDIF
+
+#to be removed soon!!!
+.IF "$(TF_UCB)" != ""
+RSCDEFS+=-DTF_UCB
+.ENDIF
+
+
+UNOIDL=unoidl
+
+# alle bisher verwendeten Linker benutzen + um LIBs auf der naechsten Zeile
+# weiter zu schreiben, wenn es da eine Ausnahme geben sollte, muss
+# LINKEXTENDLINE compilerabhaengig definiert werden
+LINKEXTENDLINE=+
+
+LNT=$(DEVROOT)$/lint$/lint
+#LNTFLAGS=+v -i$(DEVROOT)$/lint\ -mL options.lnt -u
+LNTFLAGS=+v -i$(DEVROOT)$/lint$/ -mL options.lnt -u
+LNTFLAGSOUTOBJ=-os
+
+# --- StandardLibraries --------------------------------------------
+
+SVLIBS=tools $(SVLIB) svtool
+SFXLIBS=sfx so2 basic
+SVXLIBS=svxitems dialogs editeng svrtf svdraw outliner xout si basicide \
+ tbxctrls
+
+.IF "$(GUI)" == "DOS"
+.INCLUDE : dos.mk
+.ENDIF
+
+.IF "$(GUI)" == "WIN"
+.INCLUDE : win.mk
+.ENDIF
+
+.IF "$(GUI)"=="WNT"
+.INCLUDE : wnt.mk
+.ENDIF
+
+.IF "$(GUI)" == "AS4"
+.INCLUDE : as4.mk
+.ENDIF
+
+.IF "$(GUI)" == "OS2"
+.INCLUDE : os2.mk
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+.INCLUDE : unx.mk
+.ENDIF
+
+.IF "$(GUI)" == "MAC"
+.INCLUDE : mac.mk
+.ENDIF
+
+
+# --- Neues Environment erweitern ----------------------------------
+CDEFS+= -DSUPD=$(UPD) -DBUILD=$(BUILD)
+
+.IF "$(SOLAR_PLUGIN)"!=""
+CDEFS+= -DSOLAR_PLUGIN
+RSCDEFS+= -DSOLAR_PLUGIN
+.ENDIF
+
+.IF "$(VCL)" != ""
+CDEFS+= -DVCL
+.ENDIF
+.IF "$(SO3)" != ""
+CDEFS+= -DSO3
+.ENDIF
+.IF "$(OLD_CHAOS)"!=""
+CDEFS+= -DOLD_CHAOS
+.ENDIF
+
+
+.IF "$(SWEEPER)"!=""
+CDEFS+= -DSWEEPER
+.ENDIF
+
+.IF "$(T_FORCE)"!=""
+CDEFS+= -D$(T_FORCE)
+.ENDIF
+
+.IF "$(ACTIVEX)"!=""
+CDEFS+= -DACTIVEX
+.ENDIF
+
+.IF "$(profile)"!=""
+CDEFS+= $(CDEFSPROF)
+CFLAGS+= $(CFLAGSPROF)
+.IF "$(WST)"!=""
+LINKFLAGS=$(LINKFLAGSWST)
+.ELSE
+LINKFLAGS+=$(LINKFLAGSPROF)
+.ENDIF
+.ENDIF
+
+.IF "$(debug)"!=""
+JAVAFLAGS+=$(JAVAFLAGSDEBUG)
+CDEFS+= $(CDEFSDEBUG)
+CFLAGS+= $(CFLAGSDEBUG)
+.IF "$(COM)"=="WTC"
+LINK+= $(LINKFLAGSDEBUG)
+.ELSE
+LINKFLAGS+= $(LINKFLAGSDEBUG)
+.ENDIF
+.ENDIF
+
+.IF "$(dbgutil)"!=""
+CDEFS+=$(CDEFSDBGUTIL)
+CFLAGS+=$(CFLAGSDBGUTIL)
+RSCDEFS+=-DDBG_UTIL -D_DEBUG
+.ENDIF
+
+.IF "$(dbgutil)$(debug)"!=""
+CDEFS+=-D_DEBUG
+.ENDIF
+
+.IF "$(product)"!=""
+CDEFS+= -DPRODUCT -DNDEBUG
+HDEFS+= -D:PRODUCT
+RSCDEFS+= -DPRODUCT
+.IF "$(product)" == "demo"
+CDEFS+= -DPRODUCT_DEMO
+HDEFS+= -D:PRODUCT_DEMO
+RSCDEFS+= -DPRODUCT_DEMO
+.ELSE
+.IF "$(product)" == "compact"
+CDEFS+=-DPRODUCT_COMPACT
+HDEFS+=-D:PRODUCT_COMPACT
+.ELSE
+CDEFS+=-DPRODUCT_FULL
+HDEFS+=-D:PRODUCT_FULL
+RSCDEFS+= -DPRODUCT_FULL -DNDEBUG
+.ENDIF
+.ENDIF
+.ENDIF
+
+
+.IF "$(seg)"!=""
+CDEFS+=-DAUTOSEGS
+.ENDIF
+
+.IF "$(siz)"!=""
+CDEFS+= -DFUNCSEGS
+.ENDIF
+
+.IF "$(svx_light)"!=""
+CDEFS+=-DSVX_LIGHT
+.ENDIF
+
+.IF "$(optimize)"!=""
+CDEFS+=$(CDEFSOPT)
+CFLAGS+=$(CFLAGSOPT)
+LINKFLAGS+=$(LINKFLAGSOPT)
+.ELSE
+CFLAGS+=$(CFLAGSNOOPT)
+.ENDIF
+
+.IF "$(ENABLE_EXCEPTIONS)"!=""
+CFLAGSCXX+=$(CFLAGSEXCEPTIONS)
+CDEFS+=-DEXCEPTIONS_ON
+.ELSE
+.IF "$(OLD_EXCEPTIONS)"==""
+CFLAGSCXX+=$(CFLAGS_NO_EXCEPTIONS)
+.ELSE
+CDEFS+=-DEXCEPTIONS_ON
+.ENDIF
+.ENDIF
+
+.IF "$(dbcs)"!=""
+CDEFS+=-DENABLEUNICODE
+.ENDIF
+
+.IF "$(PRJPCH)"!=""
+.IF "$(PROJECTPCH)"==""
+PROJECTPCH=$(TARGET)
+.ENDIF
+.IF "$(PROJECTPCHSOURCE)"==""
+PROJECTPCHSOURCE=$(PROJECTPCH)
+.ENDIF
+.IF "$(debug)"!=""
+.IF "$(PDBTARGET)"==""
+PROJECTPCHTARGET=$(MISC)$/$(TARGET).pcd
+.ELSE
+PROJECTPCHTARGET=$(MISC)$/$(PROJECTPCH).pcd
+.ENDIF
+.ELSE
+PROJECTPCHTARGET=$(MISC)$/$(PROJECTPCH).pch
+.ENDIF
+.IF "$(EXCEPTIONS_FLAG)"!=""
+PROJECTPCHTARGET!:=$(PROJECTPCHTARGET:s/.pc/.xc/)
+$(CALLTARGETS):$(PROJECTPCHTARGET)
+.ENDIF
+.IF "$(COM)"=="MSC"
+.IF "$(PROJECTPCH4DLL)"!=""
+PCHOBJFLAGSC=
+PCHOBJFLAGSU=
+PCHSLOFLAGSC=-Yc -Yd -Fp$(PROJECTPCHTARGET)
+PCHSLOFLAGSU=-Yu -Yd -Fp$(PROJECTPCHTARGET)
+.ELSE
+PCHSLOFLAGSC=
+PCHSLOFLAGSU=
+PCHOBJFLAGSC=-Yc -Yd -Fp$(PROJECTPCHTARGET)
+PCHOBJFLAGSU=-Yu -Yd -Fp$(PROJECTPCHTARGET)
+.ENDIF
+.ELSE
+.IF "$(COM)"=="BLC"
+CFLAGS+=-Hu -H=$(PROJECTPCHTARGET)
+PCHOBJFLAGSC=
+PCHSLOFLAGSC=
+PCHOBJFLAGSU=-Hu
+PCHSLOFLAGSU=-Hu
+PCHOBJFLAGSU=
+PCHSLOFLAGSU=
+.ELSE
+.IF "$(COM)" == "ICC"
+CFLAGS+=/Fi$(PROJECTPCHTARGET)
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF # "$(PRJPCH)"!=""
+#
+# Zusammenbau der Flags und CDefs fuer GUI
+.IF "$(TARGETTYPE)"=="GUI"
+CDEFS+= $(CDEFSGUI)
+CFLAGSSLO+=$(CFLAGSSLOGUIMT)
+LINKFLAGSAPP=$(LINKFLAGSAPPGUI)
+LINKFLAGSSHL=$(LINKFLAGSSHLGUI)
+STDOBJ=$(STDOBJGUI)
+STDSLO=$(STDSLOGUI)
+STDSHL=$(STDSHLGUIMT)
+
+.IF "$(TARGETTHREAD)"=="MT"
+CDEFSOBJ+= $(CDEFSMT)
+CFLAGSOBJ+=$(CFLAGSOBJGUIMT)
+STDLIB=$(STDLIBGUIMT)
+.ELSE
+CDEFSOBJ+= $(CDEFSST)
+CFLAGSOBJ+=$(CFLAGSOBJGUIST)
+STDLIB=$(STDLIBGUIST)
+.ENDIF
+
+.ENDIF
+
+# Zusammenbau der Flags und CDefs fuer CUI
+.IF "$(TARGETTYPE)" == "CUI" || "$(TARGETTYPE)"=="cui"
+CDEFS+= $(CDEFSCUI)
+CFLAGSSLO+=$(CFLAGSSLOCUIMT)
+LINKFLAGSAPP=$(LINKFLAGSAPPCUI)
+LINKFLAGSSHL=$(LINKFLAGSSHLCUI)
+STDOBJ=$(STDOBJCUI)
+STDSLO=$(STDSLOCUI)
+STDSHL=$(STDSHLCUIMT)
+
+.IF "$(TARGETTHREAD)" == "MT" || "$(TARGETTHREAD)"=="mt"
+CDEFSOBJ+=$(CDEFSMT)
+CFLAGSOBJ+=$(CFLAGSOBJCUIMT)
+STDLIB=$(STDLIBCUIMT)
+.ELSE
+CDEFSOBJ+= $(CDEFSST)
+CFLAGSOBJ+=$(CFLAGSOBJCUIST)
+STDLIB=$(STDLIBCUIST)
+.ENDIF
+
+.ENDIF
+
+.IF "$(SOLAR_JAVA)"!=""
+CDEFS+=$(JAVADEF)
+.ENDIF
+
+.IF "$(WORK_STAMP)"!=""
+CDEFS+=-D$(WORK_STAMP)
+.ENDIF
+
+.INCLUDE .IGNORE: $(UPD)$(LAST_MINOR).mk
+
+CDEFS+= $(ENVCDEFS)
+CFLAGS+= $(CFLAGSCALL) $(ENVCFLAGS)
+CFLAGSCXX+= $(ENVCFLAGSCXX)
+# andersrum wg. -TPxxxx
+CFLAGSINCXX+:=$(ENVCFLAGSINCXX)
+LIBFLAGS+= $(ENVLIBFLAGS)
+LINKFLAGS+= $(ENVLINKFLAGS)
+RSCFLAGS+= $(ENVRSCFLAGS)
+RSCDEFS+= $(ENVRSCDEFS)
+# RSCLINKFLAGS+= $(ENVRSCLINKFLAGS)
+RCFLAGS+= $(ENVRCFLAGS)
+RCLINKFLAGS+= $(ENVRCLINKFLAGS)
+
+
+.IF "$(TF_CNTEX)"=="$(WORK_STAMP)"
+CDEFS+= -DTF_CNTEX
+.ENDIF
+
+.IF "$(TF_PACKAGES)"=="$(WORK_STAMP)"
+CDEFS+= -DTF_PACKAGES
+TF_PACKAGES_DEF=-DTF_PACKAGES
+.ENDIF
+
+.IF "$(TF_ONE51)"=="$(WORK_STAMP)"
+CDEFS+= -DTF_ONE51
+.ENDIF
+
+#.IF "$(UPDATER)"=="YES"
+.IF "$(PRJNAME)"=="chaos" || "$(PRJNAME)"=="svtools"
+CDEFS+=-DUPD=\"$(UPD)\" -DMINOR=\"$(LAST_MINOR)\" -DBUILD_ID=\"$(BUILD)\"
+.ENDIF
+#.ENDIF
+
+.IF "$(TF_NEWEX)"!=""
+CDEFS+= -DTF_NEWEX
+.ENDIF
+
+.IF "$(UPDATER)"=="YES"
+SVXLIGHT=TRUE
+.ENDIF
+
+#defaults for UCR HEADER
+UNOUCRBASE*=UCR
+UNOUCRRDB*=$(SOLARBINDIR)$/applicat.rdb
+UNOUCROUT*=$(OUT)$/inc
+
+# --- Compiler -----------------------------------------------------
+.INCLUDE : rules.mk
+
+# --- include typelists --------------------------------------------
+
+.IF "$(COMP1TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP1TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP2TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP2TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP3TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP3TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP4TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP4TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP5TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP5TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP6TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP6TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP7TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP7TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP8TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP8TYPELIST).mk
+.ENDIF
+
+.IF "$(COMP9TYPELIST)"!=""
+.INCLUDE : $(MISC)$/$(COMP9TYPELIST).mk
+.ENDIF
+
diff --git a/solenv/inc/shlinfo.rc b/solenv/inc/shlinfo.rc
new file mode 100644
index 000000000000..314a4750a906
--- /dev/null
+++ b/solenv/inc/shlinfo.rc
@@ -0,0 +1,170 @@
+/*************************************************************************
+#*
+#* $Workfile: verinfo.rc $
+#*
+#* Ersterstellung PB 03.09.93
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/desktop/util/verinfo.rcv $
+#*
+#* Copyright (c) 1998 - 2000, Star Office Software Entw. GmbH, Hamburg, Germany
+#*
+#************************************************************************/
+
+#define VERSION 5
+#define SUBVERSION 20
+//#define VERVARIANT 0
+
+// .0 + VER_CONCEPT
+// .100 + VER_ALPHA
+// .200 + VER_BETA
+// .300 + VER_GAMMA
+// .500 + VER_FINAL
+//#define VER_CONCEPT 0
+//#define VER_BETA 6
+#define VER_FINAL 0
+
+#define VER_DAY 9
+#define VER_MONTH 5
+#define VER_YEAR 2000
+
+// -----------------------------------------------------------------------
+
+#if !defined(ENGLISH)
+#define LG_D // generate always german version
+#endif
+
+#define VER_FIRSTYEAR VER_YEAR
+
+#include <windows.h>
+#include "verinfo.hrc"
+
+#ifdef WIN32
+#define FOR_WIN_X " (32 Bit)"
+#else
+#define FOR_WIN_X ""
+#endif
+
+// -----------------------------------------------------------------------
+// language/character set specification table
+// -----------------------------------------------------------------------
+
+RCD_LANGUAGE rcdata
+{
+#ifdef LG_D
+ "040704B0", // Germany -> Unicode
+ "040704E4", // Germany -> Windows, Multilingual
+#else
+ "040904B0", // Germany -> Unicode
+ "040904E4", // USA -> Windows, Multilingual
+#endif
+ "04090000", // USA -> 7-Bit-ASCII
+ 0 // end of table
+}
+
+// -----------------------------------------------------------------------
+// version information
+// -----------------------------------------------------------------------
+
+VS_VERSION_INFO versioninfo
+ fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
+ productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
+ fileflagsmask 0x3F
+ fileflags
+#if defined(DEBUG)
+ VS_FF_DEBUG |
+#endif
+#ifdef VER_PREL
+ VS_FF_PRERELEASE |
+#endif
+ 0
+#ifndef WIN32
+ fileos VOS_DOS_WINDOWS16
+#else
+ fileos VOS_NT_WINDOWS32
+#endif
+ filetype VFT_APP
+ {
+ block "StringFileInfo"
+ {
+#ifdef LG_D
+ block "040704E4"
+ {
+ // German StringTable
+ value "CompanyName", "Sun Microsystems, Inc.\0"
+ value "FileVersion", PPS(VER_LEVEL) "\0"
+ value "OriginalFilename", PPS(ORG_NAME) "\0"
+ value "InternalName", PPS(INTERNAL_NAME) "\0"
+ value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
+ }
+#else
+ block "040904E4"
+ {
+ // International StringTable
+ value "CompanyName", "Sun Microsystems, Inc.\0"
+ value "FileVersion", PPS(VER_LEVEL) "\0"
+ value "OriginalFilename", PPS(ORG_NAME) "\0"
+ value "InternalName", PPS(INTERNAL_NAME) "\0"
+ value "LegalCopyright", S_CRIGHT " Sun Microsystems, Inc.\0"
+ }
+#endif
+ }
+
+ block "VarFileInfo"
+ {
+#ifdef LG_D
+ value "Translation", 0x0407, 1252
+#else
+ value "Translation", 0x0409, 1252
+#endif
+ }
+ }
+
+// version binary entry
+VS_VERSION_INFO rcdata
+{
+ 0xF0, "sw", 0x0F, VER_YEAR, VER_MONTH, VER_DAY,
+ VERSION, SUBVERSION, VERVARIANT, VER_COUNT
+};
+
+/*************************************************************************
+
+ Source Code Control System - Update
+
+ $Log: not supported by cvs2svn $
+ Revision 1.2 2000/06/29 17:25:44 hjs
+ disable year range
+
+ Revision 1.1 2000/06/29 16:00:23 hjs
+ generic versioninfo for shared libs
+
+ Revision 1.13 2000/05/08 17:52:51 hjs
+ release date
+
+ Revision 1.12 2000/04/28 11:32:03 hjs
+ 5.2 beta6
+
+ Revision 1.11 2000/01/17 10:50:29 hro
+ #70553# New icons
+
+ Revision 1.10 2000/01/12 10:56:45 hro
+ #70553# Added system icon to Executable Resource
+
+ Revision 1.9 1999/08/05 11:52:34 pb
+ fix: #68039# StarDiv -> Sun
+
+ Revision 1.8 1999/04/29 19:16:10 HRO
+ #65573# New icon resource
+
+ Rev 1.7 29 Apr 1999 21:16:10 HRO
+ #65573# New icon resource
+
+ Rev 1.6 28 Apr 1999 13:59:40 OS
+ #56844# Icons fuer HTML und Frameset eingebaut
+
+ Rev 1.5 15 Feb 1999 15:32:12 MH
+ chg: Reihenfolge
+
+*************************************************************************/
+
diff --git a/solenv/inc/startup/AIX/macros.mk b/solenv/inc/startup/AIX/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/AIX/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/HPUX/macros.mk b/solenv/inc/startup/HPUX/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/HPUX/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/IRIX/macros.mk b/solenv/inc/startup/IRIX/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/IRIX/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/LINUX/macros.mk b/solenv/inc/startup/LINUX/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/LINUX/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/MACOSX/macros.mk b/solenv/inc/startup/MACOSX/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/MACOSX/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/NETBSD/macros.mk b/solenv/inc/startup/NETBSD/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/NETBSD/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/Readme b/solenv/inc/startup/Readme
new file mode 100644
index 000000000000..d0c38c7c75d5
--- /dev/null
+++ b/solenv/inc/startup/Readme
@@ -0,0 +1,9 @@
+
+here are some hints about our use of the startup directory.
+
+because our variable "OS" was already in use, we don't use the default
+subtrees of startup. for example "wntmsci3" uses the subtree "WNT".
+
+the .INCLUDEDIRS line in startup.mk gives you the oportunity of switching
+to your own set of central makefiles.
+
diff --git a/solenv/inc/startup/SOLARIS/macros.mk b/solenv/inc/startup/SOLARIS/macros.mk
new file mode 100644
index 000000000000..5387b1940198
--- /dev/null
+++ b/solenv/inc/startup/SOLARIS/macros.mk
@@ -0,0 +1,2 @@
+
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d:d:d)UNIX$/macros.mk
diff --git a/solenv/inc/startup/UNIX/macros.mk b/solenv/inc/startup/UNIX/macros.mk
new file mode 100644
index 000000000000..23cd4413fe0e
--- /dev/null
+++ b/solenv/inc/startup/UNIX/macros.mk
@@ -0,0 +1,38 @@
+# We hang off the standard sysvr3'isms
+#
+__.incdir !:= $(INCFILENAME:d:d:d:d)/sysvr3
+
+# Process environment-specific refinements, if any.
+.INCLUDE .SETDIR=$(__.incdir) .NOINFER .IGNORE : macros.mk
+
+# Process release-specific refinements, if any.
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
+
+# Execution environment configuration.
+# Grab the current setting of COMSPEC.
+#
+.IMPORT .IGNORE : COMSPEC
+
+# First check if SHELL is defined to be something other than COMSPEC.
+# If it is, then assume that SHELL is a Korn compatible shell like MKS's
+#SHELL *:= $(ROOTDIR)$/bin$/csh$E
+SHELL *:= /usr/bin/csh
+SHELLFLAGS *:=
+GROUPSHELL *:= $(SHELL)
+
+# Applicable suffix definitions
+# A *:= .lib # Libraries
+# E *:= .exe # Executables
+# F *:= .for # Fortran
+# O *:= .obj # Objects
+# P *:= .pas # Pascal
+# S *:= .asm # Assembler sources
+# V *:= # RCS suffix
+
+# SHELLFLAGS := -f c // Original mit falscher Option
+ SHELLFLAGS := -fc
+ GROUPFLAGS *:= $(SHELLFLAGS)
+ SHELLMETAS *:= "<>|/
+ RM *= rm
+ RMFLAGS *= -f
+ MV *= mv
diff --git a/solenv/inc/startup/startup.mk b/solenv/inc/startup/startup.mk
new file mode 100644
index 000000000000..5e540d8be5df
--- /dev/null
+++ b/solenv/inc/startup/startup.mk
@@ -0,0 +1,253 @@
+# This is the root DMAKE startup file.
+#
+# Definitions common to all environments are given at the root.
+# Definitions parameterized at the root have their parameters specified
+# in sub-makefiles which are included based on the values of the three
+# make variables:
+#
+# OS - core operating system flavour
+# OSRELEASE - specific release of the operating system
+# OSENVIRONMENT - software construction environment in use
+#
+# See the file 'summary', found in this directory for a list of
+# environments supported by this release.
+
+# Disable warnings for macros given on the command line but redefined here.
+__.silent !:= $(.SILENT) # Preserve user's .SILENT flag
+.SILENT !:= yes
+.NOTABS !:= yes
+.ERROR :
+ @echo ---* $(MKFILENAME) *---
+
+# Define the directory separator string.
+/ *= $(DIRSEPSTR)
+# / *= $(DIRSEPSTR)$(DIRSEPSTR)
+
+.IMPORT .IGNORE : .EVERYTHING
+
+.IF "$(TNR)" == ""
+
+CALLMACROS:=$(MAKEMACROS)
+# CALLMACROS*:=$(MAKEMACROS)
+# .EXPORT : CALLMACROS
+#.IF "$(GUI)"=="UNX" || "$(VCSID)"=="TJ" || "$(VCSID)"=="HJS"
+.EXPORT : CALLMACROS
+#.ENDIF
+
+CALLTARGETS=$(MAKETARGETS)
+.ENDIF # "$(TNR)" == ""
+
+.INCLUDEDIRS : $(DMAKE_INC) $(OS2_SOLENV_INC) $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT) $(SOLARENV)/inc $(SRC_ROOT)
+# .INCLUDEDIRS : h:\sinc.neu s:\solenv\dmake\startup d:\work\dmake\solenv\inc r:\ause\work\mk s:\solenv\inc /nw386/dev/s/solenv/inc
+# .INCLUDEDIRS : s:\solenv\dmake\startup s:\solenv\inc $(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$(UPDMINOREXT) $(SOLARENV)/inc
+
+# startup.mk configuration parameters, for each, set it to non-null if you wish
+# to enable the named facility.
+__.HAVE_RCS !:= yes # yes => RCS is installed.
+__.HAVE_SCCS !:= # yes => SCCS is installed.
+__.DEFAULTS !:= yes # yes => define default construction rules.
+__.EXECS !:= yes # yes => define how to build executables.
+
+# Grab key definitions from the environment
+# .IMPORT .IGNORE : OS OSRELEASE OSENVIRONMENT TMPDIR SHELL UPD INPATH OUTPATH GUI COM EX CLASSPATH PRODUCT GUIBASE SOLARENV SOLARVER GUIENV CPU CPUNAME DLLSUFFIX CVER GVER COMPATH LIB INCLUDE TR SORT UNIQ ROOTDIR SED AWK TOUCH IENV ILIB DEMO_ENV PRODUCT_ENV COMEX UPD BUILD DEVROOT VCL SO3 ENVCFLAGS
+
+# Default DMAKE configuration, if not overriden by environment
+.INCLUDE .NOINFER $(!null,$(OS) .IGNORE) : $(INCFILENAME:d)config.mk
+
+# Look for a local defaults configuration
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)local.mk
+
+
+# Customize macro definitions based on setings of OS, OSRELEASE and
+# OSENVIRONMENT, this must come before the default macro definitions which
+# follow.
+#.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OS)$/macros.mk
+.INCLUDE .NOINFER : $(INCFILENAME:d)$(OS)$/macros.mk
+
+#/ =$(DIRSEPSTR)
+
+# ----------------- Default Control Macro definitions -----------------------
+# Select appropriate defaults for basic macros
+ MAKE *= $(MAKECMD) -S $(MFLAGS)
+ TMPDIR *:= $/tmp
+ DIVFILE *= $(TMPFILE)
+ TMPDIR *:= $/tmp
+ DIVFILE *= $(TMPFILE)
+ AUGMAKE *:= no
+# AUGMAKE *:= yes
+# PREP = 5
+
+#MAXLINELENGTH = 4094
+#MAXLINELENGTH = 8191
+#MAXLINELENGTH = 16382
+MAXLINELENGTH = 65530
+
+# Recipe execution configuration
+.IF $(GUI)==WNT
+ SHELL *:= $(COMSPEC)
+.ENDIF
+ SHELL *:= $/bin$/sh
+ SHELLFLAGS *:= -c
+ GROUPSHELL *:= $(SHELL)
+ GROUPFLAGS *:=
+ SHELLMETAS *:= |();&<>?*][$$:\\#`'"
+ GROUPSUFFIX *:=
+
+# Intermediate target removal configuration
+ RM *:= $/bin$/rm
+ RMFLAGS *= -f
+ RMTARGET *= $<
+
+# Default recipe that is used to remove intermediate targets.
+.REMOVE :; +-echo dummy #$(RM) $(RMFLAGS) $(RMTARGET)
+
+dummy_mh:
+ @+-echo dummy
+
+# Check and enable AUGMAKE extensions for SYSV compatibility
+.IF $(AUGMAKE)
+ "@B" != $(@:b)
+ "@D" != $(@:d)
+ "@F" != $(@:f)
+ "*B" != $(*:b)
+ "*D" != $(*:d)
+ "*F" != $(*:f)
+ "<B" != $(<:b)
+ "<D" != $(<:d)
+ "<F" != $(<:f)
+ "?B" != $(?:b)
+ "?F" != $(?:f)
+ "?D" != $(?:d)
+.ENDIF
+
+# Directory caching configuration.
+ .DIRCACHE *:= yes
+ .DIRCACHERESPCASE *:= yes
+
+# Define the special NULL Prerequisite
+NULLPRQ *:= __.NULLPRQ
+
+# ---------- Default Construction Macro and Rule definitions --------------
+# The construction rules may be customized further in subsequent recipes.mk
+# files.
+.IF $(__.DEFAULTS)
+ # Primary suffixes in common use
+ A *:= .a # Libraries
+ E *:= # Executables
+ F *:= .f # Fortran
+ O *:= .o # Objects
+ P *:= .p # Pascal
+ S *:= .s # Assembler sources
+ V *:= ,v # RCS suffix
+ YTAB *:= y.tab # name-stem for yacc output files.
+ LEXYY *:= lex.yy # lex output file
+
+ # Standard C-language command names and flags
+ CPP *:= $/lib$/cpp # C-preprocessor
+ CC *:= cc # C compiler
+ CFLAGS *= # C compiler flags
+ "C++" *:= CC # C++ Compiler
+ "C++FLAGS" *= # C++ Compiler flags
+
+ AS *:= as # Assembler and flags
+ ASFLAGS *=
+
+ LD *= $(CC) # Loader and flags
+ LDFLAGS *=
+ LDLIBS *= # Default libraries
+
+ AR *:= ar # archiver
+ ARFLAGS *= -rv
+
+ # Definition of Print command for this system.
+ PRINT *= lp
+
+ # Language and Parser generation Tools and their flags
+ YACC *:= yacc # standard yacc
+ YFLAGS *=
+ LEX *:= lex # standard lex
+ LFLAGS *=
+
+ # Other Compilers, Tools and their flags
+ PC *:= pc # pascal compiler
+ RC *:= f77 # ratfor compiler
+ FC *:= f77 # fortran compiler
+ MV *:= $/bin$/mv # File rename command
+
+ # Implicit generation rules for making inferences.
+ # lex and yacc rules
+ %.c : %.y %.Y
+ $(YACC) $(YFLAGS) $<
+ $(MV) $(YTAB).c $@
+
+ %.c : %.l %.L
+ $(LEX) $(LFLAGS) $<
+ $(MV) $(LEXYY).c $@
+
+ # Rules for making *$O
+ %$O : %.c ; $(CC) $(CFLAGS) -c $<
+ %$O : %$P ; $(PC) $(PFLAGS) -c $<
+ %$O : %$S ; $(AS) $(ASFLAGS) -o $@ $<
+ %$O : %.cl ; class -c $<
+ %$O :| %.e %.r %.F %$F
+ $(FC) $(RFLAGS) $(EFLAGS) $(FFLAGS) -c $<
+
+ # Defibe how to build simple executables
+ .IF $(__.EXECS)
+ %$E : %$O ; $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS)
+ .ENDIF
+
+ # Recipe to make archive files, defined only if we have
+ # an archiver defined.
+ .IF $(AR)
+ %$A .SWAP .GROUP :
+ $(AR) $(ARFLAGS) $@ $?
+ $(RM) $(RMFLAGS) $?
+ .ENDIF
+
+ # RCS support
+ .IF $(__.HAVE_RCS)
+ CO *:= co # check out for RCS
+ COFLAGS !+= -q
+
+ % : $$(@:d)RCS$$/$$(@:f)$V
+ -$(CO) $(COFLAGS) $(null,$(@:d) $@ $(<:d:s/RCS/)$@)
+ .NOINFER : $$(@:d)RCS$$/$$(@:f)$V
+
+ .IF $V
+ % : %$V
+ -$(CO) $(COFLAGS) $(null,$(@:d) $@ $(<:d:s/RCS/)$@)
+ .NOINFER : %$V
+ .ENDIF
+ .END
+
+ # SCCS support
+ .IF $(__.HAVE_SCCS)
+ GET *:= get
+ GFLAGS !+=
+
+ % : "$$(null,$$(@:d) s.$$@ $$(@:d)s.$$(@:f))"
+ -$(GET) $(GFLAGS) $@
+ .NOINFER : "$$(null,$$(@:d) s.$$@ $$(@:d)s.$$(@:f))"
+ .END
+
+ # Customize default recipe definitions for OS, OSRELEASE, etc. settings.
+ .INCLUDE .NOINFER .IGNORE: $(INCFILENAME:d)$(OS)$/recipes.mk
+.ENDIF
+
+
+# Finally, define the default construction strategy
+.ROOT .PHONY .NOSTATE .SEQUENTIAL :- .INIT .TARGETS .DONE;
+.INIT .DONE .PHONY: $(NULLPRQ);
+
+# Define the NULL Prerequisite as having no recipe.
+$(NULLPRQ) .PHONY :;
+
+# Reset warnings back to previous setting.
+.SILENT !:= $(__.silent)
+
+# Check for a Local project file, gets parsed before user makefile.
+.INCLUDE .IGNORE .NOINFER: "project.mk"
+
+.MAKEFILES :- makefile.rc makefile.mk MAKEFILE.MK $(CONFIG_PROJECT)$/makefile.rc $(SOLARENV)$/inc$/found_no.mk
+
diff --git a/solenv/inc/startup/summary b/solenv/inc/startup/summary
new file mode 100644
index 000000000000..4ae18860da41
--- /dev/null
+++ b/solenv/inc/startup/summary
@@ -0,0 +1,3 @@
+The following is a summary of the supported dmake environments. When you
+issue the build command 'dmake tag' where tag is the target environment it
+will build one of these by default.
diff --git a/solenv/inc/startup/wnt/macros.mk b/solenv/inc/startup/wnt/macros.mk
new file mode 100644
index 000000000000..3d8296840f01
--- /dev/null
+++ b/solenv/inc/startup/wnt/macros.mk
@@ -0,0 +1,70 @@
+# Define additional MSDOS specific settings.
+#
+
+# Execution environment configuration.
+# Grab the current setting of COMSPEC.
+#
+.IMPORT .IGNORE : COMSPEC
+
+# First check if SHELL is defined to be something other than COMSPEC.
+# If it is, then assume that SHELL is a Korn compatible shell like MKS's
+.IF $(SHELL) == $(NULL)
+ .IF $(COMSPEC) == $(NULL)
+ SHELL *:= $(ROOTDIR)$/bin$/sh$E
+ .ELSE
+ SHELL *:= $(COMSPEC)
+ .END
+.END
+GROUPSHELL *:= $(SHELL)
+
+# Process release-specific refinements, if any.
+.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
+
+# Applicable suffix definitions
+A *:= .lib # Libraries
+E *:= .exe # Executables
+F *:= .for # Fortran
+O *:= .obj # Objects
+P *:= .pas # Pascal
+S *:= .asm # Assembler sources
+V *:= # RCS suffix
+
+# Now set the remaining arguments depending on which SHELL we
+# are going to use. COMSPEC (assumed to be command.com) or
+# MKS Korn shell.
+.IF $(SHELL) == $(COMSPEC)
+ SHELLFLAGS *:= $(SWITCHAR)c
+ GROUPFLAGS *:= $(SHELLFLAGS)
+ SHELLMETAS *:= "<>|
+ GROUPSUFFIX *:= .cmd
+ DIVFILE *= $(TMPFILE:s,/,\)
+# DIVFILE *= $(TMPFILE:s,/,\)
+ RM *= del
+# RM *= +-del
+ RMFLAGS *=
+ MV *= rename
+ __.DIVSEP-sh-yes *:= \\
+ __.DIVSEP-sh-no *:= \\
+ DIRSEPSTR := \
+# / *= $(DIRSEPSTR)$(DIRSEPSTR)
+.ELSE
+ SHELL !:= $(SHELL:s,/,\,)
+ COMMAND *= $(CMNDNAME:s,/,\,) $(CMNDARGS)
+ SHELLFLAGS *:= -c
+ GROUPFLAGS *:=
+ SHELLMETAS *:= *";?<>|()&][$$\#`'
+ GROUPSUFFIX *:= .ksh
+ .MKSARGS *:= yes
+ RM *= $(ROOTDIR)$/bin$/rm
+ RMFLAGS *= -f
+ MV *= $(ROOTDIR)$/bin$/mv
+ DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}})
+ __.DIVSEP-sh-yes *:= \\\
+ __.DIVSEP-sh-no *:= \\
+.ENDIF
+
+
+# Does not respect case of filenames.
+.DIRCACHERESPCASE := no
+NAMEMAX = 256
+
diff --git a/solenv/inc/starview.hid b/solenv/inc/starview.hid
new file mode 100644
index 000000000000..54474c566b99
--- /dev/null
+++ b/solenv/inc/starview.hid
@@ -0,0 +1,304 @@
+#include <stdio.h>
+
+#define leer 0
+
+#define application 1
+#define Application 1
+#define APPLICATION 1
+#define resource 2
+#define Resource 2
+#define RESOURCE 2
+#define string 3
+#define String 3
+#define STRING 3
+#define icon 4
+#define Icon 4
+#define ICON 4
+#define bitmap 5
+#define Bitmap 5
+#define BITMAP 5
+#define pointer 6
+#define Pointer 6
+#define POINTER 6
+#define brush 7
+#define Brush 7
+#define BRUSH 7
+#define color 8
+#define Color 8
+#define COLOR 8
+#define font 9
+#define Font 9
+#define FONT 9
+#define pen 10
+#define Pen 10
+#define PEN 10
+#define mapmode 11
+#define MapMode 11
+#define MAPMODE 11
+#define accel 12
+#define Accel 12
+#define ACCEL 12
+#define accelitem 13
+#define AccelItem 13
+#define ACCELITEM 13
+#define menu 14
+#define Menu 14
+#define MENU 14
+#define menuitem 15
+#define MenuItem 15
+#define MENUITEM 15
+#define outputdevice 16
+#define OutputDevice 16
+#define OUTPUTDEVICE 16
+#define keycode 17
+#define KeyCode 17
+#define KEYCODE 17
+#define time 18
+#define Time 18
+#define TIME 18
+#define date 19
+#define Date 19
+#define DATE 19
+#define international 20
+#define International 20
+#define INTERNATIONAL 20
+#define image 21
+#define Image 21
+#define IMAGE 21
+#define imagelist 22
+#define ImageList 22
+#define IMAGELIST 22
+#define messbox 23
+#define MessBox 23
+#define MESSBOX 23
+#define infobox 24
+#define InfoBox 24
+#define INFOBOX 24
+#define warningbox 25
+#define WarningBox 25
+#define WARNINGBOX 25
+#define errorbox 26
+#define ErrorBox 26
+#define ERRORBOX 26
+#define querybox 27
+#define QueryBox 27
+#define QUERYBOX 27
+#define window 28
+#define Window 28
+#define WINDOW 28
+#define syswindow 29
+#define SysWindow 29
+#define SYSWINDOW 29
+#define workwin 30
+#define WorkWin 30
+#define WORKWIN 30
+#define mdiwindow 31
+#define MdiWindow 31
+#define MDIWINDOW 31
+#define floatingwindow 32
+#define FloatingWindow 32
+#define FLOATINGWINDOW 32
+#define dialog 33
+#define Dialog 33
+#define DIALOG 33
+#define modelessdialog 34
+#define ModelessDialog 34
+#define MODELESSDIALOG 34
+#define modaldialog 35
+#define ModalDialog 35
+#define MODALDIALOG 35
+#define systemdialog 36
+#define SystemDialog 36
+#define SYSTEMDIALOG 36
+#define pathdialog 37
+#define PathDialog 37
+#define PATHDIALOG 37
+#define filedialog 38
+#define FileDialog 38
+#define FILEDIALOG 38
+#define printersetupdialog 39
+#define PrinterSetupDialog 39
+#define PRINTERSETUPDIALOG 39
+#define printdialog 40
+#define PrintDialog 40
+#define PRINTDIALOG 40
+#define colordialog 41
+#define ColorDialog 41
+#define COLORDIALOG 41
+#define fontdialog 42
+#define FontDialog 42
+#define FONTDIALOG 42
+#define control 43
+#define Control 43
+#define CONTROL 43
+#define button 44
+#define Button 44
+#define BUTTON 44
+#define pushbutton 45
+#define PushButton 45
+#define PUSHBUTTON 45
+#define okbutton 46
+#define OkButton 46
+#define OKButton 46
+#define OKBUTTON 46
+#define cancelbutton 47
+#define CancelButton 47
+#define CANCELBUTTON 47
+#define helpbutton 48
+#define HelpButton 48
+#define HELPBUTTON 48
+#define imagebutton 49
+#define ImageButton 49
+#define IMAGEBUTTON 49
+#define menubutton 50
+#define MenuButton 50
+#define MENUBUTTON 50
+#define morebutton 51
+#define MoreButton 51
+#define MOREBUTTON 51
+#define spinbutton 52
+#define SpinButton 52
+#define SPINBUTTON 52
+#define radiobutton 53
+#define RadioButton 53
+#define RADIOBUTTON 53
+#define checkbox 54
+#define CheckBox 54
+#define CHECKBOX 54
+#define tristatebox 55
+#define TriStateBox 55
+#define TRISTATEBOX 55
+#define edit 56
+#define Edit 56
+#define EDIT 56
+#define multilineedit 57
+#define MultiLineEdit 57
+#define MULTILINEEDIT 57
+#define combobox 58
+#define ComboBox 58
+#define COMBOBOX 58
+#define listbox 59
+#define ListBox 59
+#define LISTBOX 59
+#define multilistbox 60
+#define MultiListBox 60
+#define MULTILISTBOX 60
+#define text 61
+#define Text 61
+#define TEXT 61
+#define fixedline 62
+#define FixedLine 62
+#define FIXEDLINE 62
+#define fixedbitmap 63
+#define FixedBitmap 63
+#define FIXEDBITMAP 63
+#define fixedimage 64
+#define FixedImage 64
+#define FIXEDIMAGE 64
+#define fixedicon 65
+#define FixedIcon 65
+#define FIXEDICON 65
+#define groupBox 66
+#define GroupBox 66
+#define GROUPBOX 66
+#define scrollbar 67
+#define ScrollBar 67
+#define SCROLLBAR 67
+#define scrollbarbox 68
+#define ScrollBarBox 68
+#define SCROLLBARBOX 68
+#define splitter 69
+#define Splitter 69
+#define SPLITTER 69
+#define splitwindow 70
+#define SplitWindow 70
+#define SPLITWINDOW 70
+#define spinfield 71
+#define SpinField 71
+#define SPINFIELD 71
+#define patternfield 72
+#define PatternField 72
+#define PATTERNFIELD 72
+#define numericfield 73
+#define NumericField 73
+#define NUMERICFIELD 73
+#define metricfield 74
+#define MetricField 74
+#define METRICFIELD 74
+#define currencyfield 75
+#define CurrencyField 75
+#define CURRENCYFIELD 75
+#define datefield 76
+#define DateField 76
+#define DATEFIELD 76
+#define timefield 77
+#define TimeField 77
+#define TIMEFIELD 77
+#define patternbox 78
+#define PatternBox 78
+#define PATTERNBOX 78
+#define numericbox 79
+#define NumericBox 79
+#define NUMERICBOX 79
+#define metricbox 80
+#define MetricBox 80
+#define METRICBOX 80
+#define currencybox 81
+#define CurrencyBox 81
+#define CURRENCYBOX 81
+#define datebox 82
+#define DateBox 82
+#define DATEBOX 82
+#define timebox 83
+#define TimeBox 83
+#define TIMEBOX 83
+#define toolboxitem 84
+#define ToolBoxItem 84
+#define TOOLBOXITEM 84
+#define toolbox 85
+#define ToolBox 85
+#define TOOLBOX 85
+#define dockingwindow 86
+#define DockingWindow 86
+#define DOCKINGWINDOW 86
+#define statusbar 87
+#define StatusBar 87
+#define STATUSBAR 87
+#define tabpage 88
+#define TabPage 88
+#define TABPAGE 88
+#define tabcontrol 89
+#define TabControl 89
+#define TABCONTROL 89
+#define tabdialog 90
+#define TabDialog 90
+#define TABDIALOG 90
+#define tabcontrolitem 91
+#define TabControlItem 91
+#define TABCONTROLITEM 91
+#define treelistbox 92
+#define TreeListBox 92
+#define TREELISTBOX 92
+#define stringarray 93
+#define StringArray 93
+#define STRINGARRAY 93
+/* MH and OG */
+#define fixedtext 94
+#define FixedText 94
+#define FIXEDTEXT 94
+#define pageitem 95
+#define PageItem 95
+#define PAGEITEM 95
+#define accelerator 96
+#define Accelerator 96
+#define ACCELERATOR 96
+#define acceleratoritem 97
+#define AcceleratorItem 97
+#define ACCELERATORITEM 97
+
+#define SfxStyleFamilies 98
+#define SfxStyleFamilyItem 99
+#define SfxSlotInfo 100
+
+#define define 127
+
diff --git a/solenv/inc/target.mk b/solenv/inc/target.mk
new file mode 100644
index 000000000000..b4d88ff5d7e6
--- /dev/null
+++ b/solenv/inc/target.mk
@@ -0,0 +1,2744 @@
+#*******************************************************************
+#*
+#* $Workfile: target.mk $
+#*
+#* Beschreibung TARGET-Rules
+#*
+#* Ersterstellung TH 28.03.94
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/target.mkv $
+#*
+#* Copyright (c) 1990-1994, STAR DIVISION
+#*
+#*******************************************************************
+
+MKFILENAME:=TARGET.MK
+# ------------------------------------------------------------------
+# INCLUDE-Path
+# ------------------------------------------------------------------
+
+.IF "$(TARGET)"==""
+target_empty=warn_target_empty
+.ENDIF
+
+# all use solarinc
+# no standalone -I flags!!
+INCEXT*=.
+INCPRE*=.
+INCPOST*=.
+.IF "$(PRE)"!=""
+INCPRE+=-I$(PRE)$/inc
+.ENDIF # "$(PRE)"!=""
+.IF "$(LOCAL_SOLENV)"!=""
+SOLARINC+=$(JDKINCS)
+SOLARINC+=$(ORCLINC)
+SOLARINC+=$(DB2INC)
+SOLARINC+=$(DAOINC)
+.ENDIF "$(LOCAL_SOLENV)"!=""
+.IF "$(PRJINC)"!=""
+INCLUDE:=-I$(INCPRE) -I. -I$(INCLOCAL) -I$(INCLOCPRJ) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) -I$(INCEXT) -I$(PRJ)$/res -I$(INCPOST)
+.ELSE # "$(PRJINC)"!=""
+INCLUDE:=-I. -I$(INCPRE) -I$(INCLOCAL) -I$(INC) -I$(INCGUI) -I$(INCCOM) $(SOLARINC) -I$(INCEXT) -I$(PRJ)$/res -I$(INCPOST)
+.ENDIF # "$(PRJINC)"!=""
+.EXPORT : LIB
+# --- Compiler -----------------------------------------------------
+
+#needed for initial build of dpc files
+.IF "$(MAKEFILERC)"!=""
+PRJ=$(TEMP)
+#TARGET=makefilerc
+#PRJNAME=makefilerc
+DPCTARGET=
+.ELSE
+DPCTARGET=$(MISC)$/$(TARGET).dpc
+.ENDIF
+.IF "$(RC_SUBDIRS)"!=""
+SUBDIRS:=$(RC_SUBDIRS)
+SUBDIRSDEPS=$(RC_SUBDIRSDEPS)
+.ENDIF
+
+.INCLUDE : pstrules.mk
+
+.IF "$(depend)" == ""
+
+.INCLUDE : postset.mk
+
+# -------
+# - ALL -
+# -------
+
+# Bei VCL werden keine Resouren an die Apps geklemmt
+.IF "$(VCL)" != ""
+APP1RES=
+APP2RES=
+APP3RES=
+APP4RES=
+APP5RES=
+APP6RES=
+APP7RES=
+APP8RES=
+APP9RES=
+# Leider gibt es auch Applikationen die nicht VCLApp's sind, und Resourcen nicht von
+# VCL beziehen
+.IF "$(APP1NOSVRES)" != ""
+APP1RES=$(APP1NOSVRES)
+.ENDIF
+.IF "$(APP2NOSVRES)" != ""
+APP2RES=$(APP2NOSVRES)
+.ENDIF
+.IF "$(APP3NOSVRES)" != ""
+APP3RES=$(APP3NOSVRES)
+.ENDIF
+.ENDIF
+
+.IF "$(NO_APP)"!=""
+APP1TARGET=
+APP2TARGET=
+APP3TARGET=
+APP4TARGET=
+APP5TARGET=
+APP6TARGET=
+APP7TARGET=
+APP8TARGET=
+APP9TARGET=
+.ENDIF
+
+.IF "$(TF_PACKAGES)"==""
+
+.IF "$(IDLFILES)"!=""
+.IF "$(GUI)"=="UNX"
+MISC_:=$(MISC)/
+INC_:=$(INCCOM)$/$(PRJNAME)/
+SLO_:=$(SLO)/
+.ELSE # "$(GUI)"=="UNX"
+MISC_:=$(MISC)$(/)$/
+INC_:=$(INCCOM)$/$(PRJNAME)$(/)$/
+SLO_:=$(SLO)$(/)$/
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(NODEFAULTUNO)"==""
+.IF "$(NOSMARTUNO)"==""
+UNOIDLTARGETS+=$(IDLFILES:s/.idl/.smr/:f:^$(MISC_:s/\r/\\r/))
+SMRTARGETS+=$(IDLFILES:s/.idl/.smr/:f:^$(MISC_:s/\r/\\r/))
+.ENDIF # "$(NOSMARTUNO)"==""
+UNOIDLTARGETS+=$(IDLFILES:s/.idl/.cxx/:f:^$(MISC_:s/\r/\\r/))
+UNOIDLTARGETS+=$(IDLFILES:s/.idl/.obj/:f:^$(SLO_:s/\r/\\r/))
+SLOFILES+=$(IDLFILES:s/.idl/.obj/:f:^$(SLO_:s/\r/\\r/))
+.ENDIF # "$(NODEFAULTUNO)"==""
+.ENDIF # "$(IDLFILES)"!=""
+
+.IF "$(s2u)"!=""
+SLOPRE_:=$(SLO)$(/)s2u_
+UNOIDLTARGETS+=$(MISC)$/s2u_$(TARGET).don
+SLOFILES+=$(IDLFILES:s/.idl/.obj/:f:^$(SLOPRE_:s/\r/\\r/))
+.ENDIF
+
+.ELSE # "$(TF_PACKAGES)"==""
+
+.IF "$(BUILD_URD_ONLY)" != ""
+NOURD=
+URD=TRUE
+NODEFAULTUNO=TRUE
+s2u=
+javauno=
+.ENDIF # "$(URD_ONLY)" != ""
+
+.IF "$(IDLFILES)"!=""
+.IF "$(NODEFAULTUNO)"==""
+
+.IF "$(NOSMARTUNO)"==""
+INC_:=$(INCCOM)$(UNOPRE)$/$(IDLPACKAGE)$/
+SLO_=$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$/
+MISC_:=$(MISC)$(SMARTPRE)$/$(IDLPACKAGE)$/
+CXX_:=$(OUTCXX)$(SMARTPRE)$/$(IDLPACKAGE)$/
+_PACKAGE=$(IDLPACKAGE)
+#UNOIDLTARGETS+=$(foreach,i,$(IDLFILES:s/.idl/.hxx/:f) $(INC_)$i)
+SMRSLOFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(SLO_)$i)
+SMRFILES+=$(foreach,i,$(IDLFILES:s/.idl/.smr/:f) $(MISC_)$i)
+SMRSLOTARGET=$(SLB)$/smr$(TARGET).lib
+
+.IF "$(TF_PACKAGES_NO_S2U)"==""
+.IF "$(s2u)"!=""
+SLOPRE_=$(SLO)$(SMARTPRE)$/$(IDLPACKAGE)$(/)s2u_
+
+# does this context make sense?
+UNOIDLTARGETS+=$(foreach,i,$(IDLFILES:s/.idl/.h/:f) $(INC_)$i)
+
+S2USLOFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(SLOPRE_)$i)
+S2USLOTARGET=$(SLB)$/s2u$(TARGET).lib
+.ENDIF # "$(s2u)"!=""
+.ENDIF # "$(TF_PACKAGES_NO_S2U)"==""
+
+.ELSE # "$(NOSMARTUNO)"==""
+.IF "$(PACKAGE)"==""
+MISC_:=$(MISC)$/
+CXX_:=$(MISC)$/
+INC_:=$(INCCOM)$/$(PRJNAME)$/
+SLO_=$(SLO)$/
+OBJ_=$(OBJ)$/
+UNOIDLTARGETS+=$(foreach,i,$(IDLFILES:s/.idl/.cxx/:f) $(MISC_)$i)
+.IF "$(IDLSTATICOBJS)"==""
+SLOFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(SLO_)$i)
+.ELSE
+OBJFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(OBJ_)$i)
+.ENDIF
+.ELSE # "$(PACKAGE)"==""
+INC_:=$(INCCOM)$/$(IDLPACKAGE)$/
+SLO_=$(SLO)$/$(IDLPACKAGE)$/
+OBJ_=$(OBJ)$/$(IDLPACKAGE)$/
+MISC_:=$(MISC)$/$(IDLPACKAGE)$/
+CXX_:=$(OUTCXX)$/$(IDLPACKAGE)$/
+_PACKAGE=$(IDLPACKAGE)
+UNOIDLTARGETS+=$(foreach,i,$(IDLFILES:s/.idl/.cxx/:f) $(CXX_)$i)
+.IF "$(IDLSTATICOBJS)"==""
+.IF "$(GUI)"=="UNX"
+IDLSLOFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(SLO_)$i)
+.ELSE
+SLOFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(SLO_)$i)
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(IDLSTATICOBJS)"==""
+.IF "$(GUI)"=="UNX"
+IDLOBJFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(OBJ_)$i)
+.ELSE
+OBJFILES+=$(foreach,i,$(IDLFILES:s/.idl/.obj/:f) $(OBJ_)$i)
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(IDLSTATICOBJS)"==""
+
+.ENDIF # "$(PACKAGE)"==""
+.ENDIF # "$(NOSMARTUNO)"==""
+
+.IF "$(NOURD)"==""
+URD=TRUE
+.ENDIF
+
+.ENDIF # "$(NODEFAULTUNO)"==""
+
+.IF "$(URD)" != ""
+URDTARGET:=$(MISC)$/urd_$(TARGET).don
+URDFILES+=$(foreach,i,$(IDLFILES:s/.idl/.urd/:f) $(OUT)$/ucr$/$(IDLPACKAGE)$/$i)
+UNOIDLTARGETS+=$(URDFILES)
+
+.IF "$(URDFILES)"!=""
+LOCALDBTARGET=$(OUT)$/ucr$/$(TARGET).db
+.ENDIF
+
+.IF "$(URDDOC)" != ""
+URDDOCTARGET:=$(MISC)$/urddoc_$(TARGET).don
+URDDOCFILES+=$(foreach,i,$(IDLFILES:s/.idl/.urd/:f) $(OUT)$/ucrdoc$/$(IDLPACKAGE)$/$i)
+UNOIDLTARGETS+=$(URDDOCFILES)
+
+.IF "$(URDDOCFILES)"!=""
+LOCALDOCDBTARGET=$(OUT)$/ucrdoc$/$(TARGET).db
+.ENDIF
+
+.ENDIF # "$(URDDOC)" != ""
+.ENDIF # "$(URD)" != ""
+
+.ENDIF # "$(IDLFILES)"!=""
+.ENDIF # "$(TF_PACKAGES)"==""
+
+.IF "$(NOURD)"==""
+.IF "$(UNOIDLDBFILES)"!=""
+UNOIDLDBTARGET=$(OUT)$/ucr$/$(PRJNAME).db
+.IF "$(URDDOC)" != ""
+UNOIDLDBDOCFILES:=$(subst,$/ucr$/,$/ucrdoc$/ $(UNOIDLDBFILES))
+UNOIDLDBDOCTARGET=$(OUT)$/ucrdoc$/$(PRJNAME)_doc.db
+.ENDIF # "$(URDDOC)" != ""
+.IF "$(UPDATER)"!=""
+# SOLARREGDB=$(SOLARBINDIR)$/registry.db
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF # "$(UNOIDLDBFILES)"!=""
+.ENDIF # "$(NOURD)"==""
+
+.IF "$(GUI)"=="WNT"
+.IF "$(DOCIDLFILES)"!=""
+.IF "$(UPDATER)"=="YES"
+UNODOCTARGET=make_uno_doc
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(IDLFILES)"!=""
+.IF "$(PACKAGE)"!=""
+IDLDIRS=$(SOLARIDLDIR)$/$(PACKAGE)
+.ELSE # "$(PACKAGE)"!=""
+IDLDIRS=$(SOLARIDLDIR)
+.ENDIF # "$(PACKAGE)"!=""
+
+.IF "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
+.IF "$(EXTERNIDLFILES)"!=""
+DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(IDLDIRS)$/$i)
+.ELSE # "$(EXTERNIDLFILES)"!=""
+DEPIDLFILES:=$(IDLFILES)
+.ENDIF # "$(EXTERNIDLFILES)"!=""
+.ELSE # "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
+.IF "$(GUI)"=="OS2"
+DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(!null,$(shell $(FIND) . -name $i -print) $i $(shell $(FIND) $(IDLDIRS) -name $(i:f) -print) ))
+.ELSE # "$(GUI)"=="OS2"
+.IF "$(GUI)"=="WNT" || "$(GUI)"=="WIN"
+DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(!null,$(shell $(FIND) . -name $i) $i $(shell ($(FIND) $(IDLDIRS) -name $(i:f)) | $(SED) s/\//\\/g )))
+.ELSE # "$(GUI)"=="WNT" || "$(GUI)"=="WIN"
+DEPIDLFILES:=$(foreach,i,$(IDLFILES) $(!null,$(shell $(FIND) . -name $i -print) $i $(shell $(FIND) $(IDLDIRS) -name $(i:f) -print ) ))
+.ENDIF # "$(GUI)"=="WNT" || "$(GUI)"=="WIN"
+.ENDIF # "$(GUI)"=="OS2"
+.ENDIF # "$(LOCALIDLFILES)$(EXTERNIDLFILES)"!=""
+.ENDIF # "$(IDLFILES)"!=""
+
+.IF "$(UNOTYPES)" != ""
+UNOUCRHEADER=$(foreach,j,$(subst,.,$/ $(UNOTYPES)) $(UNOUCROUT)$/$(j:+".hpp"))
+UNOUCRTARGET:=$(UNOUCRHEADER)
+.ENDIF # "$(UNOTYPES)" != ""
+
+.IF "$(JARFILES)"!=""
+NEWCLASS:=$(foreach,i,$(JARFILES) $(null,$(shell $(FIND) $(JARDIR) -name $i) $(SOLARBINDIR)$/$i $(shell $(FIND) $(JARDIR) -name $i)))
+.ENDIF # "$(JARFILES)"!=""
+.IF "$(EXTRAJARFILES)"!=""
+.IF "$(LOCAL_SOLENV)"!=""
+NEWCLASS+=$(foreach,i,$(EXTRAJARFILES) $(SOLARROOT)$/btools$/$i)
+.ELSE # "$(LOCAL_SOLENV)"!=""
+NEWCLASS+=$(foreach,i,$(EXTRAJARFILES) $(SOLARENV)$/bin$/$i)
+.ENDIF # "$(LOCAL_SOLENV)"!=""
+.ENDIF # "$(EXTRAJARFILES)"!=""
+.IF "$(GENJAVACLASSFILES)"!=""
+NEWCLASS+=$(CLASSGENDIR)
+.ENDIF # "$(GENJAVACLASSFILES)"!=""
+.IF "$(NEWCLASS)"!=""
+.IF "$(GUI)"=="UNX"
+CLASSPATH=.:$(CLASSDIR):$(XCLASSPATH):$(NEWCLASS:s/ /:/)
+.ELSE
+CLASSPATH=.;$(CLASSDIR);$(XCLASSPATH);$(NEWCLASS:s/ /;/)
+.ENDIF
+.ENDIF # "$(NEWCLASS)"!=""
+
+.IF "$(NOOPTFILES)" != ""
+NOOPTTARGET=do_it_noopt
+.ENDIF
+
+.IF "$(EXCEPTIONSFILES)" != ""
+EXCEPTIONSTARGET=do_it_exeptions
+.ENDIF
+
+.IF "$(EXCEPTIONSNOOPTFILES)" != ""
+EXCEPTIONSNOOPTTARGET=do_it_exeptions_noopt
+.ENDIF
+
+.IF "$(ADDOPTFILES)" != ""
+ADDOPTTARGET=do_it_add
+.ENDIF
+
+
+#.IF "$(DELOPTFILES)" != ""
+#DELOPTTARGET=do_it_del
+#.ENDIF
+
+
+.IF "$(NOPCHFILES)" != ""
+NOPCHTARGET=do_itpch
+.ENDIF
+
+.IF "$(LIBTARGET)"==""
+.IF "$(OBJFILES)$(IDLOBJFILES)"!=""
+OBJTARGET=$(LB)$/$(TARGET).lib
+.ENDIF
+
+.IF "$(SLOFILES)$(IDLSLOFILES)"!=""
+SLOTARGET=$(SLB)$/$(TARGET).lib
+.ENDIF
+.ENDIF # "$(LIBTARGET)"==""
+
+.IF "$(SVXLIGHT)"!=""
+.IF "$(SVXLIGHTSLOFILES)"!=""
+.IF "$(LIBTARGET)"==""
+SVXLIGHTSLOTARGET=$(SLB)$/sxl_$(TARGET).lib
+.ENDIF # "$(LIBTARGET)"==""
+REAL_SVXLIGHTSLOFILES=$(foreach,i,$(SVXLIGHTSLOFILES) $(i:d)sxl_$(i:f))
+.ENDIF
+
+.IF "$(SVXLIGHTOBJFILES)"!=""
+.IF "$(LIBTARGET)"==""
+SVXLIGHTOBJTARGET=$(LB)$/sxl_$(TARGET).lib
+.ENDIF # "$(LIBTARGET)"==""
+REAL_SVXLIGHTOBJFILES=$(foreach,i,$(SVXLIGHTOBJFILES) $(i:d)sxl_$(i:f))
+.ENDIF
+.ENDIF # "$(SVXLIGHT)"!=""
+
+.IF "$(SECOND_BUILD)"!=""
+.IF "$($(SECOND_BUILD)SLOFILES)"!=""
+.IF "$(LIBTARGET)"==""
+$(SECOND_BUILD)SLOTARGET=$(SLB)$/$(SECOND_BUILD)_$(TARGET).lib
+.ENDIF # "$(LIBTARGET)"==""
+REAL_$(SECOND_BUILD)SLOFILES=$(foreach,i,$($(SECOND_BUILD)SLOFILES) $(i:d)$(SECOND_BUILD)_$(i:f))
+.ENDIF
+
+.IF "$($(SECOND_BUILD)OBJFILES)"!=""
+.IF "$(LIBTARGET)"==""
+$(SECOND_BUILD)OBJTARGET=$(LB)$/$(SECOND_BUILD)_$(TARGET).lib
+.ENDIF # "$(LIBTARGET)"==""
+REAL_$(SECOND_BUILD)OBJFILES=$(foreach,i,$($(SECOND_BUILD)OBJFILES) $(i:d)$(SECOND_BUILD)_$(i:f))
+.ENDIF
+.ENDIF # "$(SECOND_BUILD)"!=""
+
+.IF "$(NOLIBOBJTARGET)"!=""
+dont_set_NOLIBOBJTARGET:
+ @+echo --------------------------------------------------
+ @+echo setting NOLIBOBJTARGET in your makefile will cause serious problems!
+ @+echo use DEPOBJFILES instead.
+ @+echo --------------------------------------------------
+ force_dmake_to_error
+.ENDIF # "$(NOLIBTARGET)"!=""
+.IF "$(OBJFILES)"!=""
+.IF "$(LIBTARGET)" != ""
+NOLIBOBJTARGET=$(OBJFILES)
+.ENDIF
+.ENDIF
+
+.IF "$(SLOFILES)"!=""
+.IF "$(LIBTARGET)" != ""
+NOLIBSLOTARGET=$(SLOFILES)
+.ENDIF
+.ENDIF
+
+.IF "$(UNR)" != ""
+.IF "$(GUI)" == "WIN"
+OPTLINKS=
+MAPSYM=
+.ENDIF
+.ENDIF
+
+.IF "$(OPTLINKS)" != ""
+.IF "$(GUI)" == "WIN"
+LINK=$(DEVROOT)$/s70$/bin$/link
+.ENDIF
+.ENDIF
+
+.IF "$(OPTLINKS1)" != ""
+.IF "$(GUI)" == "WIN"
+LINK=$(DEVROOT)$/bin$/optlinks$/optlinks
+.ENDIF
+.ENDIF
+
+.IF "$(OPTLINKS2)" != ""
+.IF "$(GUI)" == "WIN"
+LINK=$(DEVROOT)$/bin$/optlinks$/neu$/link
+.ENDIF
+.ENDIF
+
+.IF "$(SRCFILES)"!=""
+SRCTARGET=$(SRS)$/$(TARGET).srs
+.ENDIF
+
+.IF "$(SRSFILES)"!=""
+SRSTARGET=$(RES)$/$(TARGET).res
+.ENDIF
+
+.IF "$(SRC1FILES)"!=""
+SRC1TARGET=$(SRS)$/$(SRS1NAME).srs
+.ENDIF
+
+.IF "$(SRS1FILES)"!=""
+.IF "$(VCL)" != ""
+SRS1TARGET=$(BIN)$/$(RES1TARGET).res
+.ELSE
+SRS1TARGET=$(RES)$/$(RES1TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC2FILES)"!=""
+SRC2TARGET=$(SRS)$/$(SRS2NAME).srs
+.ENDIF
+
+.IF "$(SRS2FILES)"!=""
+.IF "$(VCL)" != ""
+SRS2TARGET=$(BIN)$/$(RES2TARGET).res
+.ELSE
+SRS2TARGET=$(RES)$/$(RES2TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC3FILES)"!=""
+SRC3TARGET=$(SRS)$/$(SRS3NAME).srs
+.ENDIF
+
+.IF "$(SRS3FILES)"!=""
+.IF "$(VCL)" != ""
+SRS3TARGET=$(BIN)$/$(RES3TARGET).res
+.ELSE
+SRS3TARGET=$(RES)$/$(RES3TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC4FILES)"!=""
+SRC4TARGET=$(SRS)$/$(SRS4NAME).srs
+.ENDIF
+
+.IF "$(SRS1FILES)"!=""
+.IF "$(VCL)" != ""
+SRS4TARGET=$(BIN)$/$(RES4TARGET).res
+.ELSE
+SRS4TARGET=$(RES)$/$(RES4TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC5FILES)"!=""
+SRC5TARGET=$(SRS)$/$(SRS5NAME).srs
+.ENDIF
+
+.IF "$(SRS5FILES)"!=""
+.IF "$(VCL)" != ""
+SRS5TARGET=$(BIN)$/$(RES5TARGET).res
+.ELSE
+SRS5TARGET=$(RES)$/$(RES5TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC6FILES)"!=""
+SRC6TARGET=$(SRS)$/$(SRS6NAME).srs
+.ENDIF
+
+.IF "$(SRS6FILES)"!=""
+.IF "$(VCL)" != ""
+SRS6TARGET=$(BIN)$/$(RES6TARGET).res
+.ELSE
+SRS6TARGET=$(RES)$/$(RES6TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC7FILES)"!=""
+SRC7TARGET=$(SRS)$/$(SRS7NAME).srs
+.ENDIF
+
+.IF "$(SRS7FILES)"!=""
+.IF "$(VCL)" != ""
+SRS7TARGET=$(BIN)$/$(RES7TARGET).res
+.ELSE
+SRS7TARGET=$(RES)$/$(RES7TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC8FILES)"!=""
+SRC8TARGET=$(SRS)$/$(SRS8NAME).srs
+.ENDIF
+
+.IF "$(SRS8FILES)"!=""
+.IF "$(VCL)" != ""
+SRS8TARGET=$(BIN)$/$(RES8TARGET).res
+.ELSE
+SRS8TARGET=$(RES)$/$(RES8TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SRC9FILES)"!=""
+SRC9TARGET=$(SRS)$/$(SRS9NAME).srs
+.ENDIF
+
+.IF "$(SRS9FILES)"!=""
+.IF "$(VCL)" != ""
+SRS9TARGET=$(BIN)$/$(RES9TARGET).res
+.ELSE
+SRS9TARGET=$(RES)$/$(RES9TARGET).res
+.ENDIF
+.ENDIF
+
+.IF "$(SOLAR_JAVA)"!=""
+.IF "$(JAVAFILES)$(JAVACLASSFILES)$(GENJAVAFILES)"!=""
+.IF "$(JAVAFILES)$(JAVACLASSFILES)"=="$(JAVAFILES)"
+JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
+.ENDIF
+JAVATARGET:=$(MISC)$/$(TARGET)_dummy.java
+.ENDIF
+.IF "$(javauno)"!=""
+.IF "$(IDLFILES)"!=""
+JAVATARGET=$(MISC)$/$(TARGET)_dummy.java
+UNOIDLTARGETS+=$(MISC)$/$(TARGET)genjava.don
+.ENDIF
+.ENDIF
+
+.IF "$(JARTARGET)"!=""
+JARCLASSDIRS*=.
+.IF "$(NEW_JAR_PACK)"!=""
+JARMANIFEST*=META-INF$/MANIFEST.MF
+.ENDIF # "$(NEW_JAR_PACK)"!=""
+JARTARGETN=$(JARTARGET)
+.IF "$(NOJARDEP)$(NEW_JAR_PACK)"==""
+JARTARGETDEP=$(JARTARGET).dep
+JARTARGETDEPN=$(MISC)$/$(JARTARGET).dep
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(RCFILES)"!=""
+.IF "$(solarlang)" == "deut"
+RCTARGET=$(RES)$/$(TARGET).res
+.IF "$(NO_REC_RES)"!=""
+RCTARGET!:=$(foreach,i,$(alllangext) $(RES)$/$i$/$(TARGET).res)
+.ENDIF
+.ELSE
+.IF "$(RCFILES)" != "verinfo.rc"
+RCTARGET=$(RES)$/$(TARGET).res
+.IF "$(NO_REC_RES)"!=""
+RCTARGET!:=$(foreach,i,$(alllangext) $(RES)$/$i$/$(TARGET).res)
+.ENDIF
+.ELSE
+RCFILES=
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SCP1TARGET)"!=""
+SCP1TARGETN:=$(foreach,i,$(SCP1LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP1TARGET)$(SCPPOST))
+SCP1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(SCP2TARGET)"!=""
+SCP2TARGETN:=$(foreach,i,$(SCP2LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP2TARGET)$(SCPPOST))
+SCP2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(SCP3TARGET)"!=""
+SCP3TARGETN:=$(foreach,i,$(SCP3LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP3TARGET)$(SCPPOST))
+SCP3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(SCP4TARGET)"!=""
+SCP4TARGETN:=$(foreach,i,$(SCP4LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP4TARGET)$(SCPPOST))
+SCP4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(SCP5TARGET)"!=""
+SCP5TARGETN:=$(foreach,i,$(SCP5LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP5TARGET)$(SCPPOST))
+SCP5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(SCP6TARGET)"!=""
+SCP6TARGETN:=$(foreach,i,$(SCP6LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP6TARGET)$(SCPPOST))
+SCP6 ?= TNR!:=6
+.ENDIF
+
+.IF "$(SCP7TARGET)"!=""
+SCP7TARGETN:=$(foreach,i,$(SCP7LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP7TARGET)$(SCPPOST))
+SCP7 ?= TNR!:=7
+.ENDIF
+
+.IF "$(SCP8TARGET)"!=""
+SCP8TARGETN:=$(foreach,i,$(SCP8LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP8TARGET)$(SCPPOST))
+SCP8 ?= TNR!:=8
+.ENDIF
+
+.IF "$(SCP9TARGET)"!=""
+SCP9TARGETN:=$(foreach,i,$(SCP9LINK_PRODUCT_TYPE) $(BIN)$/$i$/$(SCP9TARGET)$(SCPPOST))
+SCP9 ?= TNR!:=9
+.ENDIF
+
+.IF "$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!="$(ZIP1LIST:s/LANGDIR//)$(ZIP2LIST:s/LANGDIR//)$(ZIP3LIST:s/LANGDIR//)$(ZIP4LIST:s/LANGDIR//)$(ZIP5LIST:s/LANGDIR//)$(ZIP6LIST:s/LANGDIR//)$(ZIP7LIST:s/LANGDIR//)$(ZIP8LIST:s/LANGDIR//)$(ZIP9LIST:s/LANGDIR//)"
+.IF "$(GUI)"=="UNX"
+ziplangdirs:=$(shell +find . -type d ! -name CVS ! -name "." | sed "s/\.\///" )
+.ELSE # "$(GUI)"=="UNX"
+ziplangdirs:=$(subst,CVS, $(shell +dir /ba:d ))
+.ENDIF # "$(GUI)"=="UNX"
+zipalllangext=$(foreach,i,$(alllangext) $(eq,{$(subst,$(longlang_$i), $(ziplangdirs))},{$(ziplangdirs)} $(null) $i ))
+
+.ENDIF #
+
+.IF "$(ZIP1TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP1LIST:s/LANGDIR//)" == "$(ZIP1LIST)"
+ZIP1TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP1TARGET).zip
+.ELSE
+ZIP1TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP1TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP1LIST:s/LANGDIR//)" == "$(ZIP1LIST)"
+ZIP1TARGETN=$(BIN)$/$(ZIP1TARGET)
+.ELSE
+ZIP1TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP1TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(ZIP2TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP2LIST:s/LANGDIR//)" == "$(ZIP2LIST)"
+ZIP2TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP2TARGET).zip
+.ELSE
+ZIP2TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP2TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP2LIST:s/LANGDIR//)" == "$(ZIP2LIST)"
+ZIP2TARGETN=$(BIN)$/$(ZIP2TARGET)
+.ELSE
+ZIP2TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP2TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(ZIP3TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP3LIST:s/LANGDIR//)" == "$(ZIP3LIST)"
+ZIP3TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP3TARGET).zip
+.ELSE
+ZIP3TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP3TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP3LIST:s/LANGDIR//)" == "$(ZIP3LIST)"
+ZIP3TARGETN=$(BIN)$/$(ZIP3TARGET)
+.ELSE
+ZIP3TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP3TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(ZIP4TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP4LIST:s/LANGDIR//)" == "$(ZIP4LIST)"
+ZIP4TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP4TARGET).zip
+.ELSE
+ZIP4TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP4TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP4LIST:s/LANGDIR//)" == "$(ZIP4LIST)"
+ZIP4TARGETN=$(BIN)$/$(ZIP4TARGET)
+.ELSE
+ZIP4TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP4TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(ZIP5TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP5LIST:s/LANGDIR//)" == "$(ZIP5LIST)"
+ZIP5TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP5TARGET).zip
+.ELSE
+ZIP5TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP5TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP5LIST:s/LANGDIR//)" == "$(ZIP5LIST)"
+ZIP5TARGETN=$(BIN)$/$(ZIP5TARGET)
+.ELSE
+ZIP5TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP5TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(ZIP6TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP6LIST:s/LANGDIR//)" == "$(ZIP6LIST)"
+ZIP6TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP6TARGET).zip
+.ELSE
+ZIP6TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP6TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP6LIST:s/LANGDIR//)" == "$(ZIP6LIST)"
+ZIP6TARGETN=$(BIN)$/$(ZIP6TARGET)
+.ELSE
+ZIP6TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP6TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP6 ?= TNR!:=6
+.ENDIF
+
+.IF "$(ZIP7TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP7LIST:s/LANGDIR//)" == "$(ZIP7LIST)"
+ZIP7TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP7TARGET).zip
+.ELSE
+ZIP7TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP7TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP7LIST:s/LANGDIR//)" == "$(ZIP7LIST)"
+ZIP7TARGETN=$(BIN)$/$(ZIP7TARGET)
+.ELSE
+ZIP7TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP7TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP7 ?= TNR!:=7
+.ENDIF
+
+.IF "$(ZIP8TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP8LIST:s/LANGDIR//)" == "$(ZIP8LIST)"
+ZIP8TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP8TARGET).zip
+.ELSE
+ZIP8TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP8TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP8LIST:s/LANGDIR//)" == "$(ZIP8LIST)"
+ZIP8TARGETN=$(BIN)$/$(ZIP8TARGET)
+.ELSE
+ZIP8TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP8TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP8 ?= TNR!:=8
+.ENDIF
+
+.IF "$(ZIP9TARGET)"!=""
+.IF "$(common_build_zip)"!=""
+.IF "$(ZIP9LIST:s/LANGDIR//)" == "$(ZIP9LIST)"
+ZIP9TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP9TARGET).zip
+.ELSE
+ZIP9TARGETN:=$(foreach,i,$(zipalllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP9TARGET)$i.zip )
+.ENDIF
+.ELSE # "$(common_build_zip)"!=""
+.IF "$(ZIP9LIST:s/LANGDIR//)" == "$(ZIP9LIST)"
+ZIP9TARGETN=$(BIN)$/$(ZIP9TARGET)
+.ELSE
+ZIP9TARGETN=$(foreach,i,$(alllangext) $(BIN)$/$(ZIP9TARGET)$i.zip )
+.ENDIF
+.ENDIF # "$(common_build_zip)"!=""
+ZIP9 ?= TNR!:=9
+.ENDIF
+
+.IF "$(APP1TARGET)"!=""
+APP1TARGETN=$(BIN)$/$(APP1TARGET)$(EXECPOST)
+.IF "$(NO_REC_RES)"!=""
+.IF "$(APP1NOSVRES)"!=""
+APP1TARGETN!:=$(foreach,i,$(alllangext) $(BIN)$/$i$/$(APP1TARGET)$(EXECPOST))
+.ENDIF
+.ENDIF
+APP1 ?= TNR!:=1
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP1BASE)"==""
+APP1BASE=$(BASE)
+.ENDIF
+APP1BASEX=/BASE:$(APP1BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP2TARGET)"!=""
+APP2TARGETN=$(BIN)$/$(APP2TARGET)$(EXECPOST)
+.IF "$(NO_REC_RES)"!=""
+.IF "$(APP2NOSVRES)"!=""
+APP2TARGETN!:=$(foreach,i,$(alllangext) $(BIN)$/$i$/$(APP2TARGET)$(EXECPOST))
+.ENDIF
+.ENDIF
+APP2 ?= TNR!:=2
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP2BASE)"==""
+APP2BASE=$(BASE)
+.ENDIF
+APP2BASEX=/BASE:$(APP2BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP3TARGET)"!=""
+APP3TARGETN=$(BIN)$/$(APP3TARGET)$(EXECPOST)
+.IF "$(NO_REC_RES)"!=""
+.IF "$(APP3NOSVRES)"!=""
+APP3TARGETN!:=$(foreach,i,$(alllangext) $(BIN)$/$i$/$(APP3TARGET)$(EXECPOST))
+.ENDIF
+.ENDIF
+APP3 ?= TNR!:=3
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP3BASE)"==""
+APP3BASE=$(BASE)
+.ENDIF
+APP3BASEX=/BASE:$(APP3BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP4TARGET)"!=""
+APP4TARGETN=$(BIN)$/$(APP4TARGET)$(EXECPOST)
+APP4 ?= TNR!:=4
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP4BASE)"==""
+APP4BASE=$(BASE)
+.ENDIF
+APP4BASEX=/BASE:$(APP4BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP5TARGET)"!=""
+APP5TARGETN=$(BIN)$/$(APP5TARGET)$(EXECPOST)
+APP5 ?= TNR!:=5
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP5BASE)"==""
+APP5BASE=$(BASE)
+.ENDIF
+APP5BASEX=/BASE:$(APP5BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP6TARGET)"!=""
+APP6TARGETN=$(BIN)$/$(APP6TARGET)$(EXECPOST)
+APP6 ?= TNR!:=6
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP6BASE)"==""
+APP6BASE=$(BASE)
+.ENDIF
+APP6BASEX=/BASE:$(APP6BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP7TARGET)"!=""
+APP7TARGETN=$(BIN)$/$(APP7TARGET)$(EXECPOST)
+APP7 ?= TNR!:=7
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP7BASE)"==""
+APP7BASE=$(BASE)
+.ENDIF
+APP7BASEX=/BASE:$(APP7BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP8TARGET)"!=""
+APP8TARGETN=$(BIN)$/$(APP8TARGET)$(EXECPOST)
+APP8 ?= TNR!:=8
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP8BASE)"==""
+APP8BASE=$(BASE)
+.ENDIF
+APP8BASEX=/BASE:$(APP8BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(APP9TARGET)"!=""
+APP9TARGETN=$(BIN)$/$(APP9TARGET)$(EXECPOST)
+APP9 ?= TNR!:=9
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(APP9BASE)"==""
+APP9BASE=$(BASE)
+.ENDIF
+APP9BASEX=/BASE:$(APP9BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL1TARGET)"!=""
+SHL1TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL1TARGET)$(DLLPOST)
+SHL1 ?= TNR!:=1
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL1BASE)"==""
+SHL1BASE=$(BASE)
+.ENDIF
+SHL1BASEX=/BASE:$(SHL1BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL1IMPLIB)"!=""
+SHL1IMPLIBN=$(LB)$/$(SHL1IMPLIB).lib
+SHL1IMP ?= TNR!:=1
+.ENDIF
+
+.IF "$(SHL2TARGET)"!=""
+SHL2TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL2TARGET)$(DLLPOST)
+SHL2 ?= TNR!:=2
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL2BASE)"==""
+SHL2BASE=$(BASE)
+.ENDIF
+SHL2BASEX=/BASE:$(SHL2BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL2IMPLIB)"!=""
+SHL2IMPLIBN=$(LB)$/$(SHL2IMPLIB).lib
+SHL2IMP ?= TNR!:=2
+.ENDIF
+
+.IF "$(SHL3TARGET)"!=""
+SHL3TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL3TARGET)$(DLLPOST)
+SHL3 ?= TNR!:=3
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL3BASE)"==""
+SHL3BASE=$(BASE)
+.ENDIF
+SHL3BASEX=/BASE:$(SHL3BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL3IMPLIB)"!=""
+SHL3IMPLIBN=$(LB)$/$(SHL3IMPLIB).lib
+SHL3IMP ?= TNR!:=3
+.ENDIF
+
+.IF "$(SHL4TARGET)"!=""
+SHL4TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL4TARGET)$(DLLPOST)
+SHL4 ?= TNR!:=4
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL4BASE)"==""
+SHL4BASE=$(BASE)
+.ENDIF
+SHL4BASEX=/BASE:$(SHL4BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL4IMPLIB)"!=""
+SHL4IMPLIBN=$(LB)$/$(SHL4IMPLIB).lib
+SHL4IMP ?= TNR!:=4
+.ENDIF
+
+.IF "$(SHL5TARGET)"!=""
+SHL5TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL5TARGET)$(DLLPOST)
+SHL5 ?= TNR!:=5
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL5BASE)"==""
+SHL5BASE=$(BASE)
+.ENDIF
+SHL5BASEX=/BASE:$(SHL5BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL5IMPLIB)"!=""
+SHL5IMPLIBN=$(LB)$/$(SHL5IMPLIB).lib
+SHL5IMP ?= TNR!:=5
+.ENDIF
+
+.IF "$(SHL6TARGET)"!=""
+SHL6TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL6TARGET)$(DLLPOST)
+SHL6 ?= TNR!:=6
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL6BASE)"==""
+SHL6BASE=$(BASE)
+.ENDIF
+SHL6BASEX=/BASE:$(SHL6BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL6IMPLIB)"!=""
+SHL6IMPLIBN=$(LB)$/$(SHL6IMPLIB).lib
+SHL6IMP ?= TNR!:=6
+.ENDIF
+
+.IF "$(SHL7TARGET)"!=""
+SHL7TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL7TARGET)$(DLLPOST)
+SHL7 ?= TNR!:=7
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL7BASE)"==""
+SHL7BASE=$(BASE)
+.ENDIF
+SHL7BASEX=/BASE:$(SHL7BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL7IMPLIB)"!=""
+SHL7IMPLIBN=$(LB)$/$(SHL7IMPLIB).lib
+SHL7IMP ?= TNR!:=7
+.ENDIF
+
+.IF "$(SHL8TARGET)"!=""
+SHL8TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL8TARGET)$(DLLPOST)
+SHL8 ?= TNR!:=8
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL8BASE)"==""
+SHL8BASE=$(BASE)
+.ENDIF
+SHL8BASEX=/BASE:$(SHL8BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL8IMPLIB)"!=""
+SHL8IMPLIBN=$(LB)$/$(SHL8IMPLIB).lib
+SHL8IMP ?= TNR!:=8
+.ENDIF
+
+.IF "$(SHL9TARGET)"!=""
+SHL9TARGETN=$(DLLDEST)$/$(DLLPRE)$(SHL9TARGET)$(DLLPOST)
+SHL9 ?= TNR!:=9
+.IF "$(BASE)" != ""
+.IF "$(GUI)"=="WNT"
+.IF "$(SHL9BASE)"==""
+SHL9BASE=$(BASE)
+.ENDIF
+SHL9BASEX=/BASE:$(SHL9BASE)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(SHL9IMPLIB)"!=""
+SHL9IMPLIBN=$(LB)$/$(SHL9IMPLIB).lib
+SHL9IMP ?= TNR!:=9
+.ENDIF
+
+.IF "$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
+.IF "$(UNOUCRRDB)"!=""
+COMPRDB*:=$(UNOUCRRDB)
+.ELSE # "$(UNOUCRRDB)"!=""
+COMPRDB*:=$(SOLARBINDIR)$/applicat.rdb
+.ENDIF # "$(UNOUCRRDB)"!=""
+.ENDIF
+.IF "$(COMP1TYPELIST)"!=""
+COMP1RDBTARGETN:=$(BIN)$/$(COMP1TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP2TYPELIST)"!=""
+COMP2RDBTARGETN:=$(BIN)$/$(COMP2TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP3TYPELIST)"!=""
+COMP3RDBTARGETN:=$(BIN)$/$(COMP3TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP4TYPELIST)"!=""
+COMP4RDBTARGETN:=$(BIN)$/$(COMP4TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP5TYPELIST)"!=""
+COMP5RDBTARGETN:=$(BIN)$/$(COMP5TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP6TYPELIST)"!=""
+COMP6RDBTARGETN:=$(BIN)$/$(COMP6TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP7TYPELIST)"!=""
+COMP7RDBTARGETN:=$(BIN)$/$(COMP7TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP8TYPELIST)"!=""
+COMP8RDBTARGETN:=$(BIN)$/$(COMP8TYPELIST).rdb
+.ENDIF
+
+.IF "$(COMP9TYPELIST)"!=""
+COMP9RDBTARGETN:=$(BIN)$/$(COMP9TYPELIST).rdb
+.ENDIF
+
+.IF "$(HELPIDFILES)"!=""
+MAKE_HELPIDS=$(MISC)$/helpids.don
+.ENDIF
+
+.IF "$(SHXXFILES)"!=""
+SHXXTARGETN=$(INCCOM)$/$(TARGET).don
+.ENDIF
+
+.IF "$(HXX1TARGET)"!=""
+HXX1TARGETN=$(INCCOM)$/$(HXX1TARGET).$(HXX1EXT)
+HXX1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(HXX2TARGET)"!=""
+HXX2TARGETN=$(INCCOM)$/$(HXX2TARGET).$(HXX2EXT)
+HXX2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(HXX3TARGET)"!=""
+HXX3TARGETN=$(INCCOM)$/$(HXX3TARGET).$(HXX3EXT)
+HXX3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(HXX4TARGET)"!=""
+HXX4TARGETN=$(INCCOM)$/$(HXX4TARGET).$(HXX4EXT)
+HXX4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(HXX5TARGET)"!=""
+HXX5TARGETN=$(INCCOM)$/$(HXX5TARGET).$(HXX5EXT)
+HXX5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(HXX6TARGET)"!=""
+HXX6TARGETN=$(INCCOM)$/$(HXX6TARGET).$(HXX6EXT)
+HXX6 ?= TNR!:=6
+.ENDIF
+
+.IF "$(HXX7TARGET)"!=""
+HXX7TARGETN=$(INCCOM)$/$(HXX7TARGET).$(HXX7EXT)
+HXX7 ?= TNR!:=7
+.ENDIF
+
+.IF "$(HXX8TARGET)"!=""
+HXX8TARGETN=$(INCCOM)$/$(HXX8TARGET).$(HXX8EXT)
+HXX8 ?= TNR!:=8
+.ENDIF
+
+.IF "$(HXX9TARGET)"!=""
+HXX9TARGETN=$(INCCOM)$/$(HXX9TARGET).$(HXX9EXT)
+HXX9 ?= TNR!:=9
+.ENDIF
+
+.IF "$(HXX10TARGET)"!=""
+HXX10TARGETN=$(INCCOM)$/$(HXX10TARGET).$(HXX10EXT)
+HXX10 ?= TNR!:=10
+.ENDIF
+
+.IF "$(HXX11TARGET)"!=""
+HXX11TARGETN=$(INCCOM)$/$(HXX11TARGET).$(HXX11EXT)
+HXX11 ?= TNR!:=11
+.ENDIF
+
+.IF "$(HXX12TARGET)"!=""
+HXX12TARGETN=$(INCCOM)$/$(HXX12TARGET).$(HXX12EXT)
+HXX12 ?= TNR!:=12
+.ENDIF
+
+.IF "$(HXX13TARGET)"!=""
+HXX13TARGETN=$(INCCOM)$/$(HXX13TARGET).$(HXX13EXT)
+HXX13 ?= TNR!:=13
+.ENDIF
+
+.IF "$(HXX14TARGET)"!=""
+HXX14TARGETN=$(INCCOM)$/$(HXX14TARGET).$(HXX14EXT)
+HXX14 ?= TNR!:=14
+.ENDIF
+
+.IF "$(HXX15TARGET)"!=""
+HXX15TARGETN=$(INCCOM)$/$(HXX15TARGET).$(HXX15EXT)
+HXX15 ?= TNR!:=15
+.ENDIF
+
+.IF "$(HXX16TARGET)"!=""
+HXX16TARGETN=$(INCCOM)$/$(HXX16TARGET).$(HXX16EXT)
+HXX16 ?= TNR!:=16
+.ENDIF
+
+.IF "$(HXX17TARGET)"!=""
+HXX17TARGETN=$(INCCOM)$/$(HXX17TARGET).$(HXX17EXT)
+HXX17 ?= TNR!:=17
+.ENDIF
+
+.IF "$(HXX18TARGET)"!=""
+HXX18TARGETN=$(INCCOM)$/$(HXX18TARGET).$(HXX18EXT)
+HXX18 ?= TNR!:=18
+.ENDIF
+
+.IF "$(HXX19TARGET)"!=""
+HXX19TARGETN=$(INCCOM)$/$(HXX19TARGET).$(HXX19EXT)
+HXX19 ?= TNR!:=19
+.ENDIF
+
+.IF "$(HXX20TARGET)"!=""
+HXX20TARGETN=$(INCCOM)$/$(HXX20TARGET).$(HXX20EXT)
+HXX20 ?= TNR!:=20
+.ENDIF
+
+.IF "$(HXX21TARGET)"!=""
+HXX21TARGETN=$(INCCOM)$/$(HXX21TARGET).$(HXX21EXT)
+HXX21 ?= TNR!:=21
+.ENDIF
+
+.IF "$(HXX22TARGET)"!=""
+HXX22TARGETN=$(INCCOM)$/$(HXX22TARGET).$(HXX22EXT)
+HXX22 ?= TNR!:=22
+.ENDIF
+
+.IF "$(HXX23TARGET)"!=""
+HXX23TARGETN=$(INCCOM)$/$(HXX23TARGET).$(HXX23EXT)
+HXX23 ?= TNR!:=23
+.ENDIF
+
+.IF "$(HXX24TARGET)"!=""
+HXX24TARGETN=$(INCCOM)$/$(HXX24TARGET).$(HXX24EXT)
+HXX24 ?= TNR!:=24
+.ENDIF
+
+.IF "$(HXX25TARGET)"!=""
+HXX25TARGETN=$(INCCOM)$/$(HXX25TARGET).$(HXX25EXT)
+HXX25 ?= TNR!:=25
+.ENDIF
+
+.IF "$(HXX26TARGET)"!=""
+HXX26TARGETN=$(INCCOM)$/$(HXX26TARGET).$(HXX26EXT)
+HXX26 ?= TNR!:=26
+.ENDIF
+
+.IF "$(HXX27TARGET)"!=""
+HXX27TARGETN=$(INCCOM)$/$(HXX27TARGET).$(HXX27EXT)
+HXX27 ?= TNR!:=27
+.ENDIF
+
+.IF "$(HXX28TARGET)"!=""
+HXX28TARGETN=$(INCCOM)$/$(HXX28TARGET).$(HXX28EXT)
+HXX28 ?= TNR!:=28
+.ENDIF
+
+.IF "$(HXX29TARGET)"!=""
+HXX29TARGETN=$(INCCOM)$/$(HXX29TARGET).$(HXX29EXT)
+HXX29 ?= TNR!:=29
+.ENDIF
+
+.IF "$(HXX30TARGET)"!=""
+HXX30TARGETN=$(INCCOM)$/$(HXX30TARGET).$(HXX30EXT)
+HXX30 ?= TNR!:=30
+.ENDIF
+
+.IF "$(HXX31TARGET)"!=""
+HXX31TARGETN=$(INCCOM)$/$(HXX31TARGET).$(HXX31EXT)
+HXX31 ?= TNR!:=31
+.ENDIF
+
+.IF "$(HXX32TARGET)"!=""
+HXX32TARGETN=$(INCCOM)$/$(HXX32TARGET).$(HXX32EXT)
+HXX32 ?= TNR!:=32
+.ENDIF
+
+.IF "$(HXX33TARGET)"!=""
+HXX33TARGETN=$(INCCOM)$/$(HXX33TARGET).$(HXX33EXT)
+HXX33 ?= TNR!:=33
+.ENDIF
+
+.IF "$(HXX34TARGET)"!=""
+HXX34TARGETN=$(INCCOM)$/$(HXX34TARGET).$(HXX34EXT)
+HXX34 ?= TNR!:=34
+.ENDIF
+
+.IF "$(HXX35TARGET)"!=""
+HXX35TARGETN=$(INCCOM)$/$(HXX35TARGET).$(HXX35EXT)
+HXX35 ?= TNR!:=35
+.ENDIF
+
+.IF "$(HXX36TARGET)"!=""
+HXX36TARGETN=$(INCCOM)$/$(HXX36TARGET).$(HXX36EXT)
+HXX36 ?= TNR!:=36
+.ENDIF
+
+.IF "$(HXX37TARGET)"!=""
+HXX37TARGETN=$(INCCOM)$/$(HXX37TARGET).$(HXX37EXT)
+HXX37 ?= TNR!:=37
+.ENDIF
+
+.IF "$(HXX38TARGET)"!=""
+HXX38TARGETN=$(INCCOM)$/$(HXX38TARGET).$(HXX38EXT)
+HXX38 ?= TNR!:=38
+.ENDIF
+
+.IF "$(HXX39TARGET)"!=""
+HXX39TARGETN=$(INCCOM)$/$(HXX39TARGET).$(HXX39EXT)
+HXX39 ?= TNR!:=39
+.ENDIF
+
+
+.IF "$(HXXCOPYFILES)" != ""
+HXXCOPYTARGET= copy_hxxcopyfiles
+.ENDIF
+
+.IF "$(IMGLST_SRS)"!=""
+.IF "$(NO_REC_RES)"==""
+IMGLSTTARGET=$(MISCX)$/$(TARGET)_img.don
+.ELSE
+.IF "$(make_srs_deps)"==""
+.IF "$(common_build_reslib)"!=""
+IMGLSTTARGET=$(foreach,i,$(alllangext) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(TARGET)_img$i.don)
+.ELSE # "$(common_build_reslib)"!=""
+IMGLSTTARGET=$(foreach,i,$(alllangext) $(MISC)$/$(TARGET)_img$i.don)
+.ENDIF # "$(common_build_reslib)"!=""
+.ENDIF # "$(make_srs_deps)"==""
+.ENDIF # "$(NO_REC_RES)"==""
+.ENDIF # "$(IMGLST_SRS)"!=""
+
+.IF "$(LIB1TARGET)" != ""
+LIB1 ?= TNR!:=1
+LIB1TARGETN=$(LIB1TARGET)
+.ENDIF
+
+.IF "$(LIB2TARGET)" != ""
+LIB2 ?= TNR!:=2
+LIB2TARGETN=$(LIB2TARGET)
+.ENDIF
+
+.IF "$(LIB3TARGET)" != ""
+LIB3 ?= TNR!:=3
+LIB3TARGETN=$(LIB3TARGET)
+.ENDIF
+
+.IF "$(LIB4TARGET)" != ""
+LIB4 ?= TNR!:=4
+LIB4TARGETN=$(LIB4TARGET)
+.ENDIF
+
+.IF "$(LIB5TARGET)" != ""
+LIB5 ?= TNR!:=5
+LIB5TARGETN=$(LIB5TARGET)
+.ENDIF
+
+.IF "$(LIB6TARGET)" != ""
+LIB6 ?= TNR!:=6
+LIB6TARGETN=$(LIB6TARGET)
+.ENDIF
+
+.IF "$(LIB7TARGET)" != ""
+LIB7 ?= TNR!:=7
+LIB7TARGETN=$(LIB7TARGET)
+.ENDIF
+
+.IF "$(LIB8TARGET)" != ""
+LIB8 ?= TNR!:=8
+LIB8TARGETN=$(LIB8TARGET)
+.ENDIF
+
+.IF "$(LIB9TARGET)" != ""
+LIB9 ?= TNR!:=9
+LIB9TARGETN=$(LIB9TARGET)
+.ENDIF
+
+.IF "$(RESLIB1NAME)" != ""
+RESLIB1 ?= TNR!:=1
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB1TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB1NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB1TARGETN=$(BIN)$/$(RESLIB1NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB1TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB1TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB1TARGETN=$(BIN)$/$(RESLIB1NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB1TARGETN=$(BIN)$/$(RESLIB1NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB2NAME)" != ""
+RESLIB2 ?= TNR!:=2
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB2TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB2NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB2TARGETN=$(BIN)$/$(RESLIB2NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB2TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB2TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB2TARGETN=$(BIN)$/$(RESLIB2NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB2TARGETN=$(BIN)$/$(RESLIB2NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB3NAME)" != ""
+RESLIB3 ?= TNR!:=3
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB3TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB3NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB3TARGETN=$(BIN)$/$(RESLIB3NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB3TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB3TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB3TARGETN=$(BIN)$/$(RESLIB3NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB3TARGETN=$(BIN)$/$(RESLIB3NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB4NAME)" != ""
+RESLIB4 ?= TNR!:=4
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB4TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB4NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB4TARGETN=$(BIN)$/$(RESLIB4NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB4TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB4TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB4TARGETN=$(BIN)$/$(RESLIB4NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB4TARGETN=$(BIN)$/$(RESLIB4NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB5NAME)" != ""
+RESLIB5 ?= TNR!:=5
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB5TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB5NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB5TARGETN=$(BIN)$/$(RESLIB5NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB5TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB5TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB5TARGETN=$(BIN)$/$(RESLIB5NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB5TARGETN=$(BIN)$/$(RESLIB5NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB6NAME)" != ""
+RESLIB6 ?= TNR!:=6
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB6TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB6NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB6TARGETN=$(BIN)$/$(RESLIB6NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB6TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB6TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB6TARGETN=$(BIN)$/$(RESLIB6NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB6TARGETN=$(BIN)$/$(RESLIB6NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB7NAME)" != ""
+RESLIB7 ?= TNR!:=7
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB7TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB7NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB7TARGETN=$(BIN)$/$(RESLIB7NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB7TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB7TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB7TARGETN=$(BIN)$/$(RESLIB7NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB7TARGETN=$(BIN)$/$(RESLIB7NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB8NAME)" != ""
+RESLIB8 ?= TNR!:=8
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB8TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB8NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB8TARGETN=$(BIN)$/$(RESLIB8NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB8TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB8TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB8TARGETN=$(BIN)$/$(RESLIB8NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB8TARGETN=$(BIN)$/$(RESLIB8NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(RESLIB9NAME)" != ""
+RESLIB9 ?= TNR!:=9
+.IF "$(VCL)" != ""
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+RESLIB9TARGETN=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB9NAME)$(UPD)LANGEXT.res
+.ELSE # "$(common_build_reslib)"!=""
+RESLIB9TARGETN=$(BIN)$/$(RESLIB9NAME)$(UPD)LANGEXT.res
+.ENDIF # "$(common_build_reslib)"!=""
+RESLIB9TARGETN!:=$(foreach,i,$(alllangext) $(RESLIB9TARGETN:s/LANGEXT/$i/))
+.ELSE # "$(NO_REC_RES)"!=""
+RESLIB9TARGETN=$(BIN)$/$(RESLIB9NAME)$(UPD)$(LANGEXT).res
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE
+RESLIB9TARGETN=$(BIN)$/$(RESLIB9NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+.ENDIF
+
+.IF "$(INDPRESLIB1NAME)"!=""
+INDPRESLIB1TARGETN=$(BIN)$/$(INDPRESLIB1NAME).dll
+.ENDIF
+
+.IF "$(RESLIBSPLIT1NAME)"!=""
+RESLIBSPLIT1TARGETN=$(BIN)$/$(RESLIBSPLIT1NAME)$(UPD)$(LANGEXT).dll
+.ENDIF
+
+.IF "$(DEF1NAME)"!=""
+DEF1TARGETN=$(MISC)$/$(DEF1NAME).def
+DEF1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(DEF2NAME)"!=""
+DEF2TARGETN=$(MISC)$/$(DEF2NAME).def
+DEF2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(DEF3NAME)"!=""
+DEF3TARGETN=$(MISC)$/$(DEF3NAME).def
+DEF3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(DEF4NAME)"!=""
+DEF4TARGETN=$(MISC)$/$(DEF4NAME).def
+DEF4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(DEF5NAME)"!=""
+DEF5TARGETN=$(MISC)$/$(DEF5NAME).def
+DEF5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(DEF6NAME)"!=""
+DEF6TARGETN=$(MISC)$/$(DEF6NAME).def
+DEF6 ?= TNR!:=6
+.ENDIF
+
+# MISCX fuer NO_REC_RES hier unkritisch
+.IF "$(IDLNAME)"!=""
+IDLTARGET=$(MISCX)$/$(IDLNAME).don
+IDL0 ?= TNR!:=
+.ENDIF
+
+.IF "$(IDL1NAME)"!=""
+
+IDL1TARGET=$(MISCX)$/$(IDL1NAME).don
+IDL1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(IDL2NAME)"!=""
+IDL2TARGET=$(MISCX)$/$(IDL2NAME).don
+IDL2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(IDL3NAME)"!=""
+IDL3TARGET=$(MISCX)$/$(IDL3NAME).don
+IDL3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(IDL4NAME)"!=""
+IDL4TARGET=$(MISCX)$/$(IDL4NAME).don
+IDL4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(IDL5NAME)"!=""
+IDL5TARGET=$(MISCX)$/$(IDL5NAME).don
+IDL5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(SDINAME)"!=""
+.DIRCACHE=no
+SDITARGET=$(MISCX)$/$(SDINAME).don
+SDI0 ?= TNR!:=
+.ENDIF
+
+.IF "$(SDI1NAME)"!=""
+.DIRCACHE=no
+SDI1TARGET=$(MISCX)$/$(SDI1NAME).don
+SDI1 ?= TNR!:=1
+.ENDIF
+
+.IF "$(SDI2NAME)"!=""
+.DIRCACHE=no
+SDI2TARGET=$(MISCX)$/$(SDI2NAME).don
+SDI2 ?= TNR!:=2
+.ENDIF
+
+.IF "$(SDI3NAME)"!=""
+.DIRCACHE=no
+SDI3TARGET=$(MISCX)$/$(SDI3NAME).don
+SDI3 ?= TNR!:=3
+.ENDIF
+
+.IF "$(SDI4NAME)"!=""
+.DIRCACHE=no
+SDI4TARGET=$(MISCX)$/$(SDI4NAME).don
+SDI4 ?= TNR!:=4
+.ENDIF
+
+.IF "$(SDI5NAME)"!=""
+.DIRCACHE=no
+SDI5TARGET=$(MISCX)$/$(SDI5NAME).don
+SDI5 ?= TNR!:=5
+.ENDIF
+
+.IF "$(XMLPROPERTIES)"!=""
+XMLPROPERTIESN:=$(foreach,i,$(XMLPROPERTIES) $(MISC)$/$(TARGET)_$(i:s/.xrb/.done/))
+.ENDIF # "$(XMLPROPERTIES)"!=""
+
+.IF "$(IDLFILES)"!=""
+.IF "$(TF_PACKAGES)"!=""
+.IF "$(NODEFAULTUNO)"==""
+UNOIDLDEPTARGETS+=$(MISC)$/$(TARGET).dp1
+.ENDIF
+.IF "$(NOSMARTUNO)"==""
+.IF "$(s2u)"!=""
+UNOIDLDEPTARGETS+=$(MISC)$/$(TARGET).dp2
+.ENDIF # "$(s2u)"!=""
+.ENDIF # "$(NOSMARTUNO)"==""
+.IF "$(javauno)"!=""
+UNOIDLDEPTARGETS+=$(MISC)$/$(TARGET).dp3
+.ENDIF # "$(javauno)"!=""
+.ENDIF # "$(TF_PACKAGES)"!=""
+.ENDIF # "$(IDLFILES)"!=""
+
+.IF "$(JAVACLASSFILES:s/DEFINED//)"!="" || "$(javauno)"!=""
+TARGETDPJ=$(MISC)$/$(TARGET).dpj
+.ENDIF
+
+.IF "$(UPDATER)"=="YES"
+.IF "$(product)"!=""
+.IF "$(GEN_HID)"!=""
+.IF "$(no_hids)"==""
+.IF "$(GUI)"=="WNT"
+PRJHIDTARGET=$(MISC)$/$(PRJNAME).hid
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(linkinc)"!=""
+LINKINCTARGETS+=$(MISC)$/linkinc.ls
+.ENDIF
+
+.IF "$(OS2_SOLENV_INC)"!=""
+OS2_COPY_MK=do_copy_mk
+.ENDIF
+
+.IF "$(make_srs_deps)"==""
+.IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
+DPRTARGET= $(MISC)$/$(TARGET).dpr
+.ENDIF
+.ENDIF
+
+.IF "$(make_zip_deps)"==""
+.IF "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
+DPZTARGET= $(MISC)$/$(TARGET).dpz
+.ENDIF # "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
+.ENDIF # "$(make_zip_deps)"==""
+
+# -------
+# - DEF -
+# -------
+
+# bei MAKE...DIR die gleiche Reihenfolge wie in settings.mak einhalten!
+
+.IF "$(NO_REC_RES)"==""
+.IF "$(solarlang)" != "deut"
+MAKELANGDIR=makelang.dir
+.ENDIF
+.ENDIF
+
+.IF "$(lintit)"==""
+
+# $(NOOPTTARGET) $(EXCEPTIONSTARGET)
+
+ALLTAR: $(MAKELANGDIR) $(MAKEDEMODIR) $(MAKECOMPDIR) $(MAKEXLDIR) \
+ $(target_empty) \
+ $(OS2_COPY_MK) \
+ $(SUBDIRS) \
+ $(DELDEFS) \
+ $(YACCTARGET) \
+ $(UNOUCRTARGET) \
+ $(NOPCHTARGET) \
+ $(UNOIDLDEPTARGETS) \
+ $(URDTARGET) \
+ $(URDDOCTARGET) \
+ $(UNOIDLTARGETS) \
+ $(PROJECTPCHTARGET) \
+ $(ADDOPTTARGET) $(DELOPTTARGET) \
+ $(DPCTARGET) \
+ $(DPRTARGET) \
+ $(DPZTARGET) \
+ $(IDLTARGET) $(SDITARGET) \
+ $(UNODOCTARGET) \
+ $(LOCALDBTARGET) \
+ $(LOCALDOCDBTARGET) \
+ $(UNOIDLDBTARGET) \
+ $(UNOIDLDBDOCTARGET) \
+ $(COMP1RDBTARGETN) \
+ $(COMP2RDBTARGETN) \
+ $(COMP3RDBTARGETN) \
+ $(COMP4RDBTARGETN) \
+ $(COMP5RDBTARGETN) \
+ $(COMP6RDBTARGETN) \
+ $(COMP7RDBTARGETN) \
+ $(COMP8RDBTARGETN) \
+ $(COMP9RDBTARGETN) \
+ $(IDL1TARGET) $(IDL2TARGET) $(IDL3TARGET) \
+ $(IDL4TARGET) $(IDL5TARGET) \
+ $(SDI1TARGET) $(SDI2TARGET) $(SDI3TARGET) \
+ $(SDI4TARGET) $(SDI5TARGET) \
+ $(SHXXTARGETN) \
+ $(HXXALLTARGET) \
+ $(HXXCOPYTARGET) \
+ $(NOLIBOBJTARGET) \
+ $(NOLIBSLOTARGET) \
+ $(OTHERTARRGET) \
+ $(XMLPROPERTIESN) \
+ $(GENJAVAFILES) \
+ $(JAVATARGET) \
+ $(JAVACLASSFILES) $(JAVA1CLASSFILES) \
+ $(JAVA2CLASSFILES) $(JAVA3CLASSFILES) $(JAVA4CLASSFILES)\
+ $(JAVA5CLASSFILES) $(JAVA6CLASSFILES) $(JAVA7CLASSFILES)\
+ $(JAVA8CLASSFILES) $(JAVA9CLASSFILES) $(JAVA10CLASSFILES)\
+ $(JAVA11CLASSFILES) \
+ $(TARGETDPJ) \
+ $(OBJTARGET) $(SLOTARGET) $(SMRSLOTARGET) \
+ $(S2USLOTARGET) \
+ $(SVXLIGHTSLOTARGET) \
+ $(SVXLIGHTOBJTARGET) \
+ $($(SECOND_BUILD)SLOTARGET) \
+ $($(SECOND_BUILD)OBJTARGET) \
+ $(LIB1TARGET) $(LIB2TARGET) $(LIB3TARGET) \
+ $(LIB4TARGET) $(LIB5TARGET) $(LIB6TARGET) \
+ $(LIB7TARGET) $(LIB8TARGET) $(LIB9TARGET) \
+ $(DEF1TARGETN) $(DEF2TARGETN) $(DEF3TARGETN) \
+ $(DEF4TARGETN) $(DEF5TARGETN) $(DEF6TARGETN) \
+ $(RCTARGET) \
+ $(SHL1TARGETN) \
+ $(SHL2TARGETN) \
+ $(SHL3TARGETN) \
+ $(SHL4TARGETN) \
+ $(SHL5TARGETN) \
+ $(SHL6TARGETN) \
+ $(SHL7TARGETN) \
+ $(SHL8TARGETN) \
+ $(SHL9TARGETN) \
+ $(SHL1IMPLIBN) \
+ $(SHL2IMPLIBN) \
+ $(SHL3IMPLIBN) \
+ $(SHL4IMPLIBN) \
+ $(SHL5IMPLIBN) \
+ $(SHL6IMPLIBN) \
+ $(SHL7IMPLIBN) \
+ $(SHL8IMPLIBN) \
+ $(SHL9IMPLIBN) \
+ $(SCP_PRODUCT_TYPE) \
+ $(ALLPARFILES) \
+ $(SCP1TARGETN) \
+ $(SCP2TARGETN) \
+ $(SCP3TARGETN) \
+ $(SCP4TARGETN) \
+ $(SCP5TARGETN) \
+ $(SCP6TARGETN) \
+ $(SCP7TARGETN) \
+ $(SCP8TARGETN) \
+ $(SCP9TARGETN) \
+ $(APP1TARGETN) $(APP2TARGETN) $(APP3TARGETN) \
+ $(APP4TARGETN) $(APP5TARGETN) $(APP6TARGETN) \
+ $(APP7TARGETN) $(APP8TARGETN) $(APP9TARGETN) \
+ $(JARTARGETN) \
+ $(JARTARGETDEPN) \
+ $(SRCTARGET) $(SRSTARGET) \
+ $(SRC1TARGET) $(SRS1TARGET) \
+ $(SRC2TARGET) $(SRS2TARGET) \
+ $(SRC3TARGET) $(SRS3TARGET) \
+ $(SRC4TARGET) $(SRC5TARGET) $(SRC6TARGET) \
+ $(SRC7TARGET) $(SRC8TARGET) $(SRC9TARGET) \
+ $(SRC10TARGET) $(SRC11TARGET) $(SRC12TARGET) \
+ $(SRC13TARGET) $(SRC14TARGET) $(SRC15TARGET) \
+ $(SRC16TARGET) \
+ $(IMGLSTTARGET) \
+ $(INDPRESLIB1TARGETN) \
+ $(RESLIB1TARGETN) $(RESLIB2TARGETN) \
+ $(RESLIB3TARGETN) $(RESLIB4TARGETN) \
+ $(RESLIB5TARGETN) $(RESLIB6TARGETN) \
+ $(RESLIB7TARGETN) $(RESLIB8TARGETN) \
+ $(RESLIBSPLIT1TARGETN) $(RESLIBSPLIT2TARGETN)\
+ $(RESLIBSPLIT3TARGETN) $(RESLIBSPLIT4TARGETN)\
+ $(RESLIBSPLIT5TARGETN) $(RESLIBSPLIT6TARGETN)\
+ $(RESLIBSPLIT7TARGETN) \
+ $(PRJHIDTARGET) \
+ $(SIGNFORNETSCAPE) \
+ $(SIGNFOREXPLORER) \
+ last_target
+
+.IF "$(EXCEPTIONSNOOPT_FLAG)"==""
+TARGETDEPS+=$(EXCEPTIONSNOOPTTARGET)
+.ENDIF
+
+.IF "$(NOOPT_FLAG)"==""
+TARGETDEP+=$(NOOPTTARGET)
+.ENDIF
+
+.IF "$(EXCEPTIONS_FLAG)"==""
+TARGETDEPS+=$(EXCEPTIONSTARGET)
+.ENDIF
+
+.IF "$(ADDOPT_FLAG)"==""
+TARGETDEPS+=$(ADDOPTTARGET)
+.ENDIF
+
+.IF "$(ADDOPT_FLAG)$(EXCEPTIONSNOOPT_FLAG)$(EXCEPTIONS_FLAG)$(NOOPT_FLAG)"==""
+.TARGET .SEQUENTIAL : $(TARGETDEPS) $(ALLTAR);
+.ENDIF
+
+
+.IF "$(NO_REC_RES)"==""
+ALLTAR: \
+ make_all_current_resources
+.ENDIF
+
+
+.IF "$(GUI)"=="WNT"
+CPPUMAKERFLAGS*=-L
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(UNOTYPES)" != ""
+.IF "$(SINGLE_SHOT)"==""
+# makeing all in one
+.DIRCACHE=no
+.IF "$(INCPRE))"!=""
+MKDEPFLAGS+=-I:$(INCPRE)
+.ENDIF # "$(INCPRE))"!=""
+.IF "$(OBJFILES)"!=""
+$(OBJFILES) : $(UNOUCRHEADER)
+.ENDIF # "$(OBJFILES)"!=""
+.IF "$(SLOFILES)"!=""
+$(SLOFILES) : $(UNOUCRHEADER)
+.ENDIF # "$(SLOFILES)"!=""
+$(UNOUCRTARGET) : $(UNOUCRDEP)
+ +cppumaker @$(mktmp $(CPPUMAKERFLAGS) -B$(UNOUCRBASE) -O$(UNOUCROUT) $(UNOTYPES:^"-T") $(UNOUCRRDB))
+.ENDIF # "$(SINGLE_SHOT)" == ""
+.ENDIF # "$(UNOTYPES)" != ""
+
+last_target:
+ @+echo -------------
+
+.ELSE
+
+ALLTAR: $(OBJFILES) $(SLOFILES)
+
+.ENDIF
+
+.IF "$(SDINAME)"!=""
+$(OBJ)$/$(CINTERNAME).obj : $(SDITARGET)
+.ENDIF
+
+.IF "$(SDI1NAME)"!=""
+$(OBJ)$/$(CINTER1NAME).obj : $(SDI1TARGET)
+.ENDIF
+
+.IF "$(SDI2NAME)"!=""
+$(OBJ)$/$(CINTER2NAME).obj : $(SDI2TARGET)
+.ENDIF
+
+.IF "$(SDI3NAME)"!=""
+$(OBJ)$/$(CINTER3NAME).obj : $(SDI3TARGET)
+.ENDIF
+
+.IF "$(SDI4NAME)"!=""
+$(OBJ)$/$(CINTER4NAME).obj : $(SDI4TARGET)
+.ENDIF
+
+.IF "$(SDI5NAME)"!=""
+$(OBJ)$/$(CINTER5NAME).obj : $(SDI5TARGET)
+.ENDIF
+
+.IF "$(GENJAVAFILES)"!=""
+$(GENJAVAFILES) : $(RDB)
+$(JAVATARGET) : $(GENJAVAFILES)
+.ENDIF # "$(GENJAVAFILES)"!=""
+
+.IF "$(SUBDIRS)"!=""
+$(SUBDIRS) : $(SUBDIRSDEPS)
+.ENDIF "$(SUBDIRS)"!=""
+
+#mhtest:
+# @echo MYUNOIDLTARGETS : $(MYUNOIDLTARGETS) $(SLOFILES)
+# @echo MHMISC_ : $(UNOIDLTARGETS) $(IDLPACKAGE) xxxx $(_PACKAGE)
+# @+-echo #define SUPD "$(UPD)" >> ttt.mk
+
+.INCLUDE : tg_dir.mk
+
+.INCLUDE : tg_idl.mk
+
+
+.IF "$(TF_PACKAGES)"==""
+
+.IF "$(s2u)"!=""
+$(MISC)$/s2u_$(TARGET).don:
+ +-$(RM) $@
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) -Wb,c -OH$(INCCOM)$/$(PACKAGE:s/ttt/\/) $(DEPIDLFILES)
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINC) -Bs2u -P$(PACKAGE:s/ttt/\/) -OH$(INCCOM)$/$(PACKAGE) -OI$(MISC) $(SMRTARGETS:s/ttt/\/)
+ +-$(TOUCH) $@
+.ENDIF
+
+.ENDIF # "$(TF_PACKAGES)"==""
+
+.IF "$(GUI)$(UPDATER)"=="WNTYES"
+make_uno_doc:
+# +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bdoc -P..$/$(PRJNAME)$/$(IDLPACKAGE) -OH$(PRJ)$/..$/unodoc $(DOCIDLFILES)
+.ENDIF
+
+makedoc:
+ +-$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bdoc -P..$/$(PRJNAME)$/$(IDLPACKAGE) -OH$(PRJ)$/..$/unodoc $(DOCIDLFILES) $(IDLFILES)
+
+.IF "$(LOCALDBTARGET)"!=""
+$(LOCALDBTARGET) : $(URDFILES)
+ +-$(RM) $@
+ +regmerge $@ UCR @$(mktmp $(URDFILES))
+.ENDIF
+
+.IF "$(LOCALDOCDBTARGET)"!=""
+$(LOCALDOCDBTARGET) : $(URDDOCFILES)
+ +-$(RM) $@
+ +regmerge $@ UCR @$(mktmp $(URDDOCFILES))
+.ENDIF
+
+.IF "$(UNOIDLDBTARGET)"!=""
+$(UNOIDLDBTARGET) : $(UNOIDLDBFILES)
+ +-$(RM) $@
+ +regmerge $@ / @$(mktmp $(UNOIDLDBFILES))
+.IF "$(LOCALREGDB)"!=""
+ +regmerge $(LOCALREGDB) / $@
+.ENDIF
+.ENDIF # "$(UNOIDLDBTARGET)"!=""
+
+.IF "$(UNOIDLDBDOCTARGET)"!=""
+$(UNOIDLDBDOCTARGET) : $(UNOIDLDBDOCFILES)
+ +-$(RM) $@
+ +regmerge $@ / @$(mktmp $(UNOIDLDBDOCFILES))
+.IF "$(LOCALREGDB)"!=""
+ +regmerge $(LOCALREGDB) / $@
+.ENDIF
+.ENDIF # "$(UNOIDLDBDOCTARGET)"!=""
+
+.IF "$(SCP_PRODUCT_TYPE)"!=""
+$(SCP_PRODUCT_TYPE):
+ @+-$(MKDIRHIER) $(PAR)$/$@ >& $(NULLDEV)
+ @+-$(MKDIRHIER) $(BIN)$/$@ >& $(NULLDEV)
+
+.ENDIF # "$(PARFILES)"!=""
+
+.IF "$(IMGLSTTARGET)"!=""
+$(IMGLSTTARGET): $(IMGLST_SRS)
+ @+echo -----------------
+ @+echo Making Imagelists:
+ @+echo -----------------
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(NO_REC_RES)"==""
+ +bmp $(IMGLST_SRS) $(BMP_IN) $(BMP_OUT) $(solarlang)
+.ELSE
+.IF "$(common_build_reslib)"!=""
+ @-+$(MKDIR) $(RES)$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) >& $(NULLDEV)
+ @-+$(MKDIR) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) >& $(NULLDEV)
+ +bmp $(IMGLST_SRS) $(BMP_IN) $(BMP_OUT)$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) $(lang_{$(subst,$(TARGET)_img, $(@:b))}) -f $@
+ -+$(GNUCOPY) -pub $(RES)$/$(langext_{$(subst,$(TARGET)_img, $(@:b))})/* $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) >& $(NULLDEV)
+ +-$(RM) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))$/$(langext_{$(subst,$(TARGET)_img, $(@:b))})$/*.bmp~
+.ELSE # "$(common_build_reslib)"!=""
+ @-+$(MKDIR) $(RES)$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) >& $(NULLDEV)
+ +bmp $(IMGLST_SRS) $(BMP_IN) $(BMP_OUT)$/$(langext_{$(subst,$(TARGET)_img, $(@:b))}) $(lang_{$(subst,$(TARGET)_img, $(@:b))}) -f $@
+.ENDIF # "$(common_build_reslib)"!=""
+.ENDIF
+.IF "$(BMP_WRITES_FLAG)"==""
+ @+echo > $@
+.ENDIF
+.ENDIF
+
+.IF "$(XMLPROPERTIES)"!=""
+$(MISC)$/$(TARGET)_%.done : %.xrb
+ xmlex -i $< -o $(CLASSDIR) -g -d $@
+.ENDIF # "$(XMLPROPERTIES)"!=""
+
+.INCLUDE : tg_sdi.mk
+
+.IF "$(DEF1NAME)$(DEF2NAME)$(DEF3NAME)$(DEF4NAME)$(DEF5NAME)$(DEF6NAME)$(DEF7NAME)$(DEF8NAME)$(DEF9NAME)"!=""
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_def.mk
+.ELSE
+.INCLUDE : tg_def.mk
+.ENDIF
+.ENDIF
+
+# -------
+# - LIB -
+# -------
+
+.INCLUDE : tg_obj.mk
+
+# -------
+# - SLB -
+# -------
+
+.INCLUDE : tg_slo.mk
+
+# --------
+# - LIBS -
+# --------
+
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_lib.mk
+.ELSE
+.INCLUDE : tg_lib.mk
+.ENDIF
+
+#.INCLUDE : tg_lib.mk
+
+# -------
+# - SRS -
+# -------
+
+.INCLUDE : tg_srs.mk
+
+# -------
+# - RES -
+# -------
+
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : tg_res.mk
+.ELSE
+.INCLUDE : tg_res.mk
+.ENDIF
+
+# -------
+# - YXX -
+# -------
+
+.INCLUDE : tg_yxx.mk
+
+# -------
+# - APP -
+# -------
+
+#test:
+# echo test
+
+.IF "$(APP1TARGETN)$(APP2TARGETN)$(APP3TARGETN)$(APP4TARGETN)$(APP5TARGETN)$(APP6TARGETN)$(APP7TARGETN)$(APP8TARGETN)$(APP9TARGETN)"!=""
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_app.mk
+.ELSE
+.INCLUDE : tg_app.mk
+.ENDIF
+.ENDIF
+
+# -------
+# - SCP -
+# -------
+
+.IF "$(SCP1TARGETN)$(SCP2TARGETN)$(SCP3TARGETN)$(SCP4TARGETN)$(SCP5TARGETN)$(SCP6TARGETN)$(SCP7TARGETN)$(SCP8TARGETN)$(SCP9TARGETN)"!=""
+
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_scp.mk
+.ELSE
+.INCLUDE : tg_scp.mk
+.ENDIF
+.ENDIF
+
+# -------
+# - ZIP -
+# -------
+
+.IF "$(ZIP1TARGETN)$(ZIP2TARGETN)$(ZIP3TARGETN)$(ZIP4TARGETN)$(ZIP5TARGETN)$(ZIP6TARGETN)$(ZIP7TARGETN)$(ZIP8TARGETN)$(ZIP9TARGETN)"!=""
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_zip.mk
+.ELSE
+.INCLUDE : tg_zip.mk
+.ENDIF
+.ENDIF
+
+# -------
+# - RESLIBTARGET -
+# -------
+
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_rslb.mk
+.ELSE
+.INCLUDE : tg_rslb.mk
+.ENDIF
+
+# -------
+# - SHL -
+# -------
+
+.IF "$(MK_UNROLL)"!=""
+.INCLUDE : _tg_shl.mk
+.ELSE
+.INCLUDE : tg_shl.mk
+.ENDIF
+
+
+# -------
+# - HXX -
+# -------
+
+.INCLUDE : tg_hxx.mk
+
+
+# ------------------
+# - INCLUDE DEPEND -
+# ------------------
+
+.IF "$(MAKEFILERC)"==""
+.IF "$(CXXFILES)$(CFILES)$(RCFILES)$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(PARFILES)" != ""
+.INCLUDE : $(MISC)$/$(TARGET).dpc
+.IF "$(GROUP)"=="WRITER"
+.IF "$(debug)"!=""
+.IF "$(depend)"==""
+.INCLUDE : $(MISC)$/$(TARGET).dpw
+.ENDIF # "$(depend)"==""
+.ENDIF # "$(debug)"!=""
+.ENDIF # "$(GROUP)"=="WRITER"
+.ENDIF
+.ELSE # MAKEFILERC
+.ENDIF # MAKEFILERC
+
+.IF "$(make_srs_deps)"==""
+.IF "$(SRCFILES)" != "" || "$(SRC1FILES)" != "" || "$(SRC2FILES)" != ""
+.INCLUDE : $(MISC)$/$(TARGET).dpr
+.ENDIF
+.ENDIF
+
+.IF "$(make_zip_deps)"==""
+.IF "$(ZIP1TARGET)" != "" || "$(ZIP2TARGET)" != "" || "$(ZIP3TARGET)" != ""
+.INCLUDE : $(MISC)$/$(TARGET).dpz
+.ENDIF
+.ENDIF
+
+$(MISC)$/$(TARGET)genjava.mk: $(IDLFILES)
+
+.IF "$(IDLFILES)"!=""
+.IF "$(TF_PACKAGES)"!=""
+
+.IF "$(URD)"!=""
+
+$(URDTARGET) : $(DEPIDLFILES)
+ +$(UNOIDL) @$(mktmp -Wb,c $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -OH$(OUT)$/ucr$/$(IDLPACKAGE) $(DEPIDLFILES:+"\n"))
+ @+echo > $@
+
+.IF "$(URDDOC)"!=""
+
+$(URDDOCTARGET) : $(DEPIDLFILES)
+ @+-mkdir $(OUT)$/ucrdoc >& $(NULLDEV)
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(TF_PACKAGES_DEF) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Burd -OH$(OUT)$/ucrdoc$/$(IDLPACKAGE) $(DEPIDLFILES:+"\n"))
+ @+echo > $@
+.ENDIF # "$(URDDOC)"!=""
+.ENDIF # "$(URD)"!=""
+
+.IF "$(NODEFAULTUNO)"==""
+.INCLUDE : $(MISC)$/$(TARGET).dp1
+$(MISC)$/$(TARGET).dp1: $(IDLFILES)
+#makefile.mk
+.ENDIF
+
+# nosmart, but s2u ????
+#.IF "$(NOSMARTUNO)"==""
+.IF "$(s2u)"!=""
+.INCLUDE : $(MISC)$/$(TARGET).dp2
+$(MISC)$/$(TARGET).dp2: $(IDLFILES) $(foreach,i,$(IDLFILES:s/.idl/.smr/) $(MISC)$(SMARTPRE)$/$(IDLPACKAGE)$/$i)
+#makefile.mk
+.ENDIF # "$(s2u)"!=""
+#.ENDIF # "$(NOSMARTUNO)"==""
+
+.IF "$(javauno)"!=""
+$(MISC)$/$(TARGET)genjava.don: $(IDLFILES)
+# $(MISC)$/$(TARGET).dp3 : $(IDLFILES)
+.ENDIF # "$(javauno)"!=""
+
+
+.IF "$(javauno)"!=""
+.INCLUDE : $(MISC)$/$(TARGET).dp3
+$(MISC)$/$(TARGET).dp3 : $(IDLFILES)
+#makefile.mk
+
+JAVAFILES+=$(IDL_JAVA_FILES)
+JAVACLASSFILES+=$(subst,misc$/java,class $(IDL_JAVA_FILES:s/.java/.class/))
+JAVATARGET*=$(MISC)$/$(TARGET)_dummy.java
+
+.ENDIF # "$(javauno)"!=""
+
+.IF "$(NODEFAULTUNO)"==""
+# line moved
+#.INCLUDE : $(MISC)$/$(TARGET).dp1
+.IF "$(NOSMARTUNO)"==""
+CXXFILES+=$(IDL_SMART_CXX_FILES)
+.ELSE
+CXXFILES+=$(IDL_CPP_CXX_FILES)
+.ENDIF
+.ENDIF # "$(NODEFAULTUNO)"==""
+
+.IF "$(NOSMARTUNO)"==""
+.IF "$(s2u)"!=""
+# line moved
+#.INCLUDE : $(MISC)$/$(TARGET).dp2
+CXXFILES+=$(IDL_S2U_FILES)
+.ENDIF # "$(s2u)"!=""
+.ENDIF # "$(NOSMARTUNO)"==""
+.ENDIF # "$(TF_PACKAGES)"!=""
+.ENDIF # "$(IDLFILES)"!=""
+
+.IF "$(JAVACLASSFILES:s/DEFINED//)"!=""
+.INCLUDE .IGNORE : $(MISC)$/$(TARGET).dpj
+$(TARGETDPJ) : $(JAVAFILES) $(JAVATARGET)
+.ENDIF
+
+.INCLUDE : tg_jar.mk
+.INCLUDE : tg_jarsign.mk
+
+# ----------------------------------
+# - NOPCH - files ohne PCH -
+# ----------------------------------
+
+.IF "$(NOPCHTARGET)" != ""
+.IF "$(NOPCH_FLAG)" == ""
+$(NOPCHTARGET):
+ @+echo --- NOPCH ---
+ @dmake $(MFLAGS) PCHSLOFLAGSU= PCHOBJFLAGSU= $(NOPCHFILES) NOPCH_FLAG=TRUE $(CALLMACROS)
+.ENDIF
+.ENDIF
+
+# --------------------------------
+# - PROJECT pre compiled headers -
+# --------------------------------
+.IF "$(PROJECTPCHTARGET)"!=""
+$(PROJECTPCHTARGET): $(PROJECTPCHSOURCE).cxx
+.IF "$(COM)"=="MSC" || "(COM)"=="BLC"
+.IF "$(PROJECTPCH4DLL)" != ""
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(PCHSLOFLAGSC) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSOUTOBJ)$(SLO)$/$(PROJECTPCH).obj $(PROJECTPCHSOURCE).cxx
+.ELSE
+ $(CC) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(PCHOBJFLAGSC) $(CDEFS) $(CDEFSOBJ) $(CFLAGSOUTOBJ)$(OBJ)$/$(PROJECTPCH).obj $(PROJECTPCHSOURCE).cxx
+.ENDIF
+.ENDIF
+.ENDIF
+
+# ----------------------------------
+# - NOOPT - files ohne optimierung -
+# ----------------------------------
+
+.IF "$(NOOPTTARGET)" != ""
+.IF "$(NOOPT_FLAG)" == ""
+
+#$(SLOFILES) $(OBJFILES) $(IDLSLOFILES) $(IDLOBJFILES) $(S2USLOFILES) $(SMRSLOFILES) $(SVXLIGHTSLOFILES) $(SVXLIGHTOBJFILES) $($(SECOND_BUILD)SLOFILES) $($(SECOND_BUILD)OBJFILES) : $(NOOPTTARGET)
+
+$(NOOPTTARGET):
+ @+echo --- NOOPTFILES ---
+ @dmake $(MFLAGS) nopt=true $(NOOPTFILES) NOOPT_FLAG=TRUE $(CALLMACROS)
+ @+echo --- NOOPTFILES OVER ---
+
+$(NOOPTFILES):
+ @+echo --- NOOPT ---
+ @dmake $(MFLAGS) nopt=true NOOPT_FLAG=TRUE $(CALLMACROS) $@
+ @+echo --- NOOPT OVER ---
+.ENDIF
+.ENDIF
+
+
+# ----------------------------------
+# - EXCEPTIONS - files mit exeptions -
+# ----------------------------------
+
+.IF "$(EXCEPTIONSTARGET)" != ""
+.IF "$(EXCEPTIONS_FLAG)" == ""
+
+#$(SLOFILES) $(OBJFILES) $(IDLSLOFILES) $(IDLOBJFILES) $(S2USLOFILES) $(SMRSLOFILES) $(SVXLIGHTSLOFILES) $(SVXLIGHTOBJFILES) $($(SECOND_BUILD)SLOFILES) $($(SECOND_BUILD)OBJFILES) : $(EXCEPTIONSTARGET)
+
+$(EXCEPTIONSTARGET):
+ @+echo --- EXCEPTIONSFILES ---
+ @dmake $(MFLAGS) ENABLE_EXCEPTIONS=true $(EXCEPTIONSFILES) EXCEPTIONS_FLAG=TRUE $(CALLMACROS)
+ @+echo --- EXCEPTIONSFILES OVER ---
+
+$(EXCEPTIONSFILES):
+ @+echo --- EXCEPTIONS ---
+ @dmake $(MFLAGS) ENABLE_EXCEPTIONS=true EXCEPTIONS_FLAG=TRUE $(CALLMACROS) $@
+ @+echo --- EXCEPTIONS OVER ---
+
+
+.ENDIF
+.ENDIF
+
+# ----------------------------------
+# - EXCEPTIONSNOOPT - files with exeptions, without optimisation -
+# ----------------------------------
+
+.IF "$(EXCEPTIONSNOOPTTARGET)" != ""
+.IF "$(EXCEPTIONSNOOPT_FLAG)" == ""
+
+#$(SLOFILES) $(OBJFILES) $(IDLSLOFILES) $(IDLOBJFILES) $(S2USLOFILES) $(SMRSLOFILES) $(SVXLIGHTSLOFILES) $(SVXLIGHTOBJFILES) $($(SECOND_BUILD)SLOFILES) $($(SECOND_BUILD)OBJFILES) : $(EXCEPTIONSTARGET)
+
+$(EXCEPTIONSNOOPTTARGET):
+ @+echo --- EXCEPTIONSNOOPTFILES ---
+ @dmake $(MFLAGS) ENABLE_EXCEPTIONS=true $(EXCEPTIONSNOOPTFILES) EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS)
+ @+echo --- EXCEPTIONSNOOPTFILES OVER ---
+
+$(EXCEPTIONSNOOPTFILES):
+ @+echo --- EXCEPTIONSNOOPT ---
+ @dmake $(MFLAGS) ENABLE_EXCEPTIONS=true EXCEPTIONSNOOPT_FLAG=TRUE nopt=true $(CALLMACROS) $@
+ @+echo --- EXCEPTIONSNOOPT OVER ---
+
+
+.ENDIF
+.ENDIF
+
+# ----------------------------------
+# - ADDOPT - files ohne optimierung -
+# ----------------------------------
+
+.IF "$(ADDOPTTARGET)" != ""
+.IF "$(ADDOPT_FLAG)" == ""
+
+#$(SLOFILES) $(OBJFILES) $(IDLSLOFILES) $(IDLOBJFILES) $(S2USLOFILES) $(SMRSLOFILES) $(SVXLIGHTSLOFILES) $(SVXLIGHTOBJFILES) : $(ADDOPTTIONSTARGET)
+
+$(ADDOPTTARGET):
+ @+echo --- ADDOPT ---
+.IF "$(WORK_STAMP)"!="SRV506"
+ @+echo no longer supported
+ force_dmake_to_error
+.ELSE
+ @dmake $(MFLAGS) add_cflags=$(add_cflags) add_cflagscxx=$(add_cflagscxx) addopt=true $(ADDOPTFILES) ADDOPT_FLAG=TRUE $(CALLMACROS)
+.ENDIF
+
+.ENDIF
+.ENDIF
+
+
+# ----------------------------------
+# - DELOPT - files ohne optimierung -
+# ----------------------------------
+
+.IF "$(DELOPTTARGET)" != ""
+.IF "$(DELOPT_FLAG)" == ""
+
+#$(SLOFILES) $(OBJFILES) $(IDLSLOFILES) $(IDLOBJFILES) $(S2USLOFILES) $(SMRSLOFILES) $(SVXLIGHTSLOFILES) $(SVXLIGHTOBJFILES) : $(DELOPTTIONSTARGET)
+
+$(DELOPTTARGET):
+ @+echo --- DELOPT ---
+.IF "$(WORK_STAMP)"!="SRV506"
+ @+echo no longer supported
+ force_dmake_to_error
+.ELSE
+ @dmake $(MFLAGS) delopt=true $(DELOPTFILES) DELOPT_FLAG=TRUE $(CALLMACROS)
+.ENDIF
+
+.ENDIF
+.ENDIF
+# ----------------------------------
+# - OTHER - alles wofuer rules da sind -
+# ----------------------------------
+
+OTHERTARGET : $(OTHER)
+
+# -------------------------
+# - diverse kill commands -
+# -------------------------
+
+$(TMP)\makedt.don:
+ @$(TOUCH) $(TMP)\makedt.don
+
+do_copy_mk .IGNORE .SILENT :
+ @+-$(MKDIR) $(OS2_SOLENV_INC) >& $(NULLDEV)
+ @+-$(MKDIR) $(OS2_SOLENV_INC)$/startup >& $(NULLDEV)
+ @+-$(MKDIR) $(OS2_SOLENV_INC)$/startup$/os2 >& $(NULLDEV)
+ @+-attrib -rs $(OS2_SOLENV_INC)$/*.mk >& $(NULLDEV)
+ @+-$(COPY) /u $(SOLARENV)$/inc$/*.mk $(OS2_SOLENV_INC) >& $(NULLDEV)
+ @+-$(COPY) /u $(SOLARENV)$/inc$/startup$/*.mk $(OS2_SOLENV_INC)$/startup >& $(NULLDEV)
+ @+-$(COPY) /u $(SOLARENV)$/inc$/startup$/os2$/*.mk $(OS2_SOLENV_INC)$/startup$/os2 >& $(NULLDEV)
+
+killbin:
+ @if exist $(BIN)\$(SHL1TARGET).dll @del $(BIN)\$(SHL1TARGET).dll
+ @if exist $(BIN)\$(SHL2TARGET).dll @del $(BIN)\$(SHL2TARGET).dll
+ @if exist $(BIN)\$(SHL3TARGET).dll @del $(BIN)\$(SHL3TARGET).dll
+ @if exist $(BIN)\$(SHL4TARGET).dll @del $(BIN)\$(SHL4TARGET).dll
+ @if exist $(BIN)\$(SHL5TARGET).dll @del $(BIN)\$(SHL5TARGET).dll
+ @if exist $(BIN)\$(SHL6TARGET).dll @del $(BIN)\$(SHL6TARGET).dll
+ @if exist $(BIN)\$(SHL7TARGET).dll @del $(BIN)\$(SHL7TARGET).dll
+ @if exist $(BIN)\$(APP1TARGET)$(EXECPOST) @del $(BIN)\$(APP1TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP2TARGET)$(EXECPOST) @del $(BIN)\$(APP2TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP3TARGET)$(EXECPOST) @del $(BIN)\$(APP3TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP4TARGET)$(EXECPOST) @del $(BIN)\$(APP4TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP5TARGET)$(EXECPOST) @del $(BIN)\$(APP5TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP6TARGET)$(EXECPOST) @del $(BIN)\$(APP6TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP7TARGET)$(EXECPOST) @del $(BIN)\$(APP7TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP8TARGET)$(EXECPOST) @del $(BIN)\$(APP8TARGET)$(EXECPOST)
+ @if exist $(BIN)\$(APP9TARGET)$(EXECPOST) @del $(BIN)\$(APP9TARGET)$(EXECPOST)
+
+killobj:
+.IF "$(SLOFILES)" != ""
+ +$(RM) $(SLOFILES)
+ +$(RM) $(SLOFILES:s/.obj/.o/)
+.ENDIF
+.IF "$(OBJFILES)" != ""
+ +$(RM) $(OBJFILES)
+ +$(RM) $(OBJFILES:s/.obj/.o/)
+.ENDIF
+ @+echo objects weg!
+
+killsrs:
+.IF "$(SRSFILES)" != ""
+ +$(RM) $(SRSFILES)
+.ENDIF
+ @+echo srsfiles weg!
+
+killres:
+.IF "$(RESFILES)" != ""
+ +$(RM) $(RESFILES)
+.ENDIF
+ @+echo res files weg!
+
+killdef:
+.IF "$(DEFTARGETN)" != ""
+ +$(RM) $(DEFTARGETN)
+.ENDIF
+ @+echo deffiles weg!
+
+SRCALLTARGET: \
+ $(OS2_COPY_MK) \
+ $(IDLTARGET) $(IDL1TARGET) $(IDL2TARGET) \
+ $(IDL3TARGET) $(IDL4TARGET) $(IDL5TARGET) \
+ $(SDITARGET) $(SDI1TARGET) $(SDI2TARGET) \
+ $(SDI3TARGET) $(SDI4TARGET) $(SDI5TARGET) \
+ $(SRCTARGET) $(SRSTARGET) \
+ $(SRC1TARGET) $(SRS1TARGET) \
+ $(SRC2TARGET) $(SRS2TARGET) \
+ $(SRC3TARGET) $(SRS3TARGET) $(RCTARGET) \
+ $(SRC4TARGET) $(SRC5TARGET) $(SRC6TARGET) \
+ $(SRC7TARGET) $(SRC8TARGET) $(SRC9TARGET) \
+ $(SRC10TARGET) $(SRC11TARGET) $(SRC12TARGET) \
+ $(SRC13TARGET) $(SRC14TARGET) $(SRC15TARGET) \
+ $(SRC16TARGET) \
+ $(IMGLSTTARGET)
+
+ZIPALLTARGET: \
+ $(ZIP1TARGETN) \
+ $(ZIP2TARGETN) \
+ $(ZIP3TARGETN) \
+ $(ZIP4TARGETN) \
+ $(ZIP5TARGETN) \
+ $(ZIP6TARGETN) \
+ $(ZIP7TARGETN) \
+ $(ZIP8TARGETN) \
+ $(ZIP9TARGETN)
+
+make_all_current_resources:
+.IF "$(NO_REC_RES)"==""
+.IF "$(UPDATER)"!=""
+.IF "$(profile)" == ""
+.IF "$(PRJNAME)"!="sm"
+.IF "$(RESLIB1TARGETN)$(RESLIB2TARGETN)$(RESLIB3TARGETN)$(RESLIB4TARGETN)$(RESLIB5TARGETN)$(RESLIB6TARGETN)$(RESLIB7TARGETN)$(RESLIB8TARGETN)$(RESLIB9TARGETN)$(RCFILES)$(IMGLSTTARGET)"!=""
+.IF "$(MULTI_RESLIB_FLAG)"==""
+.IF "$(RECURSIVE)"==""
+.IF "$(RES_ENUS)"!=""
+ @dmake solarlang=enus RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_ITAL)"!=""
+ @dmake solarlang=ital RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_SPAN)"!=""
+ @dmake solarlang=span RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_FREN)"!=""
+ @dmake solarlang=fren RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_DTCH)"!=""
+ @dmake solarlang=dtch RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_DAN)"!=""
+ @dmake solarlang=dan RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_SWED)"!=""
+ @dmake solarlang=swed RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_PORT)"!=""
+ @dmake solarlang=port RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_JAPN)"!=""
+ @dmake solarlang=japn RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_CHINSIM)"!=""
+ @dmake solarlang=chinsim RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_CHINTRAD)"!=""
+ @dmake solarlang=chintrad RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_RUSS)"!=""
+ @dmake solarlang=russ RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_POL)"!=""
+ @dmake solarlang=pol RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_ARAB)"!=""
+ @dmake solarlang=arab RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.IF "$(RES_TURK)"!=""
+ @dmake solarlang=turk RECURSIVE=TRUE $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+ @+echo . > $(NULLDEV)
+
+#temporary workaround for non-existing delzip in extras
+delzip:
+ +echo > $@
+
+$(MISC)$/helpids.don: $(HELPIDFILES)
+ @echo Making helpids:
+ @echo ---------------
+ @echo r:\bat\mkhids.btm $(PRJ)\$(INPATH)\misc\help.id $(HELPIDFILES)
+ rem @copy /uq r:\bat\mkhids.btm r:\bat\mkhids.bat
+ rem @r:\bat\mkhids.bat $(PRJ)\$(INPATH)\misc\help.id $(HELPIDFILES)
+ @$(TOUCH) $(MISC)\helpids.don
+
+.IF "$(depend)"==""
+$(MISC)$/$(TARGET).dpc : \
+ $(CXXFILES) $(CFILES) $(HXXFILES) $(RCFILES) \
+ $(SLOFILES) $(OBJFILES) $(DEPOBJFILES) \
+ $(ALLPARFILES)
+
+.IF "$(SVXLIGHT)"!=""
+$(MISC)$/$(TARGET).dpc : \
+ $(foreach,i,$(SVXLIGHTSLOFILES) $(i:d)sxl_$(i:f)) \
+ $(foreach,i,$(SVXLIGHTOBJFILES) $(i:d)sxl_$(i:f))
+.ENDIF
+.IF "$(SECOND_BUILD)"!=""
+$(MISC)$/$(TARGET).dpc : \
+ $(foreach,i,$($(SECOND_BUILD)SLOFILES) $(i:d)$(SECOND_BUILD)_$(i:f)) \
+ $(foreach,i,$($(SECOND_BUILD)OBJFILES) $(i:d)$(SECOND_BUILD)_$(i:f))
+.ENDIF
+.ENDIF
+
+.IF "$(make_srs_deps)"==""
+$(MISC)$/$(TARGET).dpr : $(SRCFILES) $(SRC1FILES) $(SRC2FILES) $(SRC3FILES)
+.ENDIF
+
+.IF "$(make_zip_deps)"==""
+$(MISC)$/$(TARGET).dpz : $(ZIP1TARGETN) $(ZIP2TARGETN) $(ZIP3TARGETN) $(ZIP4TARGETN) $(ZIP5TARGETN) $(ZIP6TARGETN) $(ZIP7TARGETN) $(ZIP8TARGETN) $(ZIP9TARGETN)
+.ENDIF
+
+.IF "$(MAKEFILERC)"==""
+warn_target_empty:
+ @+echo *
+ @+echo * error $$(TARGET) is empty - this will cause problems
+ @+echo *
+ force_dmake_to_error
+.ELSE
+warn_target_empty:
+ @+echo generated makefile.rc detected
+.ENDIF
+
+$(MISC)$/$(TARGET)genjava.mk: # $(IDLFILES)
+ @+echo *
+ @+echo *
+ @+echo * bitte aendern - HJS
+ @+echo *
+ @+echo *
+ @-+$(RM) $@
+.IF "$(SOLAR_JAVA)"!=""
+ @+-$(RM) this.is.a.dummy.java
+ @+-$(TOUCH) this.is.a.dummy.java
+ +$(UNOIDL) $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bjava -P$(PRJNAME) -OH$(MISC)$/java $(IDLFILES)
+.IF "$(GUI)"=="UNX"
+ @+echo JAVAFILES+= \\ > $@
+ find $(MISC)$/java -type f | awk -f ./nodollar.awk >> $@
+ @+echo "" >> $@
+.ELSE
+ @+echo JAVAFILES+= \ > $@
+ @+dir /hbsa:-d $(MISC)$/java | gawk '!/.*[!$$].*/ { print $$0 " \\" }' >> $@
+ @+echo this.is.a.dummy.java >> $@
+.ENDIF
+ dmake BUILDJAVA=t $(MFLAGS) $(CALLMACROS)
+ @+-$(RM) this.is.a.dummy.java
+.ELSE
+ @+-$(TOUCH) $@
+ dmake BUILDJAVA=t $(MFLAGS) $(CALLMACROS)
+.ENDIF
+
+.IF "$(IDLFILES)"!=""
+.IF "$(javauno)"!=""
+$(JAVACLASSFILES) : $(JAVAFILES)
+$(JAVAFILES) : $(MISC)$/$(TARGET)genjava.don
+
+$(MISC)$/$(TARGET)genjava.don :
+ @-+$(RM) $@
+.IF "$(SOLAR_JAVA)"!=""
+ +$(UNOIDL) @$(mktmp $(UNOIDLDEFS) $(UNOIDLINCEXTRA) $(UNOIDLINC) -Bjava -P$(PRJNAME) -OH$(MISC)$/java $(DEPIDLFILES))
+.ELSE
+ @+echo SOLAR_JAVA nicht gesetzt
+.ENDIF
+ @+-$(TOUCH) $@
+.ENDIF
+.ENDIF
+
+.IF "$(UNOTYPES)" != ""
+UNOUCRDEPxxx : $(UNOUCRDEP);
+.ENDIF # "$(UNOTYPES)" != ""
+
+$(MISC)$/$(PRJNAME).hid : $(RESLIB1SRSFILES)
+ @echo Making $@ :
+ @echo ---------------
+ @+if exist $@ del $@
+ @$(TOUCH) $@
+ @+if exist $(SRS)\*.hid type $(SRS)\*.hid >> $@
+ @+if exist $(MISC)\*.lst r:\bat\slothid.bat $(MISC)\*.lst $@ $(INPATH)
+
+.IF "$(linkinc)"!=""
+.IF "$(GUI)"=="WNT"
+$(MISC)$/linkinc.ls:
+ +sed -f r:\bat\chrel.sed $(MISC)$/*.lin >> $@
+.ENDIF
+.ELSE
+$(MISC)$/linkinc.ls:
+ echo . > $@
+.ENDIF
+
+
+.INCLUDE : tg_java.mk
+
+$(MISC)\$(TARGET).lck:
+ @vlog -BL *.??v > $(MISC)\$(TARGET).lck
+
+.IF "$(COM)"=="WTC"
+libr:
+.ENDIF
+
+# dependencies from *.lng to par-files, this dependency is to much
+# but better than nothing
+.IF "$(PARFILES)"!=""
+$(ALLPARFILES): $(LNGFILES)
+.ENDIF
+
+wordcount:
+ +wc *.* >> $(TMP)$/wc.lst
+
+.IF "$(SUBDIRS)"!=""
+.IF "$(mk_tmp)$(BSCLIENT)"!=""
+$(SUBDIRS) .PHONY :
+ @+echo ignoring SUBDIRS
+
+.ELSE
+#.IF "$(PRJNAME)"!="sw"
+.IF "$(GUI)"!="UNX"
+$(SUBDIRS) .PHONY :
+ @[
+ cd $@
+ cd
+ @$(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
+ ]
+.ELSE
+$(SUBDIRS) .PHONY :
+ +cd $@; $(MAKECMD) subdmake=true $(MFLAGS) $(CALLMACROS)
+.ENDIF
+#.ENDIF
+.ENDIF
+.ENDIF
+
+.ELSE
+
+# ----------
+# - DEPEND -
+# ----------
+
+ALLTAR : ALLDEP
+
+.INCLUDE : tg_dep.mk
+
+.ENDIF
+
diff --git a/solenv/inc/tg_app.mk b/solenv/inc/tg_app.mk
new file mode 100644
index 000000000000..92c631be16f1
--- /dev/null
+++ b/solenv/inc/tg_app.mk
@@ -0,0 +1,194 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_app.mk $
+#*
+#* Ersterstellung XX TT.MM.JJ
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_app.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+.IF "$(MULTI_APP_FLAG)" == ""
+$(APP1TARGETN) .NULL : APP1
+
+$(APP2TARGETN) .NULL : APP2
+
+$(APP3TARGETN) .NULL : APP3
+
+$(APP4TARGETN) .NULL : APP4
+
+$(APP5TARGETN) .NULL : APP5
+
+$(APP6TARGETN) .NULL : APP6
+
+$(APP7TARGETN) .NULL : APP7
+
+$(APP8TARGETN) .NULL : APP8
+
+$(APP9TARGETN) .NULL : APP9
+
+.ENDIF
+
+.IF "$(MULTI_APP_FLAG)"==""
+APP1 APP2 APP3 APP4 APP5 APP6 APP7 APP8 APP9 :
+.IF "$(GUI)" == "UNX"
+ @echo $(SHELL) AUSE $(COMSPEC) MARTIN $(SHELLFLAGS)
+.ENDIF
+ +@dmake $(APP$(TNR)TARGETN) MULTI_APP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(APP$(TNR)LINKTYPE)" != ""
+#darf nur STATIC oder SHARED sein
+APP_LINKTYPE=$(APPLINK$(APP$(TNR)LINKTYPE))
+.ENDIF
+
+.IF "$(APP$(TNR)STACK)" != ""
+.IF "$(LINKFLAGSTACK)" != ""
+APP$(TNR)STACKN=$(LINKFLAGSTACK)$(APP$(TNR)STACK)
+.ENDIF
+.ELSE
+APP$(TNR)STACKN=
+.ENDIF
+.IF "$(VCL)" != ""
+.IF "$(APP$(TNR)NOSAL)"==""
+.IF "$(TARGETTYPE)" == "GUI"
+APP$(TNR)OBJS+= $(STDOBJVCL)
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)" != "WNT" || "$(GUI)$(COM)"=="WNTBLC"
+USE_APP$(TNR)DEF=$(APP$(TNR)DEF)
+.ELSE
+USE_APP$(TNR)DEF=
+.ENDIF
+
+.IF "$(GUI)" == "UNX"
+APP$(TNR)DEPN=
+USE_APP$(TNR)DEF=
+.ENDIF
+
+.IF "$(APP$(TNR)TARGETN)"!=""
+$(APP$(TNR)TARGETN): $(APP$(TNR)OBJS) $(APP$(TNR)LIBS) \
+ $(APP$(TNR)RES) \
+ $(APP$(TNR)ICON) $(APP$(TNR)DEPN) $(USE_APP$(TNR)DEF)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+ @+echo unx
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) -L$(PRJ)$/$(INPATH)$/lib $(SOLARLIB) $(STDSLO) \
+ -o $@ $(APP$(TNR)OBJS:s/.obj/.o/)\
+ `cat /dev/null $(APP$(TNR)LIBS) | sed s#$(ROUT)#$(OUT)#g` \
+ $(APP_LINKTYPE) $(APP$(TNR)STDLIBS) $(STDLIB) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @source $(MISC)$/$(@:b).cmd
+ @ls -l $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM $@.idb
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSAPP) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(APP$(TNR)OBJS) `cat /dev/null $(APP$(TNR)LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(APP$(TNR)STDLIBS) $(APP$(TNR)ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+
+.IF "$(GUI)" == "WNT"
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(APP$(TNR)LINKRES)" != ""
+ @+-$(RM) $(MISC)$/$(APP$(TNR)LINKRES:b).rc >& $(NULLDEV)
+.IF "$(APP$(TNR)ICON)" != ""
+ @-+echo 1 ICON $(APP$(TNR)ICON) >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
+.ENDIF
+.IF "$(APP$(TNR)VERINFO)" != ""
+ @-+echo #include "$(APP$(TNR)VERINFO)" >> $(MISC)$/$(APP$(TNR)LINKRES:b).rc
+.ENDIF
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(APP$(TNR)LINKRES:b).rc
+.ENDIF # "$(APP$(TNR)LINKRES)" != ""
+.IF "$(linkinc)" == ""
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP$(TNR)BASEX) \
+ $(APP$(TNR)STACKN) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ $(STDOBJ) \
+ $(APP$(TNR)LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP$(TNR)RES)) \
+ $(APP$(TNR)OBJS) \
+ $(APP$(TNR)LIBS) \
+ $(APP$(TNR)STDLIBS) \
+ $(STDLIB) \
+ )
+.ELSE
+ +-$(RM) $(MISC)\$(APP$(TNR)TARGET).lnk
+ +-$(RM) $(MISC)\$(APP$(TNR)TARGET).lst
+ +-$(RM) $(MISC)\linkobj.lst
+ +for %_i in ($(MISC)\*.obj) do type %_i >> $(MISC)\linkobj.lst
+ type $(mktmp,$(MISC)\$(APP$(TNR)TARGET).lst
+ $(LINKFLAGS) \
+ $(LINKFLAGSAPP) $(APP$(TNR)BASEX) \
+ $(APP$(TNR)STACKN) \
+ -out:$@ \
+ $(STDOBJ) \
+ $(APP$(TNR)LINKRES) \
+ $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP$(TNR)RES)) \
+ $(APP$(TNR)OBJS) \
+ $(APP$(TNR)LIBS) \
+ $(APP$(TNR)STDLIBS) \
+ $(STDLIB))
+ sed -e 's/\(\.\.\\\)\{2,4\}/..\\/g' $(MISC)\linkobj.lst >> $(MISC)\$(APP$(TNR)TARGET).lst
+ +if exist $(MISC)\$(APP$(TNR)TARGET).lst type $(MISC)\$(APP$(TNR)TARGET).lst >> $(MISC)\$(APP$(TNR)TARGET).lnk
+ $(LINK) @$(MISC)\$(APP$(TNR)TARGET).lnk
+.ENDIF # "$(linkinc)" == ""
+
+.IF "$(APP$(TNR)TARGET)" == "loader"
+ +perl5 loader.pl $@
+ +$(COPY) /b $(@)+$(@:d)unloader.exe $(@:d)_new.exe
+ +$(RM) $@
+ +$(RENAME) $(@:d)_new.exe $(@:d)loader.exe
+.ENDIF # "$(TARGET)" == "setup"
+
+.ENDIF # "$(GUI)" == "WNT"
+
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSAPP) $(APP$(TNR)STACKN) $(STDOBJ) $(APP$(TNR)OBJS), $@, $(MISC)\$(APP$(TNR)TARGET).map, $(APP$(TNR)LIBS) $(APP$(TNR)STDLIBS) $(STDLIB), $(APP$(TNR)DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ELSE
+ @+echo ------------------------
+ @+echo No valid Environment!!!
+ @+echo ------------------------
+ force_dmake_to_error
+.ENDIF # "$(COM)"=="BLC"
+.IF "$(TARGETTYPE)" == "GUI"
+.IF "$(APP$(TNR)RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(subst,$/res$/,$/res{$(subst,$(BIN), $(@:d))} $(APP$(TNR)RES)) $@
+.ELSE
+ $(RCSETVERSION)
+.ENDIF
+.IF "$(MAPSYM)" != ""
+ mapfix $(MISC)\$(@B).map
+ $(MAPSYM) $(MAPSYMFLAGS) $(MISC)\$(APP$(TNR)TARGET).map
+ @copy $(APP$(TNR)TARGET).sym $(BIN)\$(APP$(TNR)TARGET).sym
+ @del $(APP$(TNR)TARGET).sym
+.ENDIF # "$(MAPSYM)" != ""
+.ENDIF # "$(TARGETTYPE)" == "GUI"
+.ENDIF # "$(GUI)" == "WIN"
+
+.ENDIF # "$(APP$(TNR)TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_APP_FLAG)"==""
diff --git a/solenv/inc/tg_def.mk b/solenv/inc/tg_def.mk
new file mode 100644
index 000000000000..0666e4e3c57e
--- /dev/null
+++ b/solenv/inc/tg_def.mk
@@ -0,0 +1,508 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_def.mk $
+#*
+#* Ersterstellung XX TT.MM.JJ
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_def.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+
+# -------
+# - DEF -
+# -------
+.IF "$(MULTI_DEF_FLAG)" == ""
+$(DEF1TARGETN) .NULL : DEF1
+
+$(DEF2TARGETN) .NULL : DEF2
+
+$(DEF3TARGETN) .NULL : DEF3
+
+$(DEF4TARGETN) .NULL : DEF4
+
+$(DEF5TARGETN) .NULL : DEF5
+
+$(DEF6TARGETN) .NULL : DEF6
+
+$(DEF7TARGETN) .NULL : DEF7
+
+$(DEF8TARGETN) .NULL : DEF8
+
+$(DEF9TARGETN) .NULL : DEF9
+.ENDIF
+
+
+
+.IF "$(MULTI_DEF_FLAG)"==""
+DEF1 DEF2 DEF3 DEF4 DEF5 DEF6 DEF7 DEF8 DEF9: \
+ $($@:+"DEPN")
+# $(SLB)$/$($(@:s/DEF/DEFLIB/:+"NAME")).lib
+.IF "$(GUI)"=="MAC"
+ @dmake "$(DEF$(TNR)TARGETN)" MULTI_DEF_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @dmake $(DEF$(TNR)TARGETN) MULTI_DEF_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE # "$(MULTI_DEF_FLAG)"==""
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(DEF$(TNR)TARGETN)"!=""
+
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+.IF "$(UPDATER)"!=""
+DEF$(TNR)DEPN+=$(SLB)$/$(DEFLIB$(TNR)NAME).lib
+.ENDIF # "$(UPDATER)"!=""
+.ENDIF
+
+.IF "$(GUI)"=="WIN"
+$(DEF$(TNR)TARGETN): \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(COM)" == "BLC"
+ @echo name $(BIN)$/$(SHL$(TNR)TARGET).dll >>$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF1DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo EXETYPE WINDOWS >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
+ @echo DATA PRELOAD MOVEABLE SINGLE >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+ +ldump -E2 -A -F$(MISC)\$(SHL$(TNR)TARGET).flt $(SLB)\$(DEFLIB$(TNR)NAME).lib >>$@
+ @echo WEP >>$@
+.ENDIF
+.ELSE # "$(COM)" == "BLC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF$(TNR)DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)$/$(SHL$(TNR)TARGET).dll >>$@
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+ +r:\solenv\wini\ldump -A -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt $(SHL$(TNR)LIBS) >>tmp.def
+ @+gawk -f r:\util\exp.awk tmp.def >>$@
+ @+-del tmp.def
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+.IF "$(DEF$(TNR)EXPORT1)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT1)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT2)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT2)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT3)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT3)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT4)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT4)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT5)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT5)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT6)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT6)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT7)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT7)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT8)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT8)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT9)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT9)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT10)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT10)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT11)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT11)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT12)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT12)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT13)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT13)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT14)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT14)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT15)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT15)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT16)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT16)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT17)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT17)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT18)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT18)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT19)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT19)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT20)"!=""
+ sed -e '/$(DEF$(TNR)EXPORT20)/d' $@ > $(MISC)\$(SHL$(TNR)TARGET).tmp
+ copy $(MISC)\$(SHL$(TNR)TARGET).tmp $@
+.ENDIF
+ @+if exist $(MISC)\$(SHL$(TNR)TARGET).tmp del $(MISC)\$(SHL$(TNR)TARGET).tmp
+.IF "$(DEF$(TNR)EXPORT1)"!=""
+ @echo $(DEF$(TNR)EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT2)"!=""
+ @echo $(DEF$(TNR)EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT3)"!=""
+ @echo $(DEF$(TNR)EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT4)"!=""
+ @echo $(DEF$(TNR)EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT5)"!=""
+ @echo $(DEF$(TNR)EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT6)"!=""
+ @echo $(DEF$(TNR)EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT7)"!=""
+ @echo $(DEF$(TNR)EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT8)"!=""
+ @echo $(DEF$(TNR)EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT9)"!=""
+ @echo $(DEF$(TNR)EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT10)"!=""
+ @echo $(DEF$(TNR)EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT11)"!=""
+ @echo $(DEF$(TNR)EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT12)"!=""
+ @echo $(DEF$(TNR)EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT13)"!=""
+ @echo $(DEF$(TNR)EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT14)"!=""
+ @echo $(DEF$(TNR)EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT15)"!=""
+ @echo $(DEF$(TNR)EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT16)"!=""
+ @echo $(DEF$(TNR)EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT17)"!=""
+ @echo $(DEF$(TNR)EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT18)"!=""
+ @echo $(DEF$(TNR)EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT19)"!=""
+ @echo $(DEF$(TNR)EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT20)"!=""
+ @echo $(DEF$(TNR)EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORTFILE)"!=""
+ $(TYPE) $(DEF$(TNR)EXPORTFILE) >> $@
+.ENDIF
+.IF "$(funcord)" != ""
+ if exist $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL$(TNR)TARGET).map $(TOUCH) shl$(TNR).don
+ if exist shl$(TNR).don echo FUNCTIONS >>$@
+ if exist shl$(TNR).don copy $(SRC_O)\$(UPD)\$(PRJNAME)\winmsci.siz\misc\$(SHL$(TNR)TARGET).map
+ if exist shl$(TNR).don (id2name $(SHL$(TNR)TARGET).map | ford - ..\inc\segdefs_.hxx >>$@ )
+ if exist shl$(TNR).don del shl$(TNR).don
+
+.ENDIF # "$(funcord)" != ""
+.ENDIF # "$(GUI)"=="WIN"
+
+.IF "$(GUI)"=="OS2"
+$(DEF$(TNR)TARGETN): \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+.IF "$(APP$(TNR)HEAP)"!=""
+ @echo NAME $(APP$(TNR)TARGET) WINDOWAPI >$@
+ @echo DESCRIPTION '$(APP$(TNR)DES) $(UPD)' >>$@
+.IF "$(COM)"!="BLC"
+ @echo STUB 'os2stub.exe' >>$@
+.ENDIF
+ @echo EXETYPE OS2 >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE >>$@
+ @echo HEAPSIZE $(APP$(TNR)HEAP) >>$@
+ @echo STACKSIZE $(APP$(TNR)STACK) >>$@
+.ELSE # "$(APP$(TNR)HEAP)"!=""
+.IF "$(COM)"!="WTC"
+ @echo LIBRARY $(SHL$(TNR)TARGET) INITINSTANCE TERMINSTANCE >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF$(TNR)DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo PROTMODE >>$@
+ @echo CODE LOADONCALL >>$@
+ @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEF$(TNR)EXPORT1)"!=""
+ @echo $(DEF$(TNR)EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT2)"!=""
+ @echo $(DEF$(TNR)EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT3)"!=""
+ @echo $(DEF$(TNR)EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT4)"!=""
+ @echo $(DEF$(TNR)EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT5)"!=""
+ @echo $(DEF$(TNR)EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT6)"!=""
+ @echo $(DEF$(TNR)EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT7)"!=""
+ @echo $(DEF$(TNR)EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT8)"!=""
+ @echo $(DEF$(TNR)EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT9)"!=""
+ @echo $(DEF$(TNR)EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT10)"!=""
+ @echo $(DEF$(TNR)EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT11)"!=""
+ @echo $(DEF$(TNR)EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT12)"!=""
+ @echo $(DEF$(TNR)EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT13)"!=""
+ @echo $(DEF$(TNR)EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT14)"!=""
+ @echo $(DEF$(TNR)EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT15)"!=""
+ @echo $(DEF$(TNR)EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT16)"!=""
+ @echo $(DEF$(TNR)EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT17)"!=""
+ @echo $(DEF$(TNR)EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT18)"!=""
+ @echo $(DEF$(TNR)EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT19)"!=""
+ @echo $(DEF$(TNR)EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT20)"!=""
+ @echo $(DEF$(TNR)EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORTFILE)"!=""
+ $(TYPE) $(DEF$(TNR)EXPORTFILE) >> $@
+.ENDIF
+.IF "$(COM)"=="ICC"
+.IF "$(COMEX)"=="3"
+ @cppfilt /b /p /p /n /o $(SLB)\$(DEFLIB$(TNR)NAME).lib >>tmp.cpf
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+.IF "$(DEF$(TNR)CEXP)"!=""
+ @$(LDUMP) -A $(DEF$(TNR)CEXP) -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF$(TNR)CEXP)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF$(TNR)CEXP)"!=""
+.ENDIF # "$(DEFLIB$(TNR)NAME)"!=""
+ @-+$(RM) tmp.cpf
+ @echo SEGMENTS >>$@
+ @echo __MSGSEG32 CLASS 'CODE' >>$@
+.ENDIF # "$(COMEX)"=="3"
+.ELSE # "$(COM)"=="ICC"
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+.IF "$(COM)"=="GCC"
+ cppfilt /b /p /n /o $(SLB)\$(DEFLIB$(TNR)NAME).lib >>tmp.cpf
+.IF "$(DEF$(TNR)CEXP)"!=""
+ $(LDUMP) -A $(DEF$(TNR)CEXP) -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt tmp.cpf >>$@
+.ELSE # "$(DEF$(TNR)CEXP)"!=""
+ $(LDUMP) -A -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt tmp.cpf >>$@
+.ENDIF # "$(DEF$(TNR)CEXP)"!=""
+.ELSE # "$(COM)"=="GCC"
+ @$(LDUMP) -E1 -A -F$(MISC)\$(SHL$(TNR)TARGET).flt $(SLB)\$(DEFLIB$(TNR)NAME).lib >>$@
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(DEFLIB$(TNR)NAME)"!=""
+.ENDIF # "$(COM)"=="ICC"
+.ELSE # "$(COM)"!="WTC"
+ @echo option DESCRIPTION 'StarView 3.00 $(DEF$(TNR)DES) $(UPD) $(UPDMINOR) ' >$@
+ @echo name $(BIN)\$(SHL$(TNR)TARGET).dll >>$@
+.IF "$(E2P)" != ""
+ @echo export e2_dll_begin_tag_.1 >>$@
+.ENDIF
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+ @$(LDUMP) -A -E1 -F$(MISC)\$(SHL$(TNR)TARGET).flt $(SHL$(TNR)LIBS) >>tmp.def
+ @$(AWK) -f s:\util\exp.awk tmp.def >>$@
+ @-+$(RM) tmp.def
+.ENDIF
+.ENDIF # "$(COM)"!="WTC"
+.ENDIF # "$(APP$(TNR)HEAP)"!=""
+.ENDIF # "$(GUI)"=="OS2"
+
+
+.IF "$(GUI)"=="WNT"
+.IF "$(APP$(TNR)HEAP)"==""
+.IF "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF$(TNR)TARGETN) : \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+.ELSE # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+$(DEF$(TNR)TARGETN) .PHONY : \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+.ENDIF # "$(UPDATER)"=="" || "$(solarlang)"!="deut" || "$(link_always)"==""
+ +-attrib -r defs\$(OUTPATH)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo LIBRARY $(SHL$(TNR)TARGET) >$@
+ @echo DESCRIPTION 'StarView 3.00 $(DEF$(TNR)DES) $(UPD) $(UPDMINOR)' >>$@
+ @echo DATA READ WRITE SHARED >>$@
+ @echo HEAPSIZE 0 >>$@
+ @echo EXPORTS >>$@
+# getversioninfo fuer alle!!
+ @echo GetVersionInfo >>$@
+.IF "$(DEFLIB$(TNR)NAME)"!=""
+ lib -EXTRACT:/ /OUT:$(SHL$(TNR)TARGET).exp $(SLB)\$(DEFLIB$(TNR)NAME).lib
+.IF "$(USE_LDUMP2)"=!""
+.IF "$(DEF$(TNR)CEXP)"!=""
+ @$(LDUMP2) -A $(DEF$(TNR)CEXP) -E 20 -F $(MISC)\$(SHL$(TNR)TARGET).flt $(SHL$(TNR)TARGET).exp >>$@
+.ELSE
+ @$(LDUMP2) -E 20 -F $(MISC)\$(SHL$(TNR)TARGET).flt $(SHL$(TNR)TARGET).exp >>$@
+.ENDIF
+.ELSE # "$(USE_LDUMP2)"=!""
+ @$(LDUMP) -E20 -F$(MISC)\$(SHL$(TNR)TARGET).flt $(SHL$(TNR)TARGET).exp >>$@
+.ENDIF # "$(USE_LDUMP2)"=!""
+ +-$(RM) $(SHL$(TNR)TARGET).exp
+.ENDIF # "$(DEFLIB$(TNR)NAME)"!=""
+.IF "$(DEF$(TNR)EXPORT1)"!=""
+ @echo $(DEF$(TNR)EXPORT1) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT2)"!=""
+ @echo $(DEF$(TNR)EXPORT2) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT3)"!=""
+ @echo $(DEF$(TNR)EXPORT3) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT4)"!=""
+ @echo $(DEF$(TNR)EXPORT4) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT5)"!=""
+ @echo $(DEF$(TNR)EXPORT5) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT6)"!=""
+ @echo $(DEF$(TNR)EXPORT6) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT7)"!=""
+ @echo $(DEF$(TNR)EXPORT7) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT8)"!=""
+ @echo $(DEF$(TNR)EXPORT8) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT9)"!=""
+ @echo $(DEF$(TNR)EXPORT9) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT10)"!=""
+ @echo $(DEF$(TNR)EXPORT10) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT11)"!=""
+ @echo $(DEF$(TNR)EXPORT11) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT12)"!=""
+ @echo $(DEF$(TNR)EXPORT12) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT13)"!=""
+ @echo $(DEF$(TNR)EXPORT13) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT14)"!=""
+ @echo $(DEF$(TNR)EXPORT14) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT15)"!=""
+ @echo $(DEF$(TNR)EXPORT15) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT16)"!=""
+ @echo $(DEF$(TNR)EXPORT16) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT17)"!=""
+ @echo $(DEF$(TNR)EXPORT17) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT18)"!=""
+ @echo $(DEF$(TNR)EXPORT18) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT19)"!=""
+ @echo $(DEF$(TNR)EXPORT19) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORT20)"!=""
+ @echo $(DEF$(TNR)EXPORT20) >>$@
+.ENDIF
+.IF "$(DEF$(TNR)EXPORTFILE)"!=""
+ $(TYPE) $(DEF$(TNR)EXPORTFILE) >> $@
+.ENDIF
+.ENDIF # "$(APP$(TNR)HEAP)"==""
+.ENDIF # "$(GUI)"=="WNT"
+
+.IF "$(GUI)"=="UNX"
+$(DEF$(TNR)TARGETN): \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer UNIX nur dummy
+ @echo > $@
+.ENDIF
+.IF "$(GUI)"=="MAC"
+$(DEF$(TNR)TARGETN): \
+ $(DEF$(TNR)DEPN) \
+ $(DEF$(TNR)EXPORTFILE)
+ @echo ------------------------------
+ @echo Making Module-Definitionfile : $@
+ @echo fuer MAC nur dummy
+ @echo > $@
+.ENDIF
+.ENDIF # "$(DEF$(TNR)TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_DEF_FLAG)"==""
+
diff --git a/solenv/inc/tg_dep.mk b/solenv/inc/tg_dep.mk
new file mode 100644
index 000000000000..2adec3fccdc6
--- /dev/null
+++ b/solenv/inc/tg_dep.mk
@@ -0,0 +1,109 @@
+.IF "$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(SRCFILES)$(SRC1FILES)$(SRC2FILES)$(SRC3FILES)$(RCFILES)$(HXX1TARGET)$(HDBDEPNTARGET)$(IDLFILES)$(PARFILES)$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)"!=""
+ALLDEP .PHONY:
+.IF "$(GUI)"=="UNX"
+ @+if ( -e "$(SRS)$/$(PWD:f).*.dpr" ) +-$(RM) "$(SRS)$/$(PWD:f).*.dpr" >& $(NULLDEV)
+.ELSE
+ @+-$(RM) $(SRS)$/$(PWD:f).*.dpr >& $(NULLDEV)
+.ENDIF
+ @+-$(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dpj >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dp1 >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dp2 >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dp3 >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dpc >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dpz >& $(NULLDEV)
+ +@echo ---
+ +@echo Old dependency files removed
+ +@echo ---
+
+
+ALLDPC: \
+ $(CFILES) \
+ $(CXXFILES) \
+ $(RCFILES) \
+ $(IDLFILES) \
+ $(HDBDEPNTARGET)
+.IF "$(nodep)"!=""
+ @echo NOT-Making: Depend-Lists
+ @echo ttt: ppp > $(MISC)$/$(TARGET).dpc
+.ELSE
+ @echo Making : Dependencies
+.IF "$(CFILES)$(CXXFILES)"!=""
+.IF "$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)"==""
+ @echo ++++++++++++++++++++++++++++++++++++++++++++++++
+ @echo da stimmt was nicht!!
+ @echo source files aber keine obj
+ @echo ++++++++++++++++++++++++++++++++++++++++++++++++
+# @quit
+.ENDIF
+.ENDIF
+.IF "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)$(PARFILES)"!=""
+.IF "$(GUI)"=="UNX"
+# @+if ( -e $(MISC)$/$(TARGET).dpr ) $(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
+ @+if ( -e $(MISC)$/$(TARGET).dpw ) $(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
+ @+if ( -e $(MISC)$/genjava.mk ) $(RM) $(MISC)$/genjava.mk >& $(NULLDEV)
+.ELSE
+# @+-if exist $(MISC)$/$(TARGET).dpr $(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
+ @+-if exist $(MISC)$/$(TARGET).dpw $(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
+ @+-if exist $(MISC)$/genjava.mk $(RM) $(MISC)$/genjava.mk >& $(NULLDEV)
+.ENDIF
+ +$(MKDEP) @$(mktmp -O:$(MISC)$/$(TARGET).dpc $(MKDEPFLAGS) \
+ $(HDBDEPNTARGET) $(OBJFILES) $(DEPOBJFILES) $(SLOFILES) $(RCFILES) \
+ $(ALLPARFILES) )
+#.IF "$(SVXLIGHTSLOFILES)"!=""
+# @+$(TYPE) $(mktmp $(foreach,i,$(SVXLIGHTSLOFILES) $(i:d:^"\n")sxl_$(i:f) : $i )) >> $(MISC)$/$(TARGET).dpc
+#.ENDIF
+.IF "$(SVXLIGHTOBJFILES)"!=""
+ @+$(TYPE) $(mktmp $(foreach,i,$(SVXLIGHTOBJFILES) $(i:d:^"\n")sxl_$(i:f) : $(i:d:s/obj/slo/)$(i:b).obj )) >> $(MISC)$/$(TARGET).dpc
+.ENDIF
+.IF "$($(SECOND_BUILD)SLOFILES)"!=""
+ @+$(TYPE) $(mktmp $(foreach,i,$($(SECOND_BUILD)SLOFILES) $(i:d:^"\n")$(SECOND_BUILD)_$(i:f) : $i )) >> $(MISC)$/$(TARGET).dpc
+.ENDIF
+.IF "$($(SECOND_BUILD)OBJFILES)"!=""
+ @+$(TYPE) $(mktmp $(foreach,i,$($(SECOND_BUILD)OBJFILES) $(i:d:^"\n")$(SECOND_BUILD)_$(i:f) : $(i:d:s/obj/slo/)$(i:b).obj )) >> $(MISC)$/$(TARGET).dpc
+.ENDIF
+.IF "$(GROUP)"=="WRITER"
+.IF "$(debug)"==""
+.IF "$(GUI)"=="UNX"
+ @+-$(RM) $(MISC)$/$(TARGET).dpw
+ @$(TYPE) $(MISC)$/$(TARGET).dpc | $(SED) s#$/slo$/#$/dso$/# | $(SED) s#$/obj$/#$/dbo$/# > $(MISC)$/$(TARGET).dpw
+.ELSE
+ @+-$(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
+ @$(TYPE) $(MISC)$/$(TARGET).dpc | $(SED) s#$/$/slo$/$/#$/$/dso$/$/# > $(TEMP)$/$(TARGET).dpt
+ @$(TYPE) $(TEMP)$/$(TARGET).dpt | $(SED) s#$/$/obj$/$/#$/$/dbo$/$/# > $(MISC)$/$(TARGET).dpw
+ @+-$(RM) $(TEMP)$/$(TARGET).dpt >& $(NULLDEV)
+.ENDIF
+.ELSE # "$(debug)"==""
+.IF "$(GUI)"=="UNX"
+ @+$(COPY) $(MISC)$/$(TARGET).dpc $(MISC)$/$(TARGET).dpw
+ @+-$(RM) $(MISC)$/$(TARGET).dpc
+ @$(TYPE) $(MISC)$/$(TARGET).dpw | $(SED) s#$/dso$/#$/slo$/# | $(SED) s#$/dbo$/#$/obj$/# > $(MISC)$/$(TARGET).dpc
+.ELSE
+ @+$(COPY) $(MISC)$/$(TARGET).dpc $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
+ @+-$(RM) $(MISC)$/$(TARGET).dpc >& $(NULLDEV)
+ @$(TYPE) $(MISC)$/$(TARGET).dpw | $(SED) s#$/$/dso$/$/#$/$/slo$/$/# > $(TEMP)$/$(TARGET).dpt
+ @$(TYPE) $(TEMP)$/$(TARGET).dpt | $(SED) s#$/$/dbo$/$/#$/$/obj$/$/# > $(MISC)$/$(TARGET).dpc
+ @+-$(RM) $(TEMP)$/$(TARGET).dpt >& $(NULLDEV)
+.ENDIF
+.ENDIF # "$(debug)"==""
+.ENDIF # "$(GROUP)"=="WRITER"
+.ELSE # "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)"!=""
+ @echo ttt: ppp > $(MISC)$/$(TARGET).dpc
+.ENDIF # "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)"!=""
+.ENDIF # "$(nodep)"!=""
+.ELSE # irgendwas abhaengiges
+
+ALLDPC:
+ @echo ------------------------------
+ @echo No Dependencies
+ @echo # > $(MISC)$/$(TARGET).dpc
+.IF "$(GROUP)"=="WRITER"
+ @echo # > $(MISC)$/$(TARGET).dpw
+.ENDIF
+
+ALLDEP:
+ @echo ------------------------------
+ @echo No Dependencies
+
+.ENDIF
+
diff --git a/solenv/inc/tg_jar.mk b/solenv/inc/tg_jar.mk
new file mode 100644
index 000000000000..50e5f3992e00
--- /dev/null
+++ b/solenv/inc/tg_jar.mk
@@ -0,0 +1,130 @@
+
+.IF "$(JARTARGETN)"!=""
+
+.IF "$(JARCOMPRESS)"==""
+JARCOMPRESS_FLAG=0
+.ENDIF
+
+.IF "$(NEW_JAR_PACK)"!=""
+.IF "$(use_starjar)"!=""
+XSTARJARPATH=$(strip $(STARJARPATH))
+.ENDIF # "$(use_starjar)"!=""
+$(JARTARGETN) : $(JARMANIFEST)
+.ENDIF # "$(NEW_JAR_PACK)"==""
+
+.IF "$(NEW_JAR_PACK)"!=""
+.IF "$(JARMANIFEST)"!=""
+
+.IF "$(CUSTOMMANIFESTFILE)"!=""
+
+CUSTOMMANIFESTFILEDEP:=..$/misc$/$(TARGET)_$(CUSTOMMANIFESTFILE:f)
+
+..$/misc$/$(TARGET)_$(CUSTOMMANIFESTFILE:f) : $(DMAKE_WORK_DIR)$/$(CUSTOMMANIFESTFILE)
+ +-$(RM) $@
+#>& $(NULLDEV)
+ +$(COPY) $< $@
+.ENDIF # "$(CUSTOMMANIFESTFILE)"!=""
+
+$(JARMANIFEST) .PHONY : $(CUSTOMMANIFESTFILEDEP)
+ +-$(MKDIR) .$/META-INF >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +echo Manifest-Version: 1.0 > $@
+.IF "$(GUI)"=="UNX"
+ +echo "Solar-Version: $(RSCREVISION)" >> $@
+.ELSE # "$(GUI)"=="UNX"
+ +echo Solar-Version: $(RSCREVISION) >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(CUSTOMMANIFESTFILE)"!=""
+ +$(TYPE) ..$/misc$/$(TARGET)_$(CUSTOMMANIFESTFILE:f) >> $@
+.ENDIF # "$(CUSTOMMANIFESTFILE)"!=""
+.ENDIF # "$(JARMANIFEST)"!=""
+.ENDIF # "$(NEW_JAR_PACK)"==""
+
+#
+# old jar dependencies...
+#
+.IF "$(NOJARDEP)$(NEW_JAR_PACK)"==""
+
+..$/misc$/$(JARTARGETDEP) $(MISC)$/$(JARTARGETDEP) .SETDIR=$(CLASSDIR) : # $(JARTARGETN)
+ @+echo -------------------------
+ @+echo Making $@
+ +-$(RM) ..$/misc$/$(JARTARGETDEP) >& $(NULLDEV)
+ +-$(RM) ..$/misc$/$(JARTARGETDEP).tmp >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ +echo " $(JARTARGET) : \" > ..$/misc$/$(JARTARGETDEP)
+ @+cat $(mktmp $(foreach,i,$(JARCLASSDIRS) $(shell find $i -type f -name "*.class" \! -name '*$$*' ))) >> ..$/misc$/$(JARTARGETDEP)
+.ENDIF
+.IF "$(GUI)"=="OS2"
+# @+echo $(foreach,i,$(JARCLASSDIRS) $(shell $(FIND) $i -type f -name "*.class" ! -name "*\$$*" -print >> ..$/misc$/$(JARTARGETDEP) )) >& $(NULLDEV)
+ +echo $(JARTARGETN) : \> ..$/misc$/$(JARTARGETDEP)
+ +echo $(foreach,i,$(JARCLASSDIRS) $(shell $(FIND) $i -type f -name "*.class" ! -name "*$$*" -print >> ..$/misc$/$(JARTARGETDEP).tmp )) >& $(NULLDEV)
+ +type ..$/misc$/$(JARTARGETDEP).tmp | sed "s#\.class#\.class \\#" >> ..$/misc$/$(JARTARGETDEP)
+ +echo. >> ..$/misc$/$(JARTARGETDEP)
+ +-$(RM) ..$/misc$/$(JARTARGETDEP).tmp >& $(NULLDEV)
+.ENDIF
+.IF "$(GUI)"=="WNT"
+ +echo $(JARTARGETN) : \> ..$/misc$/$(JARTARGETDEP)
+ +echo $(foreach,i,$(JARCLASSDIRS) $(shell $(FIND) $i -type f -name "*.class" ! -name "*$$*" -print >> ..$/misc$/$(JARTARGETDEP).tmp )) >& $(NULLDEV)
+ +type ..$/misc$/$(JARTARGETDEP).tmp | sed "s#\.class#\.class \\#" >> ..$/misc$/$(JARTARGETDEP)
+ +echo. >> ..$/misc$/$(JARTARGETDEP)
+ +-$(RM) ..$/misc$/$(JARTARGETDEP).tmp >& $(NULLDEV)
+.ENDIF
+
+.IF "$(SOLAR_JAVA)"!=""
+.IF "$(depend)"==""
+.INCLUDE : $(MISC)$/$(JARTARGETN).dep
+.ENDIF
+
+# jardepfile=$(shell -cat -s $(MISC)$/$(JARTARGETN).dep )
+.ENDIF
+.ENDIF # "$(NOJARDEP)$(NEW_JAR_PACK)"==""
+
+#
+# build jar
+#
+.IF "$(NOJARDEP)"!="" || "$(NEW_JAR_PACK)"!=""
+$(JARTARGETN) .SETDIR=$(CLASSDIR) .PHONY :
+# $(JARMANIFEST)
+.ELSE # "$(NOJARDEP)"!="" || "$(NEW_JAR_PACK)"!=""
+.DIRCACHE = no
+$(JARTARGETN) .SETDIR=$(CLASSDIR) :
+#$(JARTARGETN) .SETDIR=$(CLASSDIR) .SEQUENTIAL : $(JARTARGETDEP) $(shell -cat -s $(MISC)$/$(JARTARGETN).dep )
+.ENDIF # "$(NOJARDEP)"!="" || "$(NEW_JAR_PACK)"!=""
+.IF "$(UPDATER)"!=""
+.IF "$(GUI)"=="WNT"
+# +tolodir .
+.IF "$(JARIMGDIRS)"!=""
+ +toloimg $(JARIMGDIRS)
+.ENDIF
+.ENDIF
+.IF "$(OS)$(CPU)"=="SOLARISS"
+ @+-find . -type d -user $(USER) ! -perm -5 -print | xargs test "$$1" != "" && chmod +r $$1
+.ENDIF
+.ENDIF
+.IF "$(NEW_JAR_PACK)"==""
+ +-$(RM) $@
+.IF "$(use_starjar)"!=""
+ @+-$(COPY) ..$/..$/util$/$(JARFLT) $(JARFLT) >& $(NULLDEV)
+.IF "$(JARMANIFEST)"!=""
+ $(STARJAR) $@ $(JARMANIFEST) $(JARFLT) $(PATH_SEPERATOR) $(STARJARPATH)
+.ELSE
+ $(STARJAR) $@ - $(JARFLT) $(PATH_SEPERATOR) $(STARJARPATH)
+.ENDIF
+.ELSE # "$(use_starjar)"!=""
+.IF "$(JARMANIFEST)"!=""
+ jar -cvmf$(JARCOMPRESS_FLAG) $(JARMANIFEST) $@ $(JARCLASSDIRS)
+.ELSE
+ jar -cvf$(JARCOMPRESS_FLAG) $@ $(JARCLASSDIRS)
+.ENDIF
+.ENDIF # "$(use_starjar)"!=""
+.ELSE # "$(NEW_JAR_PACK)"==""
+.IF "$(use_starjar)"!=""
+ +-$(RM) $@
+ @+-$(COPY) $(DMAKE_WORK_DIR)$/$(JARFLT) $(TARGET)_$(JARFLT) >& $(NULLDEV)
+ $(STARJAR) $@ $(JARMANIFEST) $(TARGET)_$(JARFLT) + $(XSTARJARPATH:s/ /+/)
+.ELSE # "$(use_starjar)"!=""
+ zip -u -r $@ $(JARMANIFEST) $(JARCLASSDIRS)
+.ENDIF # "$(use_starjar)"!=""
+.ENDIF # "$(NEW_JAR_PACK)"==""
+.ENDIF
+
diff --git a/solenv/inc/tg_java.mk b/solenv/inc/tg_java.mk
new file mode 100644
index 000000000000..ca3d6a57f7ca
--- /dev/null
+++ b/solenv/inc/tg_java.mk
@@ -0,0 +1,79 @@
+
+
+.IF "$(JAVACLASSFILES:s/DEFINED//)$(javauno)"!=""
+
+#$(JAVACLASSFILES): $(JAVAFILES)
+#.IF "$(JAVARESPONSE)"!=""
+# $(JAVAC) @<<
+# $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+# <<keep
+#.ELSE
+## $(JAVAC) -depend $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+#.ENDIF
+#
+
+$(CLASSDIR)$/com$/sun$/star$/upd$/$(VERSIONINFOFILE)_updversion.class .PHONY: $(MISC)$/java$/com$/sun$/star$/upd$/$(VERSIONINFOFILE)_updversion.java
+
+$(MISC)$/java$/com$/sun$/star$/upd$/$(VERSIONINFOFILE)_updversion.java .PHONY:
+ @echo ------------------------------
+ @echo Making: $@
+ @+-$(MKDIRHIER) $(MISC)$/java$/com$/sun$/star$/upd
+.IF "$(GUI)"=="WNT"
+.IF "$(UPDATER)"!=""
+ +tolodir $(MISC)$
+# +tolodir $(MISC)$/java
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+echo package com.sun.star.upd\; > $@
+ @+echo 'public class $(VERSIONINFOFILE)_updversion { public static String Version = "$(RSCREVISION)";}' >> $@
+.ELSE
+ @+echo package com.sun.star.upd; > $@
+ @+echo public class $(VERSIONINFOFILE)_updversion { public static String Version = "$(RSCREVISION)";} >> $@
+.ENDIF
+
+.IF "$(JAVATARGET)"!=""
+.IF "$(PACKAGE)"!=""
+$(CLASSDIR)$/$(IDLPACKAGE)$/%.class .NOINFER .IGNORE .SILENT : $(JAVAFILES)
+# +echo $@
+ @+-$(RM) $(JAVATARGET) >& $(NULLDEV)
+.ELSE
+%.class .NOINFER .IGNORE .SILENT : $(JAVAFILES)
+# +echo $@
+ @+-$(RM) $(JAVATARGET) >& $(NULLDEV)
+.ENDIF
+# $(JAVACLASSFILES) : $(JAVAFILES)
+# @$(RM) $(JAVATARGET) >& $(NULLDEV)
+
+$(JAVATARGET) : $(JAVAFILES) $(JAVACLASSFILES)
+.IF "$(JAVARESPONSE)"!=""
+ $(JAVAC) @<<
+ $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+ <<keep
+.ELSE
+.IF "$(use_jdep)"!=""
+ $(JAVAC) -depend $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+.ELSE
+.IF "$(javauno)"!=""
+.IF "$(JAVAFILES:d)"==""
+ $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+.ELSE
+ @+$(TOUCH) $(INPATH)_$(VCSID)_a_dummy.java >& $(NULLDEV)
+ $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) .$/*.java $(uniq $(JAVAFILES:d:+"*.java"))
+ @+-$(RM) $(INPATH)_$(VCSID)_a_dummy.java >& $(NULLDEV)
+.ENDIF
+.ELSE
+ $(JAVAC) $(JAVACPS) $(CLASSPATH) -d $(CLASSDIR) $(JAVAFLAGS) $(JAVAFILES)
+.ENDIF
+.ENDIF
+.ENDIF
+.IF "$(UPDATER)"!=""
+.IF "$(OS)$(CPU)"=="SOLARISS"
+ +-find $(CLASSDIR) -type d -user $(USER) \! -perm -5 -print | xargs chmod a+r $$1 >& $(NULLDEV)
+.ENDIF
+.ENDIF
+ @+echo > $@
+
+.ENDIF
+.ENDIF
+
diff --git a/solenv/inc/tg_lib.mk b/solenv/inc/tg_lib.mk
new file mode 100644
index 000000000000..d85644d29e2b
--- /dev/null
+++ b/solenv/inc/tg_lib.mk
@@ -0,0 +1,112 @@
+MKFILENAME:=tg_lib.mk
+
+#######################################################
+# Anweisungen fuer Rekursion
+
+.IF "$(MULTI_LIB_FLAG)" == ""
+$(LIB1TARGETN) .NULL : LIB1
+
+$(LIB2TARGETN) .NULL : LIB2
+
+$(LIB3TARGETN) .NULL : LIB3
+
+$(LIB4TARGETN) .NULL : LIB4
+
+$(LIB5TARGETN) .NULL : LIB5
+
+$(LIB6TARGETN) .NULL : LIB6
+
+$(LIB7TARGETN) .NULL : LIB7
+
+$(LIB8TARGETN) .NULL : LIB8
+
+$(LIB9TARGETN) .NULL : LIB9
+.ENDIF
+
+
+
+.IF "$(MULTI_LIB_FLAG)"==""
+LIB1 LIB2 LIB3 LIB4 LIB5 LIB6 LIB7 LIB8 LIB9:
+ @dmake $(LIB$(TNR)TARGETN) MULTI_LIB_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(LIB$(TNR)TARGET)" != ""
+
+$(LIB$(TNR)TARGET) : $(LIB$(TNR)FILES) \
+ $(LIB$(TNR)OBJFILES) \
+ $(LIB$(TNR)DEPN)
+ @echo using: $(LIB$(TNR)FILES)
+ @echo using: $(LIB$(TNR)TARGET)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"!="UNX"
+ @-+IF EXIST $@ del $@
+.ENDIF
+.ENDIF
+.IF "$(GUI)"=="UNX"
+ @+$(RM) $@
+ @+echo $(LIB$(TNR)OBJFILES:s/.obj/.o/) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB$(TNR)FILES:s/.obj/.o/) | xargs -n 1 >> $@
+ @+$(RM) $(@:d)$(@:b).dump
+ @+nm `cat $(LIB$(TNR)TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(@:d)$(@:b).dump
+.IF "$(LIB$(TNR)ARCHIV)" != ""
+ @+-$(RM) $(MISC)$/$(LIB$(TNR)ARCHIV:b).cmd
+.IF "$(OS)" =="HPUX_FRAG_HR"
+ @+-$(RM) $(MISC)$/$(LIB$(TNR)ARCHIV:b)_closetempl.cmd
+ @+echo $(LINK) +inst_close -c `cat $(LIB$(TNR)TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB$(TNR)ARCHIV:b)_closetempl.cmd
+ @cat $(MISC)$/$(LIB$(TNR)ARCHIV:b)_closetempl.cmd
+ @source $(MISC)$/$(LIB$(TNR)ARCHIV:b)_closetempl.cmd
+.ENDIF
+ @+echo $(LIBMGR) $(LIB$(TNR)FLAGS) $(LIBFLAGS) $(LIB$(TNR)ARCHIV) `cat $(LIB$(TNR)TARGET) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` > $(MISC)$/$(LIB$(TNR)ARCHIV:b).cmd
+.IF "$(OS)$(COM)"=="NETBSDGCC"
+ @+echo ranlib $(LIB$(TNR)ARCHIV) >> $(MISC)$/$(LIB$(TNR)ARCHIV:b).cmd
+.ENDIF
+ @cat $(MISC)$/$(LIB$(TNR)ARCHIV:b).cmd
+ @source $(MISC)$/$(LIB$(TNR)ARCHIV:b).cmd
+.ENDIF # "$(LIB$(TNR)ARCHIV)" != ""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ @+$(RM) $@
+ @+echo $(LIB$(TNR)OBJFILES) | sed s#$(PRJ)$/$(ROUT)#$(ROUT)#g | xargs -n 1 > $@
+ @+cat /dev/null $(LIB$(TNR)FILES) | xargs -n 1 >> $@
+.IF "$(LIB$(TNR)ARCHIV)" != ""
+ @+$(RM) $(LIB$(TNR)ARCHIV)
+ +$(LIBMGR) $(LIBFLAGS) -o $(shell $(UNIX2MACPATH) $(LIB$(TNR)ARCHIV) `cat /dev/null $@ | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g`)
+.ENDIF # "$(LIB$(TNR)ARCHIV)" != ""
+.ELSE # "$(GUI)"=="MAC"
+.IF "$(COM)" == "BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(LIB$(TNR)FILES:+"\n+":^"&") -+$(LIB$(TNR)OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)" == "BLC"
+.IF "$(GUI)"=="WNT"
+# wnt ist hier
+# $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(?:+"\n")) - warum ist das schrott?
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB$(TNR)FILES) $(LIB$(TNR)OBJFILES))
+ @+echo.
+.ELSE # "$(GUI)"=="WNT"
+# os2icci3 hier
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(LIB$(TNR)FILES:+"&\n") \
+ $(LIB$(TNR)OBJFILES:+"&\n");)
+.ELSE
+# os2gcci hier
+ +echo $(LIBMGR) r $@ $(LIB$(TNR)OBJFILES)
+ $(LIBMGR) r $@ $(LIB$(TNR)OBJFILES) $(LIB$(TNR)FILES) bla.lib
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.ENDIF # "$(COM)" == "BLC"
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(LIB$(TNR)TARGET)" != ""
+
+# Anweisungen fuer das LIBTARGETs
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_LIB_FLAG)" == ""
diff --git a/solenv/inc/tg_obj.mk b/solenv/inc/tg_obj.mk
new file mode 100644
index 000000000000..d16074f58417
--- /dev/null
+++ b/solenv/inc/tg_obj.mk
@@ -0,0 +1,103 @@
+MKFILENAME:=TG_OBJ.MK
+
+.IF "$(OBJTARGET)"!=""
+$(OBJTARGET): $(OBJFILES) $(IDLOBJFILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(COM)"=="GCC"
+ +echo. $(foreach,i,$(IDLOBJFILES:f) $(ROBJ)$/$(IDLPACKAGE)$/$(i)) > $@
+ +echo. $(foreach,i,$(OBJFILES:f) $(ROBJ)$/$(i)) >> $@
+ @+$(TYPE) $@ | tr -d \n\r > $@
+ @+echo. >> $@
+.ELSE # "$(COM)"=="GCC"
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(IDLOBJFILES:f) $(ROBJ)$/$(IDLPACKAGE)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+ +echo $(foreach,i,$(OBJFILES:f) $(ROBJ)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ +echo $(foreach,i,$(IDLOBJFILES:f) $(ROBJ)$/$(IDLPACKAGE)$/$(i)) | xargs -n1 > $@
+ +echo $(foreach,i,$(OBJFILES:f) $(ROBJ)$/$(i)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="MAC"
+.IF "$(GUI)"=="WIN"
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(COM)"=="BLC"
+ $(LIBMGR) $@ $(LIBFLAGS) +$(OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ELSE # "$(COM)"=="ICC"
+ $(LIBMGR) r $@ $(SLOFILES)
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(GUI)"=="OS2"
+
+.ENDIF # "$(OBJTARGET)"!=""
+
+
+.IF "$(SVXLIGHTOBJTARGET)"!=""
+$(SVXLIGHTOBJTARGET): $(REAL_SVXLIGHTOBJFILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(COM)"=="GCC"
+# $(LIBMGR) $(LIBFLAGS) $@ $(OBJFILES)
+ +echo. $(foreach,i,$(REAL_SVXLIGHTOBJFILES:f) $(ROBJ)$/$(i)) >> $@
+.ELSE
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(REAL_SVXLIGHTOBJFILES:f) $(ROBJ)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(REAL_SVXLIGHTOBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ENDIF # "$(GUI)"=="OS2"
+
+.ENDIF # "$(SVXLIGHTOBJTARGET)"!=""
+
+.IF "$(SECOND_BUILD)"!=""
+.IF "$($(SECOND_BUILD)OBJTARGET)"!=""
+$($(SECOND_BUILD)OBJTARGET): $(REAL_$(SECOND_BUILD)OBJFILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(COM)"=="GCC"
+# $(LIBMGR) $(LIBFLAGS) $@ $(OBJFILES)
+ +echo. $(foreach,i,$(REAL_$(SECOND_BUILD)OBJFILES:f) $(ROBJ)$/$(i)) >> $@
+.ELSE
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(REAL_$(SECOND_BUILD)OBJFILES:f) $(ROBJ)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(REAL_$(SECOND_BUILD)OBJFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ENDIF # "$(GUI)"=="OS2"
+
+.ENDIF # "$($(SECOND_BUILD)OBJTARGET)"!=""
+.ENDIF # "$(SECOND_BUILD)"!=""
+
diff --git a/solenv/inc/tg_res.mk b/solenv/inc/tg_res.mk
new file mode 100644
index 000000000000..c6ee89b67767
--- /dev/null
+++ b/solenv/inc/tg_res.mk
@@ -0,0 +1,16 @@
+
+
+.IF "$(RCTARGET)"!=""
+$(RCTARGET): $(RCFILES) \
+ $(RCDEPN)
+ @echo ------------------------------
+ @echo Making: $@
+# RCLANGFLAGS fuer setup/loader
+.IF "$(NO_REC_RES)"!=""
+ @+-$(MKDIR) $(@:d:d) >& $(NULLDEV)
+.ENDIF
+ $(RC) $(INCLUDE) $(RCLANGFLAGS) $(RCFLAGS)
+.IF "$(NO_REC_RES)"!=""
+ @+echo > $(RES)$/$(@:f)
+.ENDIF
+.ENDIF
diff --git a/solenv/inc/tg_rslb.mk b/solenv/inc/tg_rslb.mk
new file mode 100644
index 000000000000..647443a5eef6
--- /dev/null
+++ b/solenv/inc/tg_rslb.mk
@@ -0,0 +1,151 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_rslb.mk $
+#*
+#* Ersterstellung XX TT.MM.JJ
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_rslb.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+.IF "$(MULTI_RESLIB_FLAG)" == ""
+$(RESLIB1TARGETN) .NULL : RESLIB1
+
+$(RESLIB2TARGETN) .NULL : RESLIB2
+
+$(RESLIB3TARGETN) .NULL : RESLIB3
+
+$(RESLIB4TARGETN) .NULL : RESLIB4
+
+$(RESLIB5TARGETN) .NULL : RESLIB5
+
+$(RESLIB6TARGETN) .NULL : RESLIB6
+
+$(RESLIB7TARGETN) .NULL : RESLIB7
+
+$(RESLIB8TARGETN) .NULL : RESLIB8
+
+$(RESLIB9TARGETN) .NULL : RESLIB9
+.ENDIF
+
+
+.IF "$(MULTI_RESLIB_FLAG)"==""
+RESLIB1 RESLIB2 RESLIB3 RESLIB4 RESLIB5 RESLIB6 RESLIB7 RESLIB8 RESLIB9:
+.IF "$(GUI)"!="MAC"
+.IF "$(GUI)"=="UNX"
+ @dmake $(RESLIB$(TNR)TARGETN) solarlang=$(solarlang) MULTI_RESLIB_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ dmake $(RESLIB$(TNR)TARGETN) solarlang=$(solarlang) MULTI_RESLIB_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+ @dmake "$(RESLIB$(TNR)TARGETN)" MULTI_RESLIB_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(RESLIB$(TNR)TARGETN)"!=""
+
+$(RESLIB$(TNR)TARGETN): \
+ $(RESLIB$(TNR)SRSFILES) \
+ $(RESLIB$(TNR)BMPS)
+ @echo Making: $@
+.IF "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+ +$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ -r \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ELSE # "$(GUI)"=="UNX"
+.IF "$(NO_REC_RES)"!=""
+.IF "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
+ -r -p \
+ -I$(RES) \
+ -I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+ +-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ +-$(RM) $@ >& $(NULLDEV)
+ +$(RENAME) $@.new $@
+.ELSE # "$(common_build_reslib)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I$(RES)$/$(langext_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+.ENDIF # "$(common_build_reslib)"!=""
+.ELSE # "$(NO_REC_RES)"!=""
+ $(RSC) -presponse @$(mktmp \
+ $(rsclang_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ $(rescharset_{$(subst,$(RESLIB$(TNR)NAME)$(UPD), $(@:b))}) \
+ -I$(RES) \
+ -fs$@ \
+ -r -p \
+ -I$(RES) \
+ -I$(PRJ)$/$(INPATH)$/res \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC$(TNR)HEADER) $(RESLIB$(TNR)SRSFILES) \
+ )
+.ENDIF # "$(NO_REC_RES)"!=""
+.ENDIF # "$(GUI)"=="UNX"
+.ENDIF # "$(RESLIB$(TNR)TARGETN)"!=""
+
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_RESLIB_FLAG)"==""
diff --git a/solenv/inc/tg_scp.mk b/solenv/inc/tg_scp.mk
new file mode 100644
index 000000000000..489a49984973
--- /dev/null
+++ b/solenv/inc/tg_scp.mk
@@ -0,0 +1,66 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_scp.mk $
+#*
+#* Ersterstellung XX TT.MM.JJ
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_scp.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+.IF "$(MULTI_SCP_FLAG)" == ""
+$(SCP1TARGETN) .NULL : SCP1
+
+$(SCP2TARGETN) .NULL : SCP2
+
+$(SCP3TARGETN) .NULL : SCP3
+
+$(SCP4TARGETN) .NULL : SCP4
+
+$(SCP5TARGETN) .NULL : SCP5
+
+$(SCP6TARGETN) .NULL : SCP6
+
+$(SCP7TARGETN) .NULL : SCP7
+
+$(SCP8TARGETN) .NULL : SCP8
+
+$(SCP9TARGETN) .NULL : SCP9
+.ENDIF
+
+.IF "$(MULTI_SCP_FLAG)"==""
+SCP1 SCP2 SCP3 SCP4 SCP5 SCP6 SCP7 SCP8 SCP9:
+.IF "$(GUI)" != "MAC"
+.IF "$(GUI)" == "UNX"
+ @echo $(SHELL) AUSE $(COMSPEC) MARTIN $(SHELLFLAGS)
+.ENDIF
+ +@dmake $(SCP$(TNR)TARGETN) MULTI_SCP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @dmake "$(SCP$(TNR)TARGETN)" MULTI_SCP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SCP$(TNR)TARGETN)"!=""
+
+ALLSCP$(TNR)FILES=$(foreach,i,$(SCP$(TNR)FILES) $(foreach,j,$(SCP$(TNR)LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
+
+$(SCP$(TNR)TARGETN): $(ALLSCP$(TNR)FILES)
+ @echo ------------------------------
+ @echo Making: $@
+ scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP$(TNR)FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
+.ENDIF
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_SCP_FLAG)"==""
diff --git a/solenv/inc/tg_sdi.mk b/solenv/inc/tg_sdi.mk
new file mode 100644
index 000000000000..fdec6a226048
--- /dev/null
+++ b/solenv/inc/tg_sdi.mk
@@ -0,0 +1,76 @@
+
+
+# ------------------
+# - SDITARGETS -
+# ------------------
+
+.IF "$(MULTI_SDI_FLAG)" == ""
+
+$(SDITARGET) .NULL : SDI0
+
+$(SDI1TARGET) .NULL : SDI1
+
+$(SDI2TARGET) .NULL : SDI2
+
+$(SDI3TARGET) .NULL : SDI3
+
+$(SDI4TARGET) .NULL : SDI4
+
+$(SDI5TARGET) .NULL : SDI5
+
+.ENDIF
+
+
+.IF "$(MULTI_SDI_FLAG)" == ""
+SDI0 SDI1 SDI2 SDI3 SDI4 SDI5 :
+.IF "$(GUI)" != "MAC"
+ @+dmake $(SDI$(TNR)TARGET) MULTI_SDI_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @+dmake "$(SDI$(TNR)TARGET)" MULTI_SDI_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE # "$(MULTI_SDI_FLAG)" == ""
+
+.IF "$(make_srs_deps)"==""
+dttt:
+ echo $(TNR)------------
+
+$(SDI$(TNR)TARGET): $(SVSDI$(TNR)DEPEND)
+ @echo ------------------------------
+ @echo Making: $@
+ @+-$(RM) $@
+ $(SVIDL) @$(mktmp \
+ -fs$(INCCOMX)$/$(SDI$(TNR)NAME).hxx \
+ -fd$(INCCOMX)$/$(SDI$(TNR)NAME).ilb \
+ -fm$(MISCX)$/$(SDI$(TNR)NAME).don \
+ -fl$(MISC)$/$(SDI$(TNR)NAME).lst \
+ -fx$(SDI$(TNR)EXPORT).sdi \
+ -fy$(MISCX)$/xx$(PRJNAME).csv \
+ -fz$(MISCX)$/$(SDI$(TNR)NAME).sid \
+ $(SDI$(TNR)NAME).sdi -I$(MISCX) -I$(SVSDIINC) -I$(SOLARINCXDIR) -I$(INC) -I$(INCLUDE) -I$(SOLARVER)$/$(UPD)$/$(INPATH)$/inc )
+
+.IF "$(NO_SRS_PATCH)"==""
+ @+$(COPY) $(SRSX)$/$(SDI$(TNR)NAME).srs $(TEMP)$/$(SDI$(TNR)NAME).srs
+.IF "$(GUI)" != "MAC"
+ @+-$(RM) $(SRSX)$/$(SDI$(TNR)NAME).srs
+.ENDIF
+.IF "$(GUI)" == "OS2"
+ @+gawk -f r:\bat\srspatch.awk $(TEMP)$/$(SDI$(TNR)NAME).srs > $(SRSX)$/$(SDI$(TNR)NAME).srs
+ @+$(COPY) $(SRSX)$/$(SDI$(TNR)NAME).srs $(TEMP)$/$(SDI$(TNR)NAME).srs
+ @+-$(RM) $(SRSX)$/$(SDI$(TNR)NAME).srs
+ @+sed -f r:\bat\sichern.sed $(TEMP)$/$(SDI$(TNR)NAME).srs > $(SRSX)$/$(SDI$(TNR)NAME).srs
+.ELSE
+.IF "$(GUI)" == "UNX"
+ @+$(AWK) -f $(SOLARROOT)$/scripts$/unx$/srspatch.awk $(TEMP)$/$(SDI$(TNR)NAME).srs > $(SRSX)$/$(SDI$(TNR)NAME).srs
+.ELSE
+ @+awk -f r:\bat\srspatch.awk $(TEMP)$/$(SDI$(TNR)NAME).srs > $(SRSX)$/$(SDI$(TNR)NAME).srs
+.ENDIF
+.ENDIF
+ @+-$(RM) $(TEMP)$/$(SDI$(TNR)NAME).srs
+.ENDIF # "$(NO_SRS_PATCH)"!=""
+
+.ELSE # "$(make_srs_deps)"==""
+$(SDI$(TNR)TARGET): $(SVSDI$(TNR)DEPEND)
+ @+echo jetzt nicht...
+.ENDIF # "$(make_srs_deps)"==""
+.ENDIF # "$(MULTI_SDI_FLAG)" == ""
+
diff --git a/solenv/inc/tg_shl.mk b/solenv/inc/tg_shl.mk
new file mode 100644
index 000000000000..5336a637d3e0
--- /dev/null
+++ b/solenv/inc/tg_shl.mk
@@ -0,0 +1,506 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_shl.mk $
+#*
+#* Ersterstellung MH 01.09.97
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_shl.mkv $
+#*
+#* Copyright (c) 1990-1999, STAR DIVISION
+#*
+#*************************************************************************
+
+MKFILENAME:=tg_shl.mk
+
+#######################################################
+# Anweisungen fuer Rekursion
+
+.IF "$(MULTI_SHL_FLAG)" == ""
+$(SHL1TARGETN) .NULL : SHL1
+
+$(SHL2TARGETN) .NULL : SHL2
+
+$(SHL3TARGETN) .NULL : SHL3
+
+$(SHL4TARGETN) .NULL : SHL4
+
+$(SHL5TARGETN) .NULL : SHL5
+
+$(SHL6TARGETN) .NULL : SHL6
+
+$(SHL7TARGETN) .NULL : SHL7
+
+$(SHL8TARGETN) .NULL : SHL8
+
+$(SHL9TARGETN) .NULL : SHL9
+.ENDIF
+
+
+
+.IF "$(MULTI_SHL_FLAG)"==""
+SHL1 SHL2 SHL3 SHL4 SHL5 SHL6 SHL7 SHL8 SHL9:
+.IF "$(GUI)"=="UNX"
+ @dmake $(SHL$(TNR)TARGETN) MULTI_SHL_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @dmake $(SHL$(TNR)TARGETN) MULTI_SHL_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(OS)"=="AIX"
+SHL$(TNR)STDLIBS=
+.ENDIF
+
+.IF "$(SHLLINKARCONLY)" != ""
+SHL$(TNR)STDLIBS=
+STDSHL=
+.ELSE
+SHL$(TNR)ARCHIVES=
+.ENDIF
+
+SHL$(TNR)DEF*=$(MISC)$/$(SHL$(TNR)TARGET).def
+
+.IF "$(GUI)" != "UNX"
+.IF "$(GUI)" == "WNT"
+.IF "$(COM)" == "MSC"
+.IF "$(SHL$(TNR)IMPLIB)" != ""
+USE_$(TNR)IMPLIB=-implib:$(LB)$/$(SHL$(TNR)IMPLIB).lib
+.ELSE # "$(SHL$(TNR)IMPLIB)" != ""
+USE_$(TNR)IMPLIB=-implib:$(LB)$/i$(TARGET)$(TNR).lib
+.ENDIF # "$(SHL$(TNR)IMPLIB)" != ""
+.ENDIF # "$(COM)" == "MSC"
+
+.IF "$(USE_DEFFILE)"==""
+USE_$(TNR)IMPLIB_DEPS=$(LB)$/$(SHL$(TNR)IMPLIB).lib
+.ENDIF # "$(USE_DEFFILE)"==""
+.ENDIF # "$(GUI)" == "WNT"
+USE_SHL$(TNR)DEF=$(SHL$(TNR)DEF)
+.ELSE # "$(GUI)" != "UNX"
+USE_SHL$(TNR)DEF=
+SHL$(TNR)DEPN+:=$(SHL$(TNR)DEPNU)
+
+# to activate vmaps remove "#"
+#USE_SHL$(TNR)VERSIONMAP=$(MISC)$/$(SHL$(TNR)TARGET).vmap
+
+.IF "$(USE_SHL$(TNR)VERSIONMAP)"!=""
+
+.IF "$(DEF$(TNR)EXPORTFILE)"!=""
+.IF "$(SHL$(TNR)VERSIONMAP)"!=""
+#eine von beiden ist zuviel
+USE_SHL$(TNR)VERSIONMAP=$(MISC)$/$(SHL$(TNR)TARGET).vmap
+$(USE_SHL$(TNR)VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo you should only use versionmap OR exportfile
+ @+echo -----------------------------
+# force_dmake_to_error
+
+.ENDIF # "$(SHL$(TNR)VERSIONMAP)"!=""
+
+.IF "$(OS)"!="MACOSX"
+SHL$(TNR)VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL$(TNR)VERSIONMAP)
+.ENDIF
+
+$(USE_SHL$(TNR)VERSIONMAP): \
+ $(SHL$(TNR)OBJS)\
+ $(SHL$(TNR)LIBS)\
+ $(DEF$(TNR)EXPORTFILE)
+ @+$(RM) $@.dump
+.IF "$(SHL$(TNR)OBJS)"!=""
+# dump remaining objects on the fly
+ @+nm $(SHL$(TNR)OBJS:s/.obj/.o/) > $@.dump
+.ENDIF # "$(SHL$(TNR)OBJS)!"=""
+ @+$(TYPE) /dev/null $(SHL$(TNR)LIBS:s/.lib/.dump/) >> $@.dump
+ @+$(SOLARENV)$/bin$/genmap -d $@.dump -e $(DEF$(TNR)EXPORTFILE) -o $@
+
+.ELSE # "$(DEF$(TNR)EXPORTFILE)"!=""
+USE_SHL$(TNR)VERSIONMAP=$(MISC)$/$(SHL$(TNR)TARGET).vmap
+$(USE_SHL$(TNR)VERSIONMAP) .PHONY:
+ @+echo -----------------------------
+ @+echo DEF$(TNR)EXPORTFILE not set!
+ @+echo -----------------------------
+# force_dmake_to_error
+.ENDIF # "$(DEF$(TNR)EXPORTFILE)"!=""
+.ENDIF # "$(USE_SHL$(TNR)VERSIONMAP)"!=""
+.IF "$(SHL$(TNR)VERSIONMAP)"!=""
+USE_SHL$(TNR)VERSIONMAP=$(MISC)$/$(SHL$(TNR)VERSIONMAP:f)
+.IF "$(OS)"!="MACOSX"
+SHL$(TNR)VERSIONMAPPARA=$(LINKVERSIONMAPFLAG) $(USE_SHL$(TNR)VERSIONMAP)
+.ENDIF
+
+$(USE_SHL$(TNR)VERSIONMAP): $(SHL$(TNR)VERSIONMAP)
+ @+-$(RM) -f $@ >& $(NULLDEV)
+ @+tr -d "\015" < $(SHL$(TNR)VERSIONMAP) > $@
+ @+chmod a+w $@
+
+.ENDIF # "$(SHL$(TNR)VERSIONMAP)"!=""
+.ENDIF # "$(GUI)" != "UNX"
+
+.IF "$(NO_REC_RES)"!=""
+.IF "$(SHL$(TNR)RES)"!=""
+SHL$(TNR)RES!:=$(subst,$(RES)$/,$(RES)$/$(defaultlangext)$/ $(SHL$(TNR)RES))
+SHL$(TNR)ALLRES+=$(SHL$(TNR)RES)
+SHL$(TNR)LINKRES*=$(MISC)$/$(SHL$(TNR)TARGET).res
+.ENDIF # "$(SHL$(TNR)RES)"!=""
+.ENDIF
+
+.IF "$(SHL$(TNR)DEFAULTRES)$(use_shl_versions)"!=""
+SHL$(TNR)DEFAULTRES*=$(MISC)$/$(SHL$(TNR)TARGET)_def.res
+SHL$(TNR)ALLRES+=$(SHL$(TNR)DEFAULTRES)
+SHL$(TNR)LINKRES*=$(MISC)$/$(SHL$(TNR)TARGET).res
+.ENDIF # "$(SHL$(TNR)DEFAULTRES)$(use_shl_versions)"!=""
+
+.IF "$(SHL$(TNR)TARGETN)"!=""
+$(SHL$(TNR)TARGETN) : \
+ $(SHL$(TNR)OBJS)\
+ $(SHL$(TNR)LIBS)\
+ $(USE_$(TNR)IMPLIB_DEPS)\
+ $(USE_SHL$(TNR)DEF)\
+ $(USE_SHL$(TNR)VERSIONMAP)\
+ $(SHL$(TNR)RES)\
+ $(SHL$(TNR)DEPN)
+ @echo ------------------------------
+ @echo Making: $(SHL$(TNR)TARGETN)
+.IF "$(UPDATER)"=="YES"
+.IF "$(GUI)"=="UNX"
+ @+echo #define _BUILD \"$(BUILD)\" > $(INCCOM)$/_version.h
+ @+echo #define _UPD \"$(UPD)\" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR \'$(LAST_MINOR)\' >> $(INCCOM)$/_version.h
+ @+echo '#define _RSCREVISION "$(RSCREVISION)"' >> $(INCCOM)$/_version.h
+ @+echo #define _INPATH \"$(INPATH)\" >> $(INCCOM)$/_version.h
+.ELSE
+ @+echo #define _BUILD "$(BUILD)" > $(INCCOM)$/_version.h
+ @+echo #define _UPD "$(UPD)" >> $(INCCOM)$/_version.h
+ @+echo #define _LAST_MINOR '$(LAST_MINOR)' >> $(INCCOM)$/_version.h
+ @+echo #define _DLL_POSTFIX "$(DLL_POSTFIX)">> $(INCCOM)$/_version.h
+ @+echo #define _RSCREVISION "$(RSCREVISION)">> $(INCCOM)$/_version.h
+ @+echo #define _INPATH "$(INPATH)" >> $(INCCOM)$/_version.h
+.ENDIF
+ @-+$(RM) $(SLO)$/_version.obj
+.ENDIF
+.IF "$(GUI)"=="OS2"
+.IF "$(UPDATER)"=="YES"
+.IF "$(COM)"=="ICC"
+ @+echo Hier CompilerAufruf
+ $(CC) -c -Fo$(SLO)$/_version.obj /Ge+ /Gs+ /Gt+ /Gd+ -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE # "$(COM)"=="ICC"
+ $(CC) -c -o$(SLO)$/_version.obj -Zomf -Zso -Zsys -DOS2 $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(UPDATER)"=="YES"
+#
+# mal mit $(LINKEXTENDLINE) versuchen!!
+#
+ +-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) @$(mktmp \
+ $(STDSLO:+"+\n") $(VERSIONOBJ:+"+\n") $(SHL$(TNR)OBJS:+"+\n")), \
+ $(@), \
+ $(MISC)$/$(@:b).map, \
+ @$(mktmp $(SHL$(TNR)LIBS:+"+\n") $(SHL$(TNR)STDLIBS:+"+\n") $(STDSHL:+"+\n")), \
+ $(SHL$(TNR)DEF:+"\n")
+.ELSE
+ $(LINK) -o $@ -Zdll -Zmap=$(MISC)$/$(@:b).map -L$(LB) $(SHL$(TNR)LIBS:^"-l") -Ln:\toolkit4\lib -Ln:\emx09d\lib\mt -Ln:\emx09d\lib -L$(SOLARLIBDIR) $(STDSLO) $(STDSHL:^"-l") $(SHL$(TNR)STDLIBS:^"-l") $(SHL$(TNR)OBJS) $(VERSIONOBJ) $(SHL$(TNR)DEF)
+.ENDIF
+.IF "$(SHL$(TNR)RES)" != ""
+ $(RCLINK) $(RCLINKFLAGS) $(SHL$(TNR)RES) $@
+.ENDIF # "$(COMEX)"=="3"
+.ENDIF # "$(GUI)"=="OS2"
+.IF "$(GUI)" == "WIN"
+.IF "$(COM)"=="BLC"
+ +$(LINK) @$(mktmp$ $(LINKFLAGS) $(LINKFLAGSSHL) $(STDSLO) $(SHL$(TNR)OBJS), $@, $(MISC)\$(@:b).map, $(SHL$(TNR)LIBS) $(SHL$(TNR)STDLIBS) $(STDSHL), $(SHL$(TNR)DEF)) >& $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(TYPE) $(TMP)$/$(PRJNAME)$(USER).tmp
+ @+$(RM) $(TMP)$/$(PRJNAME)$(USER).tmp
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)" == "WNT"
+ @+if not exist $(FUNCORD) $(TOUCH) $(FUNCORD)
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(COM)"=="GCC"
+ gcc -c -o$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ cl -c -Fo$(SLO)$/_version.obj -DWNT $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF # "$(COM)"=="GCC"
+.ENDIF # "$(UPDATER)"=="YES"
+.IF "$(SHL$(TNR)DEFAULTRES)"!=""
+ @+-$(RM) $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc >& $(NULLDEV)
+.IF "$(SHL$(TNR)ICON)" != ""
+ @-+echo 1 ICON $(SHL$(TNR)ICON) >> $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+.ENDIF
+.IF "$(use_shl_versions)" != ""
+ @-+echo #define VERVARIANT $(BUILD) >> $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+ @-+echo #define ORG_NAME $(SHL$(TNR)TARGET)$(DLLPOST) >> $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+ @-+echo #define INTERNAL_NAME $(SHL$(TNR)TARGET:b) >> $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+ @-+echo #include "shlinfo.rc" >> $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+.ENDIF # "$(use_shl_versions)" != ""
+ $(RC) -DWIN32 $(INCLUDE) $(RCLINKFLAGS) $(MISC)$/$(SHL$(TNR)DEFAULTRES:b).rc
+.ENDIF # "$(SHL$(TNR)DEFAULTRES)"!=""
+.IF "$(SHL$(TNR)ALLRES)"!=""
+ +$(COPY) /b $(SHL$(TNR)ALLRES:s/res /res+/) $(SHL$(TNR)LINKRES)
+.ENDIF # "$(SHL$(TNR)ALLRES)"!=""
+.IF "$(linkinc)"==""
+.IF "$(USE_DEFFILE)"!=""
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL$(TNR)STACK) $(SHL$(TNR)BASEX) \
+ /DEBUG /PDB:NONE \
+ -out:$(BIN)$/_$(SHL$(TNR)TARGET).dll \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL$(TNR)DEF) \
+ $(USE_$(TNR)IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL$(TNR)OBJS) \
+ $(SHL$(TNR)LIBS) \
+ $(SHL$(TNR)STDLIBS) \
+ $(STDSHL) \
+ $(SHL$(TNR)LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.IF "$(COM)"=="GCC"
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) -o$@ \
+ $(STDOBJ) $(VERSIONOBJ) | tr -d \r\n > $(MISC)$/$(@:b).cmd
+ @+$(TYPE) $(SHL$(TNR)LIBS) | sed s#$(ROUT)#$(PRJ)$/$/$(ROUT)#g | tr -d \r\n >> $(MISC)$/$(@:b).cmd
+ @+echo $(SHL$(TNR)STDLIBS) $(STDSHL) $(SHL$(TNR)RES) >> $(MISC)$/$(@:b).cmd
+ $(MISC)$/$(@:b).cmd
+.ELSE
+ $(LINK) @$(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) \
+ $(SHL$(TNR)STACK) $(SHL$(TNR)BASEX) \
+ -out:$@ \
+ -map:$(MISC)$/$(@:b).map \
+ -def:$(SHL$(TNR)DEF) \
+ $(USE_$(TNR)IMPLIB) \
+ $(STDOBJ) \
+ $(VERSIONOBJ) $(SHL$(TNR)OBJS) \
+ $(SHL$(TNR)LIBS) \
+ $(SHL$(TNR)STDLIBS) \
+ $(STDSHL) \
+ $(SHL$(TNR)LINKRES) \
+ )
+.ENDIF # "$(COM)"=="GCC"
+.ELSE # "$(USE_DEFFILE)"!=""
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL$(TNR)BASEX) \
+ $(SHL$(TNR)STACK) -out:$(SHL$(TNR)TARGETN) \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL$(TNR)IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL$(TNR)OBJS) $(VERSIONOBJ) \
+ $(SHL$(TNR)LIBS) \
+ $(SHL$(TNR)STDLIBS) \
+ $(STDSHL) \
+ $(SHL$(TNR)LINKRES) \
+ )
+.IF "$(BOTH)"!=""
+.IF "$(PRODUCT)"=="full"
+.IF "$(UPDATER)"=="YES"
+#
+# product mit debug gelinkt
+#
+ $(LINK) @$(mktmp $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL$(TNR)BASEX) \
+ /DEBUG /PDB:NONE \
+ $(SHL$(TNR)STACK) -out:$(BIN)$/_$(SHL$(TNR)TARGET).dll \
+ -map:$(MISC)$/$(@:B).map \
+ $(LB)$/$(SHL$(TNR)IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL$(TNR)OBJS) $(VERSIONOBJ) \
+ $(SHL$(TNR)LIBS) \
+ $(SHL$(TNR)STDLIBS) \
+ $(STDSHL) \
+ $(SHL$(TNR)LINKRES) \
+ )
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(PRODUCT)"=="full"
+.ENDIF # "$(BOTH)"!=""
+.ENDIF # "$(USE_DEFFILE)"!=""
+.ELSE # "$(linkinc)"==""
+ +if exist $(MISC)$/$(SHL$(TNR)TARGET).lnk del $(MISC)$/$(SHL$(TNR)TARGET).lnk
+ +if exist $(MISC)$/$(SHL$(TNR)TARGET).lst del $(MISC)$/$(SHL$(TNR)TARGET).lst
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+ +type $(mktmp \
+ $(LINKFLAGS) \
+ $(LINKFLAGSSHL) $(SHL$(TNR)BASEX) \
+ $(SHL$(TNR)STACK) $(MAPFILE) \
+ -out:$@ \
+ $(LB)$/$(SHL$(TNR)IMPLIB).exp \
+ $(STDOBJ) \
+ $(SHL$(TNR)OBJS) \
+ $(SHL$(TNR)STDLIBS) \
+ $(STDSHL) \
+ $(SHL$(TNR)LINKRES) \
+ ) >> $(MISC)$/$(SHL$(TNR)TARGET).lnk
+ +type $(MISC)$/linkinc.ls >> $(MISC)$/$(SHL$(TNR)TARGET).lnk
+ $(LINK) @$(MISC)$/$(SHL$(TNR)TARGET).lnk
+# +if exist $(MISC)$/linkinc.ls del $(MISC)$/linkinc.ls
+.ENDIF # "$(linkinc)"==""
+.ENDIF # "$(GUI)" == "WNT"
+.IF "$(GUI)"=="UNX"
+.IF "$(UPDATER)"=="YES"
+ @+echo Hier CompilerAufruf
+.IF "$(OS)"=="SOLARIS"
+.IF "$(COM)"=="GCC"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ELSE
+ $(CC) -c -KPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+.IF "$(OS)"=="MACOSX"
+ $(CC) -c -dynamic -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.IF "$(OS)"=="LINUX"
+ $(CC) -c -fPIC -o $(SLO)$/_version.o -DUNX $(ENVCDEFS) -I$(INCCOM) $(SOLARENV)$/src$/version.cxx
+.ENDIF
+.ENDIF
+ @+-$(RM) $(MISC)$/$(@:b).cmd
+ @+echo $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(SHL$(TNR)VERSIONMAPPARA) -L$(PRJ)$/$(ROUT)$/lib $(SOLARLIB) $(STDSLO) $(SHL$(TNR)OBJS:s/.obj/.o/) \
+ $(VERSIONOBJ) -o $@ \
+ `cat /dev/null $(SHL$(TNR)LIBS) | tr -s " " "\n" | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` \
+ $(SHL$(TNR)STDLIBS) $(SHL$(TNR)ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) > $(MISC)$/$(@:b).cmd
+ @cat $(MISC)$/$(@:b).cmd
+ @+source $(MISC)$/$(@:b).cmd
+.IF "$(OS)"=="S390"
+ +mv -f ($@:s/$(DLLPOST)/.x/) $(LB)
+.ENDIF
+ @ls -l $@
+.IF "$(OS)"=="MACOSX"
+ @+-$(RM) $@.framework$/$(@:f)
+ @+if ( -f $@ ) \
+ echo "Making: $@.framework" ; \
+ $(MKDIRHIER) $@.framework ; \
+ $(COPY) $@ $@.framework$/$(@:f) ; \
+ endif
+.ENDIF
+.IF "$(UPDATER)"=="YES"
+.IF "$(OS)"=="MACOSX"
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB) $(SHL$(TNR)TARGETN).framework
+.ELSE
+ +$(SOLARENV)$/bin$/checkdll.sh -L$(LB) $(SOLARLIB:s/2.6//) $(SHL$(TNR)TARGETN)
+.ENDIF
+.ENDIF # "$(UPDATER)"=="YES"
+.ENDIF # "$(GUI)" == "UNX"
+.IF "$(GUI)"=="MAC"
+ @+-$(RM) $@ $@.xSYM
+ $(LINK) $(LINKFLAGS) $(LINKFLAGSSHL) $(foreach,i,$(shell $(UNIX2MACPATH) $(PRJ)$/$(ROUT)$/lib $(SOLARLIB:s/-L//)) -L"$i") $(shell $(UNIX2MACPATH) $(STDSLO) $(SHL$(TNR)OBJS) `cat /dev/null $(SHL$(TNR)LIBS) | sed s#$(ROUT)#$(PRJ)$/$(ROUT)#g` $(VERSIONOBJ)) $(SHL$(TNR)STDLIBS) $(SHL$(TNR)ARCHIVES) $(STDSHL) $(LINKOUTPUT_FILTER) -o $(shell $(UNIX2MACPATH) $@)
+.ENDIF # "$(GUI)"=="MAC"
+.ENDIF # "$(SHL$(TNR)TARGETN)"!=""
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # MULTI_SHL_FLAG
+
+#-------------------------------------------------------------------------
+
+
+.IF "$(MULTI_SHLIMP_FLAG)"==""
+# MULTITARGET: SHLNIMP --- hier einfuegen
+
+$(SHL1IMPLIBN) .NULL : SHL1IMP
+
+$(SHL2IMPLIBN) .NULL : SHL2IMP
+
+$(SHL3IMPLIBN) .NULL : SHL3IMP
+
+$(SHL4IMPLIBN) .NULL : SHL4IMP
+
+$(SHL5IMPLIBN) .NULL : SHL5IMP
+
+$(SHL6IMPLIBN) .NULL : SHL6IMP
+
+$(SHL7IMPLIBN) .NULL : SHL7IMP
+
+$(SHL8IMPLIBN) .NULL : SHL8IMP
+
+$(SHL9IMPLIBN) .NULL : SHL9IMP
+.ENDIF
+
+
+
+.IF "$(MULTI_SHLIMP_FLAG)"==""
+
+# MULTITARGET: SHLNIMP --- hier einfuegen
+
+SHL1IMP SHL2IMP SHL3IMP SHL4IMP SHL5IMP SHL6IMP SHL7IMP SHL8IMP SHL9IMP:
+.IF "$(GUI)" != "MAC"
+ @dmake $(SHL$(TNR)IMPLIBN) MULTI_SHLIMP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @dmake "$(SHL$(TNR)IMPLIBN)" MULTI_SHLIMP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(SHL$(TNR)IMPLIBN)" != ""
+
+.IF "$(UPDATER)"=="YES"
+USELIBDEPN=$(SHL$(TNR)LIBS)
+.ELSE
+.ENDIF
+
+.IF "$(USE_DEFFILE)"!=""
+USE_SHLTARGET=$(SHL$(TNR)TARGETN)
+.ENDIF
+
+.IF "$(GUI)" != "UNX"
+$(SHL$(TNR)IMPLIBN): \
+ $(SHL$(TNR)DEF) \
+ $(USE_SHLTARGET) \
+ $(USELIBDEPN)
+.ELSE
+$(SHL$(TNR)IMPLIBN): \
+ $(SHL$(TNR)LIBS)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(SHL$(TNR)IMPLIBN)
+.IF "$(GUI)" == "WNT"
+# bei use_deffile implib von linker erstellt
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) @$(mktmp -out:$(SHL$(TNR)IMPLIBN) \
+ -def:$(SHL$(TNR)DEF) )
+.ELSE # "$(GUI)" == "WNT"
+ @+if exist $@ $(TOUCH) $@
+ @+if not exist $@ echo rebuild $(SHL$(TNR)TARGETN) to get $@
+.ENDIF # "$(GUI)" == "WNT"
+.ELSE
+.IF "$(GUI)" == "WIN" || "$(GUI)" == "OS2"
+.IF "$(USE_DEFFILE)"==""
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL$(TNR)DEF)
+.ELSE
+ $(IMPLIB) $(IMPLIBFLAGS) $@ $(SHL$(TNR)TARGETN)
+.ENDIF
+.ELSE
+ @echo keine ImportLibs auf Mac und *ix
+ @+-$(RM) $@
+ @$(TOUCH) $@
+.ENDIF
+.ENDIF
+.ENDIF
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # MULTI_SHLIMP_FLAG
+
+#------------------------------------------------------------------------
+
+
diff --git a/solenv/inc/tg_slo.mk b/solenv/inc/tg_slo.mk
new file mode 100644
index 000000000000..244355343b6f
--- /dev/null
+++ b/solenv/inc/tg_slo.mk
@@ -0,0 +1,170 @@
+#*************************************************************************
+#*
+#* $Workfile: tg_slo.mk $
+#*
+#* Ersterstellung MH 01.09.97
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:18 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_slo.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+MKFILENAME:=TG_SLO.MK
+
+.IF "$(SLOTARGET)"!=""
+$(SLOTARGET): $(SLOFILES) $(IDLSLOFILES)
+.IF "$(MDB)" != ""
+ @echo $(SLOTARGET)
+ @echo $(&:+"\n")
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $@
+# @+$(RM) $@
+.IF "$(GUI)"=="WNT"
+ @-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+ +echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="MAC"
+ +echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i)) | xargs -n1 > $@
+ +echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="MAC"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(SLOFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+.IF "$(COM)"=="ICC"
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ELSE
+ $(LIBMGR) r $@ $(SLOFILES)
+.ENDIF # "$(COM)"=="ICC"
+.ENDIF # "$(GUI)"=="OS2"
+
+.ENDIF # "$(SLOTARGET)"!=""
+
+
+.IF "$(SMRSLOTARGET)"!=""
+$(SMRSLOTARGET): $(SMRSLOFILES)
+.IF "$(MDB)" != ""
+ @+echo $(SMRSLOTARGET:s/ttt/\/)
+ @+echo $(SMRSLOFILES)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+ @-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
+ $(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(SMRSLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(SMRSLOFILES:+"\n+":^"&":s/ttt/\/)
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $(@:s/ttt/\/)
+ $(LIBMGR) $(LIBFLAGS) $(@:s/ttt/\/) @$(mktmp $(&:+"&\n":s/ttt/\/);)
+.ENDIF # "$(GUI)"=="OS2"
+.ENDIF # "$(SMRSLOTARGET)"!=""
+
+
+.IF "$(S2USLOTARGET)"!=""
+$(S2USLOTARGET): $(S2USLOFILES:s/ttt/\/)
+.IF "$(MDB)" != ""
+ @echo $(S2USLOTARGET)
+ @echo $(&:+"\n":s/ttt/\/)
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $(@:s/ttt/\/)
+.IF "$(GUI)"=="WNT"
+ @-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
+ $(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(S2USLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ $(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(S2USLOFILES:+"\n+":^"&":s/ttt/\/)
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $(@:s/ttt/\/)
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n":s/ttt/\/);)
+.ENDIF # "$(GUI)"=="OS2"
+.ENDIF # "$(S2USLOTARGET)"!=""
+
+
+.IF "$(SVXLIGHTSLOTARGET)"!=""
+$(SVXLIGHTSLOTARGET): $(REAL_SVXLIGHTSLOFILES)
+.IF "$(MDB)" != ""
+ @echo $(REAL_SVXLIGHTSLOTARGET)
+ @echo $(&:+"\n")
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+ @-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(REAL_SVXLIGHTSLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(REAL_SVXLIGHTSLOFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ENDIF # "$(GUI)"=="OS2"
+.ENDIF # "$(SVXLIGHTSLOTARGET)"!=""
+
+.IF "$(SECOND_BUILD)"!=""
+.IF "$($(SECOND_BUILD)SLOTARGET)"!=""
+$($(SECOND_BUILD)SLOTARGET): $(REAL_$(SECOND_BUILD)SLOFILES)
+.IF "$(MDB)" != ""
+ @echo $(REAL_$(SECOND_BUILD)SLOTARGET)
+ @echo $(&:+"\n")
+.ENDIF
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+ @-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
+ $(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(GUI)"=="UNX"
+ +echo $(foreach,i,$(REAL_$(SECOND_BUILD)SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
+.ENDIF # "$(GUI)"=="UNX"
+.IF "$(GUI)"=="WIN"
+.IF "$(COM)"=="BLC"
+ @+-$(RM) $@ >& $(NULLDEV)
+ $(LIBMGR) $@ $(LIBFLAGS) +$(REAL_$(SECOND_BUILD)SLOFILES:+"\n+":^"&")
+.ELSE # "$(COM)"=="BLC"
+.ENDIF # "$(COM)"=="BLC"
+.ENDIF # "$(GUI)"=="WIN"
+.IF "$(GUI)"=="OS2"
+ @+-$(RM) $@
+ $(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
+.ENDIF # "$(GUI)"=="OS2"
+.ENDIF # "$($(SECOND_BUILD)SLOTARGET)"!=""
+.ENDIF # "$(SECOND_BUILD)"!=""
+
diff --git a/solenv/inc/tg_srs.mk b/solenv/inc/tg_srs.mk
new file mode 100644
index 000000000000..86606b26ce4d
--- /dev/null
+++ b/solenv/inc/tg_srs.mk
@@ -0,0 +1,209 @@
+
+
+
+# so sah es ueber Kommandozeile aus:
+# krank aber wahr, sonst steht da hinterher
+# Text = 1234 oder Text = \1234 oder sonstiger Mist
+# .IF "$(OS)" == "DOS"
+# RSCUPDVERMAC=-DUPDVER="$(RSCUPDVER)"
+# .ENDIF
+# .IF "$(OS)" == "OS2"
+# RSCUPDVERMAC=-DUPDVER=\\"$(RSCUPDVER)\\"
+# .ENDIF
+# .IF "$(OS)" == "WNT"
+# RSCUPDVERMAC=-DUPDVER=\\\"$(RSCUPDVER)\\\"
+# .ENDIF
+
+# und so mit response file
+#.IF "$(OS)" == "DOS"
+# fuer DOSSTCIX nicht \" sondern "
+.IF "$(GUI)" == "MAC"
+RSCUPDVERMAC=-DUPDVER="$(RSCUPDVER)"
+.ELSE
+RSCUPDVERMAC=-DUPDVER="$(RSCUPDVER)"
+.ENDIF
+#.ELSE
+#RSCUPDVERMAC=-DUPDVER=\"$(RSCUPDVER)\"
+#.ENDIF
+
+# und so mit response file
+.IF "$(GUI)" == "MAC"
+RSCUPDVERMAC=-DUPDVER="$(RSCUPDVER)"
+.ELSE
+RSCUPDVERMAC=-DUPDVER="$(RSCUPDVER)"
+.ENDIF
+
+.IF "$(SRCTARGET)"!=""
+$(SRCTARGET) : $(SRCFILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(CPU)"=="I"
+.IF "$(UPDATER)"=="YES"
+.IF "$(BUILD_SOSL)"==""
+.IF "$(PRJNAME)"!="schedule"
+.IF "$(no_hids)$(NO_HIDS)"==""
+ @+type $(mktmp $(SRCFILES:+"\n")) > $(TMP)$/$(TARGET).tra
+ @+-$(COPY) $(TMP)$/$(TARGET).tra $(TMP)$/$(TARGET).art
+ +type $(TMP)$/$(TARGET).art | $(SORT) -u > $(TMP)$/$(TARGET).tra
+ +call resp.bat r:\bat\mhids.bat @$(TMP)$/$(TARGET).tra $(SRS) $(PRJNAME) $(CDEFS) $(INCLUDE)
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF # "$(GUI)"=="WNT"
+.IF "$(make_srs_deps)" != ""
+ +$(RSC) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ) -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERMAC) -fp$@ $(SRCFILES)
+.ELSE
+ $(RSC) -presponse @$(mktmp $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
+ $(INCLUDE) $(RSCDEFS) $(RSCUPDVERMAC) \
+ -fp$@ \
+ $(SRCFILES) \
+ )
+.ENDIF
+.ENDIF
+
+
+
+.IF "$(MULTI_SRC_FLAG)"==""
+
+SRC1 ?= TNR!:=1
+$(SRC1TARGET) .NULL : SRC1
+
+SRC2 ?= TNR!:=2
+$(SRC2TARGET) .NULL : SRC2
+
+SRC3 ?= TNR!:=3
+$(SRC3TARGET) .NULL : SRC3
+
+SRC4 ?= TNR!:=4
+$(SRC4TARGET) .NULL : SRC4
+
+SRC5 ?= TNR!:=5
+$(SRC5TARGET) .NULL : SRC5
+
+SRC6 ?= TNR!:=6
+$(SRC6TARGET) .NULL : SRC6
+
+SRC7 ?= TNR!:=7
+$(SRC7TARGET) .NULL : SRC7
+
+SRC8 ?= TNR!:=8
+$(SRC8TARGET) .NULL : SRC8
+
+SRC9 ?= TNR!:=9
+$(SRC9TARGET) .NULL : SRC9
+
+.ENDIF
+
+# -------
+# - SRC1 -
+# -------
+
+.IF "$(MULTI_SRC_FLAG)" == ""
+SRC1 SRC2 SRC3 SRC4 SRC5 SRC6 SRC7 SRC8 SRC9 :
+.IF "$(GUI)" != "MAC"
+ @+dmake $(SRS)$/$(SRS$(TNR)NAME).srs MULTI_SRC_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @+dmake "$(SRS)$/$(SRS$(TNR)NAME).srs" MULTI_SRC_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF
+.ELSE
+$(SRS)$/$(SRS$(TNR)NAME).srs: $(SRC$(TNR)FILES)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)"=="WNT"
+.IF "$(CPU)"=="I"
+.IF "$(UPDATER)"=="YES"
+.IF "$(BUILD_SOSL)"==""
+.IF "$(no_hids)$(NO_HIDS)"==""
+ @+type $(mktmp $(SRC$(TNR)FILES:+"\n")) > $(TMP)$/$(TARGET).tra
+ @+-$(COPY) $(TMP)$/$(TARGET).tra $(TMP)$/$(TARGET).art
+ +type $(TMP)$/$(TARGET).art | $(SORT) -u > $(TMP)$/$(TARGET).tra
+ +call resp.bat r:\bat\mhids.bat @$(TMP)$/$(TARGET).tra $(SRS) $(PRJNAME) $(CDEFS) $(INCLUDE)
+ @+del $(TMP)$/$(TARGET).art
+ @+del $(TMP)$/$(TARGET).tra
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.ENDIF
+.IF "$(make_srs_deps)" != ""
+ +$(RSC) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ) -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERMAC) -fp$@ $(SRC$(TNR)FILES)
+.ELSE
+ echo $(SRC$(TNR)FILES)
+ +$(RSC) -presponse @$(mktmp \
+ $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
+ $(INCLUDE) $(RSCDEFS) $(RSCUPDVERMAC) \
+ -fp$@ \
+ $(SRC$(TNR)FILES) \
+ )
+.ENDIF
+.ENDIF
+
+.IF "$(MULTI_SRS_FLAG)"==""
+
+SRS1 ?= TNR!:=1
+$(SRS1TARGET) .NULL : SRS1
+
+SRS2 ?= TNR!:=2
+$(SRS2TARGET) .NULL : SRS2
+
+SRS3 ?= TNR!:=3
+$(SRS3TARGET) .NULL : SRS3
+
+SRS4 ?= TNR!:=4
+$(SRS4TARGET) .NULL : SRS4
+
+SRS5 ?= TNR!:=5
+$(SRS5TARGET) .NULL : SRS5
+
+SRS6 ?= TNR!:=6
+$(SRS6TARGET) .NULL : SRS6
+
+SRS7 ?= TNR!:=7
+$(SRS7TARGET) .NULL : SRS7
+
+SRS8 ?= TNR!:=8
+$(SRS8TARGET) .NULL : SRS8
+
+SRS9 ?= TNR!:=9
+$(SRS9TARGET) .NULL : SRS9
+
+.ENDIF
+
+# -------
+# - SRS1 -
+# -------
+
+.IF "$(MULTI_SRS_FLAG)" == ""
+SRS1 SRS2 SRS3 SRS4 SRS5 SRS6 SRS7 SRS8 SRS9:
+.IF "$(GUI)" != "MAC"
+ @+dmake $(SRS$(TNR)TARGET) MULTI_SRS_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+ @+dmake "$(SRS$(TNR)TARGET)" MULTI_SRS_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ENDIF # "$(GUI)" != "MAC"
+.ELSE
+.IF "$(VCL)" == ""
+.ELSE
+$(SRS$(TNR)TARGET): $(SRS$(TNR)FILES) $(SRS$(TNR)DEPN)
+ @echo ------------------------------
+ @echo Making: $@
+.IF "$(GUI)" != "MAC"
+.IF "$(GUI)" == "UNX"
+ +$(RSC) -r $(RSC_RES_CHARSET) -fs$(SRS$(TNR)TARGET) -I$(INPATH)$/res \
+ -I$(RES) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) $(SOLARINC) \
+ $(RSC$(TNR)HEADER) $(SRS$(TNR)FILES)
+.ELSE # "$(GUI)" == "UNX"
+ +$(RSC) -r $(RSC_RES_CHARSET) -fs$(SRS$(TNR)TARGET) \
+ -I$(INPATH)$/res -I$(RES) \
+ -I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
+ $(RSC$(TNR)HEADER) $(SRS$(TNR)FILES)
+.ENDIF # "$(GUI)" == "UNX"
+.ELSE # "$(GUI)" != "MAC"
+ +$(RSC) -r $(RSC_RES_CHARSET) -fs$(SRS$(TNR)TARGET) -fo$(RES)$/$(RES$(TNR)TARGET).res -I$(SOLARENV)$/res -I$(INPATH)$/res -I$(RSCEXTINC) -I"$(INCLUDE:s/inc/inc:/)" -I$(SOLARINCDIR)$/ $(RSCDEFS) $(RSCUPDVERMAC) $(RSC$(TNR)HEADER) $(SRS$(TNR)FILES)
+.ENDIF # "$(GUI)" != "MAC"
+.ENDIF # "$(VCL)" == ""
+.ENDIF # "$(MULTI_SRS_FLAG)" == ""
+
diff --git a/solenv/inc/tg_yxx.mk b/solenv/inc/tg_yxx.mk
new file mode 100644
index 000000000000..3acb75803f05
--- /dev/null
+++ b/solenv/inc/tg_yxx.mk
@@ -0,0 +1,14 @@
+
+.IF "$(YACCTARGET)"!=""
+$(YACCTARGET): $(YACCFILES)
+ @echo ------------------------------
+ @echo Making: $@
+#.IF "$(GUI)"!="UNX"
+ $(BISON) $(YACCFLAGS) $(YACCOUT)$/$(YACCTARGET) $(YACCFILES)
+#.ELSE
+# $(BISON) $(YACCFLAGS) $(YACCFILES)
+# mv y.tab.c $(INCCOM)/rscyacc.yxx
+# mv y.tab.h $(INCCOM)/yytab.h
+#.ENDIF
+.ENDIF
+
diff --git a/solenv/inc/tg_zip.mk b/solenv/inc/tg_zip.mk
new file mode 100644
index 000000000000..0919868158aa
--- /dev/null
+++ b/solenv/inc/tg_zip.mk
@@ -0,0 +1,96 @@
+
+#*************************************************************************
+#*
+#* $Workfile: tg_zip.mk $
+#*
+#* Ersterstellung XX TT.MM.JJ
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:18 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/tg_zip.mkv $
+#*
+#* Copyright (c) 1990-1997, STAR DIVISION
+#*
+#*************************************************************************
+
+.IF "$(MULTI_ZIP_FLAG)" == ""
+$(ZIP1TARGETN) .NULL : ZIP1
+
+$(ZIP2TARGETN) .NULL : ZIP2
+
+$(ZIP3TARGETN) .NULL : ZIP3
+
+$(ZIP4TARGETN) .NULL : ZIP4
+
+$(ZIP5TARGETN) .NULL : ZIP5
+
+$(ZIP6TARGETN) .NULL : ZIP6
+
+$(ZIP7TARGETN) .NULL : ZIP7
+
+$(ZIP8TARGETN) .NULL : ZIP8
+
+$(ZIP9TARGETN) .NULL : ZIP9
+.ENDIF
+
+.IF "$(MULTI_ZIP_FLAG)"==""
+ZIP1 ZIP2 ZIP3 ZIP4 ZIP5 ZIP6 ZIP7 ZIP8 ZIP9:
+ +@dmake $(ZIP$(TNR)TARGETN) MULTI_ZIP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
+.ELSE
+
+
+#######################################################
+# Anweisungen fuer das Linken
+# unroll begin
+
+.IF "$(ZIP$(TNR)TARGETN)"!=""
+
+$(MISC)$/$(TARGET).$(PWD:f).$(ZIP$(TNR)TARGET).dpzz : $(ZIP$(TNR)TARGETN)
+
+ZIP$(TNR)HELPVAR={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(ZIP$(TNR)TARGET)}
+.IF "$(make_zip_deps)" == ""
+$(ZIP$(TNR)TARGETN) : delzip
+.ELSE # "$(make_zip_deps)" == ""
+$(ZIP$(TNR)TARGETN) :
+.ENDIF # "$(make_zip_deps)" == ""
+.IF "$(make_zip_deps)" == ""
+ @+echo ------------------------------
+ @+echo Making: $@
+.IF "$(common_build_zip)"!=""
+.IF "$(make_zip_deps)" == ""
+.IF "$?"!="$(subst,delzip,zzz $?)"
+ @+-$(RM) $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+echo rebuilding zipfiles
+ @+echo ------------------------------
+.ENDIF # "$?"!="$(subst,delzip,zzz $?)"
+.ENDIF # "$(make_zip_deps)" == ""
+ @+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+ @+-zip $(ZIPFLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP$(TNR)LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP$(TNR)HELPVAR), $(@:db))}) $j )) -x delzip
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(RM) $@ >& $(NULLDEV)
+.IF "$(GUI)"=="UNX"
+ @+if ( -r $@.new ) $(RENAME) $@.new $@
+# @+if ( -r $@ ) $(TOUCH) $@
+.ELSE # "$(GUI)"=="UNX"
+ @+if exist $@.new $(RENAME) $@.new $@
+# @+if exist $@ $(TOUCH) $@
+.ENDIF # "$(GUI)"=="UNX"
+.ELSE # "$(common_build_zip)"!=""
+ @+-zip $(ZIPFLAGS) $@ $(foreach,j,$(ZIP$(TNR)LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP$(TNR)TARGET), $(@:db))}) $j )) -x delzip
+# +$(TOUCH) $@
+.ENDIF # "$(common_build_zip)"!=""
+.ELSE # "$(make_zip_deps)" != ""
+ @+echo $@ : makefile.mk >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.IF "$(common_build_zip)"!=""
+ @+-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP$(TNR)LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP$(TNR)HELPVAR), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ELSE # "$(common_build_zip)"!=""
+ +-zipdep $(ZIPFLAGS) $@ $(foreach,j,$(ZIP$(TNR)LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(BIN)$/$(ZIP$(TNR)TARGET), $(@:db))}) $j )) >> $(MISC)$/$(TARGET).$(PWD:f).$(@:b).dpzz
+.ENDIF # "$(common_build_zip)"!=""
+.ENDIF # "$(make_zip_deps)" != ""
+.ENDIF
+
+# Anweisungen fuer das Linken
+# unroll end
+#######################################################
+
+.ENDIF # "$(MULTI_ZIP_FLAG)"==""
diff --git a/solenv/inc/unitools.mk b/solenv/inc/unitools.mk
new file mode 100644
index 000000000000..43f7d7e2419c
--- /dev/null
+++ b/solenv/inc/unitools.mk
@@ -0,0 +1,84 @@
+
+.IF "$(GUI)"!="UNX"
+.IF "$(GUI)"!="MAC"
+AWK=awk
+SED*=sed
+TYPE=type
+RENAME=ren
+COPY=copy
+COPYUPDATE=/u
+MKDIR*=mkdir
+MKDIRHIER*=$(MKDIR)
+ECHON=echos
+.IF "$(GUI)"=="OS2"
+GREP=echo which grep ?
+FIND=$(SOLARROOT)$/util$/os2$/find.exe
+LS=dir /b
+.ENDIF
+.IF "$(GUI)"=="WNT"
+GREP=$(ENV_TOOLS)$/grep32.exe
+FIND=$(BUILD_TOOLS)$/find.exe
+LS=$(BUILD_TOOLS)$/ls.exe
+GNUCOPY=$(BUILD_TOOLS)$/cp.exe
+MKDIR=+$(BUILD_TOOLS)$/mkdir.btm
+TOUCH=$(BUILD_TOOLS)$/touch.exe
+PERL=$(BUILD_TOOLS)$/perl.exe
+#signing for win32 only
+SIGNCODE=$(BUILD_TOOLS)$/PackSign$/signcode
+CABARC=$(BUILD_TOOLS)$/PackSign$/cabarc
+SIGNTOOL=$(BUILD_TOOLS)$/signtool$/signtool
+.ENDIF
+.IF "$(GUI)"=="WIN"
+# using 32-bit tools
+GREP=$(SOLARROOT)$/util$/nt$/grep32.exe
+FIND=$(SOLARROOT)$/util$/nt$/find.exe
+LS=$(SOLARROOT)$/util$/nt$/ls.exe
+MKDIRHIER=echo v | xcopy nul
+.ENDIF
+.ELSE
+SED*=sed
+AWK=awk
+PERL=perl
+TYPE=cat
+COPY=cp -f
+GNUCOPY=cp
+TOUCH=touch
+RENAME=mv
+MKDIR=mkdir
+MKDIRHIER=mkdir -p
+GREP=grep
+FIND=find
+LS=ls
+ECHON=echo -n
+.ENDIF
+.ELSE
+SED*=sed
+AWK=awk
+PERL=perl
+TYPE=cat
+COPY=cp -f
+.IF "$(OS)"=="SOLARIS"
+GNUCOPY=gnucp
+.ELSE # "$(OS)"=="SOLARIS"
+GNUCOPY=cp
+.ENDIF # "$(OS)"=="SOLARIS"
+TOUCH=touch
+RENAME=mv
+MKDIR=mkdir
+MKDIRHIER=mkdir -p
+GREP=grep
+FIND=find
+LS=ls
+ECHON=echo -n
+.ENDIF
+
+RM+=$(RMFLAGS)
+
+.IF "$(GUI)"=="UNX"
+NULLDEV=/dev/null
+.ELIF "$(GUI)"=="MAC"
+NULLDEV=/dev/null
+.ELSE
+NULLDEV=nul
+.ENDIF
+
diff --git a/solenv/inc/unx.mk b/solenv/inc/unx.mk
new file mode 100644
index 000000000000..218953d5eb91
--- /dev/null
+++ b/solenv/inc/unx.mk
@@ -0,0 +1,127 @@
+#*******************************************************************
+#*
+#* $Workfile: unx.mk $
+#*
+#* Beschreibung Compiler und Systemabhaengige
+#* Entwicklungtools-Definitionen
+#* Fuer WindowsNT-Envrionments
+#*
+#* Ersterstellung MH 9.2.96
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:18 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/unx.mkv $
+#*
+#* Copyright (c) 1990-1996, STAR DIVISION
+#*
+#*******************************************************************
+
+
+# --- Unix-Environment ---------------------------------------
+
+.IF "$(GUI)" == "UNX"
+
+# --- Ole2 Behandlung -------------
+
+.IF "$(DONT_USE_OLE2)"!=""
+OLE2=
+OLE2DEF=
+.ELSE
+OLE2=true
+OLE2DEF=-DOLE2
+.ENDIF
+
+
+# Dieses Define gilt fuer alle WNT- Plattformen
+# fuer Compiler, wo kein Java unterstuetzt wird, muss dies ge'undeft werden
+#JAVADEF=-DSOLAR_JAVA
+
+# --- Compiler ---
+
+.IF "$(COM)$(OS)$(CPU)" == "C50SOLARISS"
+.INCLUDE : unxsols2.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "C50SOLARISI"
+.INCLUDE : unxsoli2.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "C60SOLARISS"
+.INCLUDE : unxsols3.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCSOLARISS"
+.INCLUDE : unxsogs.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCSCOI"
+.INCLUDE : unxscoi.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)$(GLIBC)" == "GCCLINUXI"
+.INCLUDE : unxlnxi.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)$(GLIBC)" == "GCCLINUXP2"
+.INCLUDE : unxlngp.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)$(GLIBC)" == "GCCLINUXI2REDHAT60"
+.INCLUDE : unxlngi3.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "ACCHPUXR"
+.INCLUDE : unxhpxr.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCHPUXR"
+.INCLUDE : unxhpgr.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCNETBSDA"
+.INCLUDE : unxbsda.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "ICCS390G"
+.INCLUDE : unxmvsg.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "ICCAIXP"
+.INCLUDE : unxaixp.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCNETBSDI"
+.INCLUDE : unxbsdi.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCFREEBSDI"
+.INCLUDE : unxfbsdi.mk
+.ENDIF
+
+
+.IF "$(COM)$(OS)$(CPU)" == "C710IRIXM"
+.INCLUDE : unxirxm.mk
+.ENDIF
+
+.IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP"
+.INCLUDE : unxmacxp.mk
+.ENDIF
+
+# --- *ix Allgemein ---
+HC=hc
+HCFLAGS=
+PATH_SEPERATOR*=:
+.IF "$(WORK_STAMP)"!="MIX364"
+CDEFS+=-D__DMAKE
+.ENDIF
+
+CDEFS+=-DUNIX
+
+# fuer linux: bison -y -d
+YACC*=yacc
+YACCFLAGS*=-d -t
+
+EXECPOST=
+SCPPOST=.ins
+DLLDEST=$(LB)
+.ENDIF
diff --git a/solenv/inc/unxaixp.mk b/solenv/inc/unxaixp.mk
new file mode 100644
index 000000000000..fb723b0c56e3
--- /dev/null
+++ b/solenv/inc/unxaixp.mk
@@ -0,0 +1,92 @@
+
+# mak file fuer unxaixp
+ASM=
+AFLAGS=
+
+# kann c++ was c braucht??
+
+CC= xlC_r
+cc= xlc_r
+CFLAGS= -c -qlanglvl=extended -qchars=signed
+CFLAGS+= $(INCLUDE)
+CDEFS+= -DVCL -D_PTHREADS
+CDEFS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CFLAGSCC=
+CFLAGSCXX=
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=
+CFLAGSSLOCUIMT=
+CFLAGSPROF=
+CFLAGSDEBUG=
+CFLAGSDBGUTIL=
+CFLAGSOPT= -O
+CFLAGSNOOPT=
+CFLAGSOUTOBJ= -o
+
+STATIC= # -Bstatic
+DYNAMIC= # -Bdynamic
+
+#
+# Zu den Linkflags von shared Libraries:
+#
+# -G Erzeugen eines Shared-Objects
+# -brtl aktiviert Runtime-Linking, wird von -G mitgesetzt
+# -bsymbolc loest Symbole innerhalb einer Library zur Linkzeit auf
+# -p0 ??? (ENOMANPAGESINSTALLABLEFROMCD)
+# -bnoquiet verbose
+#
+LINK=
+LINKFLAGS=
+LINKFLAGSAPPCUI= xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
+LINKFLAGSAPPGUI= xlC_r -qlanglvl=extended -qchars=signed -brtl -bnolibpath
+LINKFLAGSSHLCUI= makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
+LINKFLAGSSHLGUI= makeC++SharedLib_r -G -bsymbolic -bdynamic -bnolibpath -p0
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+
+# Reihenfolge der libs NICHT egal!
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=
+STDLIBCUIST=
+# application
+STDLIBGUIMT= # -lX11 -ldl
+STDLIBCUIMT= # -lX11 -ldl
+# shared library
+STDSHLGUIMT= -lX11 -ldl
+STDSHLCUIMT= -lX11 -ldl
+THREADLIB=
+
+LIBMGR= ar
+LIBFLAGS= -r
+# LIBEXT= .so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS= -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX= ap
+.IF "$(WORK_STAMP)"=="MIX364"
+DLLPOSTFIX=
+.ENDIF
+DLLPRE= lib
+DLLPOST= .so
+
+
+LDUMP= cppfilt /b /n /o /p
+
diff --git a/solenv/inc/unxbsda.mk b/solenv/inc/unxbsda.mk
new file mode 100644
index 000000000000..8a1adc6677a2
--- /dev/null
+++ b/solenv/inc/unxbsda.mk
@@ -0,0 +1,75 @@
+
+# mak file fuer unxbsda
+
+ASM=
+AFLAGS=
+
+cc= gcc -c
+CC= g++ -c
+CDEFS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+= -D_REENTRANT # -D_PTHREADS -DPOSIX_PTHREAD_SEMANTICS
+CDEFS+= -DNO_AUDIO -DPRINTER_DUMMY
+CFLAGS+= $(INCLUDE)
+CFLAGSCC= -fsigned-char
+CFLAGSCXX= -fsigned-char
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT= -fPIC
+CFLAGSSLOCUIMT= -fPIC
+CFLAGSPROF=
+CFLAGSDEBUG= -g
+CFLAGSDBGUTIL=
+CFLAGSOPT= -O2
+CFLAGSNOOPT=
+CFLAGSOUTOBJ= -o
+
+STATIC= -Bstatic
+DYNAMIC= -Bdynamic
+
+THREADLIB= pthread
+LINK= ld -e start -dc -dp
+LINKFLAGS=
+LINKFLAGSAPPGUI=
+LINKFLAGSSHLGUI=
+LINKFLAGSAPPCUI=
+LINKFLAGSSHLCUI=
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+
+STDOBJGUI= /usr/lib/crt0.o
+STDSLOGUI= /usr/lib/crt0.o
+STDOBJCUI= /usr/lib/crt0.o
+STDSLOCUI= /usr/lib/crt0.o
+STDLIBGUIST= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+STDLIBCUIST= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+STDLIBGUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+STDLIBCUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+STDSHLGUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+STDSHLCUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc
+
+LIBMGR= ar
+LIBFLAGS= -r
+LIBEXT= .a
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS= -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX= ba
+DLLPRE= lib
+DLLPOST= .so
+
+LDUMP=
+
diff --git a/solenv/inc/unxbsdi.mk b/solenv/inc/unxbsdi.mk
new file mode 100644
index 000000000000..d6f4239d0fde
--- /dev/null
+++ b/solenv/inc/unxbsdi.mk
@@ -0,0 +1,92 @@
+# mak file fuer unxbsdi
+
+ASM=
+AFLAGS=
+
+cc=gcc -c
+CC=g++ -c
+CDEFS+=-D_PTHREADS -D_REENTRANT
+CDEFS+=-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+=-DNO_INET_ON_DEMAND -DX86 -DNEW_SOLAR -DNCIfeature
+CFLAGS+=-w -c $(INCLUDE)
+CFLAGSCC=-pipe -mpentium
+CFLAGSEXCEPTIONS=-fexceptions
+CFLAGS_NO_EXCEPTIONS=-fno-exceptions
+CFLAGSCXX=-pipe -mpentium -fguiding-decls -frtti
+
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT= -fPIC
+CFLAGSSLOCUIMT= -fPIC
+CFLAGSPROF= -pg
+CFLAGSDEBUG= -g
+CFLAGSDBGUTIL=
+# die zusaetzlichen Optimierungsschalter schalten alle Optimierungen ein, die zwischen -O und -O2 liegen und
+# per Schalter einschaltbar sind. Dennoch gibt es einen Unterschied: einige Files im Writer werden
+# misoptimiert wenn -O2 eingeschaltet ist und waehrend die untenstehenden Schalter funktionieren.
+CFLAGSOPT=-O -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fstrength-reduce -fforce-mem -fcaller-saves -fgcse -frerun-cse-after-loop -frerun-loop-opt -fschedule-insns2 -fregmove -foptimize-register-move
+#CFLAGSOPT=-O2
+CFLAGSNOOPT=-O
+CFLAGSOUTOBJ=-o
+
+STATIC= -Bstatic
+DYNAMIC= -Bdynamic
+
+THREADLIB=
+LINK= gcc
+LINKFLAGS=
+.IF "$(PRJNAME)"=="osl" || "$(PRJNAME)"=="rtl"
+LINKFLAGSSHLGUI= -shared -nostdlib
+LINKFLAGSSHLCUI= -shared -nostdlib
+.ELSE
+LINKFLAGSSHLGUI= -shared -nostdlib /usr/lib/c++rt0.o
+LINKFLAGSSHLCUI= -shared -nostdlib /usr/lib/c++rt0.o
+.ENDIF
+LINKFLAGSAPPGUI= -L/nw386/dev/s/solenv/unxbsdi/lib -lpthread_init -lpthread
+LINKFLAGSAPPCUI= -L/nw386/dev/s/solenv/unxbsdi/lib -lpthread_init -lpthread
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+
+_SYSLIBS= -lpthread -lgcc -lc -lm
+_X11LIBS= -L/usr/X11R6/lib -lXext -lXt -lX11
+
+STDLIBCPP= -lstdc++
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+STDLIBGUIST= ${_X11LIBS} ${_SYSLIBS}
+STDLIBCUIST= ${_SYSLIBS}
+STDLIBGUIMT= ${_X11LIBS} ${_SYSLIBS}
+STDLIBCUIMT= ${_SYSLIBS}
+STDSHLGUIMT=
+STDSHLCUIMT=
+
+LIBMGR= ar
+LIBFLAGS= -r
+LIBEXT= .a
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS= -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX= bi
+DLLPRE= lib
+DLLPOST= .so.1.0
+
+LDUMP=
+
diff --git a/solenv/inc/unxfbsdi.mk b/solenv/inc/unxfbsdi.mk
new file mode 100644
index 000000000000..509d2e74404d
--- /dev/null
+++ b/solenv/inc/unxfbsdi.mk
@@ -0,0 +1,81 @@
+
+# mak file fuer unxfbsdi
+
+ASM=
+AFLAGS=
+
+cc= gcc -c
+CC= g++ -c
+CDEFS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+= -D_REENTRANT -D_PTHREADS -DPOSIX_PTHREAD_SEMANTICS -DNO_AUDIO
+CFLAGS+=$(INCLUDE)
+CFLAGS+= -I/usr/X11R6/include
+CFLAGSCC=
+CFLAGSCXX=
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT= -fPIC
+CFLAGSSLOCUIMT= -fPIC
+CFLAGSPROF= -pg
+CFLAGSDEBUG= -g
+CFLAGSDBGUTIL=
+CFLAGSOPT= -O2
+CFLAGSNOOPT= -O0
+CFLAGSOUTOBJ= -o
+
+STATIC= -Bstatic
+DYNAMIC= -Bdynamic
+
+THREADLIB=
+LINK= /usr/bin/gcc
+# -v -nostdlib
+LINKFLAGS=
+LINKFLAGSAPPGUI=
+LINKFLAGSSHLGUI= -shared
+LINKFLAGSAPPCUI=
+LINKFLAGSSHLCUI= -shared
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+
+_SYSLIBS= -L/usr/lib -lm -lgcc -lc_r -lgcc
+_X11LIBS= -L/usr/X11R6/lib -lXext -lXt -lX11
+_CXXLIBS= -L/usr/lib -lg++ -lstdc++
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+STDLIBGUIST= ${_X11LIBS} ${_CXXLIBS} ${_SYSLIBS}
+STDLIBCUIST= ${_CXXLIBS} ${_SYSLIBS}
+STDLIBGUIMT= ${_X11LIBS} ${_CXXLIBS} ${_SYSLIBS}
+STDLIBCUIMT= ${_CXXLIBS} ${_SYSLIBS}
+STDSHLGUIMT=
+STDSHLCUIMT=
+
+LIBMGR= ar
+LIBFLAGS= -r
+LIBEXT= .a
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS= -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX= fi
+DLLPRE= lib
+DLLPOST= .so.${UPD}.0
+
+LDUMP=
+
diff --git a/solenv/inc/unxhpgr.mk b/solenv/inc/unxhpgr.mk
new file mode 100644
index 000000000000..86783ed36dc6
--- /dev/null
+++ b/solenv/inc/unxhpgr.mk
@@ -0,0 +1,104 @@
+
+# mak file fuer unxhpxr
+ASM=
+AFLAGS=
+
+CDEFS+=-D_PTHREADS -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+=-DNO_AUDIO -DSYSV -D_POSIX_PTHREAD_SEMANTICS -D_HPUX_SOURCE -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_NOEH -D__STL_NO_EXCEPTIONS
+ #CDEFS+= -D__hppa__
+
+# obernervige Warnungen abschalten
+# 67 = invalid pragma name
+# 251 = An object cannot be deleted using a pointer of type 'void *' since the
+# type of the object allocated is unknown.
+# 370 = The friend declaration is not in the correct form for either a function or a class.
+# (future error)
+# 600 = Type specifier is omitted; "int" is no longer assumed.
+DISWARN=+W67,251,370,600
+
+#CC=/opt/aCC/bin/aCC
+#cc=/opt/ansic/bin/cc
+CC=g++
+cc=gcc
+CFLAGS= -Wall -w -nostdinc -c $(INCLUDE) -I/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/include
+CFLAGSCC=-pipe -fguiding-decls
+CFLAGSCXX=-pipe -fguiding-decls
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-fPIC
+CFLAGSSLOCUIMT=-fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=
+CFLAGSOUTOBJ=-o
+
+
+ #THREADLIB=-L/opt/dce/lib -ldce
+# use native aCC to build or link with shared libs, for the sake of
+# global class-instances
+
+STATIC = -Bstatic
+DYNAMIC = -Bdynamic
+
+#LINK=$(SOLARENV)/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.90.29/ld
+LINK=ld
+LINKFLAGS=-L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/threads -L/nw386/dev/s/solenv/unxhpgr/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57
+LINKFLAGSAPPGUI= /usr/lib/crt0.o
+LINKFLAGSSHLGUI= -b -noinhibit-exec -Bsymbolic -G $(THREADLIB)
+LINKFLAGSAPPCUI= /usr/lib/crt0.o
+LINKFLAGSSHLCUI= -b -noinhibit-exec -warn-once -Bsymbolic -G
+LINKFLAGSTACK=
+APPLINKSTATIC=-Bstatic
+APPLINKSHARED=-Bsymbolic
+APP_LINKTYPE=
+
+# reihenfolge der libs NICHT egal!
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST= -lX11 -lXt -lXmu -lXext -lsec -lcxx -ldld -lm
+STDLIBCUIST= -lsec -lcxx -ldld -lm
+#STDLIBGUIMT= -lX11 -lXt -lXmu -lXext -lcma -lsec -lcxx -ldld -lc_r -lm
+STDLIBGUIMT= -lX11 -lXt -lXmu -lXext -ldce
+STDLIBCUIMT= -lc_r -lgcc -ldce
+#STDSHLGUIMT= -lX11 -lXt -lXmu -lXext -lcma -lsec -lcxx -ldld -lc_r
+STDSHLGUIMT= -lcma -lsec -ldld -lc_r
+STDSHLCUIMT=
+# -L/opt/dce/lib -ldce -lsec -lcxx
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=
+RCFLAGS=
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=hg
+DLLPRE=lib
+DLLPOST=.sl
+
+LDUMP=c++filt
+
+.IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos"
+#CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS
+#CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO)
+#CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO)
+#LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO)
+.ENDIF
+
+#SHLLINKARCONLY=yes
+
diff --git a/solenv/inc/unxhpxr.mk b/solenv/inc/unxhpxr.mk
new file mode 100644
index 000000000000..41467137939c
--- /dev/null
+++ b/solenv/inc/unxhpxr.mk
@@ -0,0 +1,105 @@
+
+# mak file fuer unxhpxr
+ASM=
+AFLAGS=
+
+CDEFS+=-D_PTHREADS -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -DNO_AUDIO -DSYSV -D_POSIX_PTHREAD_SEMANTICS -D_HPUX_SOURCE -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_NOEH -D__STL_NO_EXCEPTIONS
+
+# kann c++ was c braucht??
+
+# obernervige Warnungen abschalten
+# 67 = invalid pragma name
+# 251 = An object cannot be deleted using a pointer of type 'void *' since the
+# type of the object allocated is unknown.
+# 370 = The friend declaration is not in the correct form for either a function or a class.
+# (future error)
+# 600 = Type specifier is omitted; "int" is no longer assumed.
+DISWARN=+W67,251,370,600
+
+#CC=/opt/aCC/bin/aCC
+#cc=/opt/ansic/bin/cc
+CC=aCC
+cc=cc
+CFLAGS= -c $(INCLUDE)
+CFLAGSCC= -Aa +e +Z
+CFLAGSCXX=$(DISWARN) +Z
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=
+CFLAGSSLOCUIMT=
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O
+CFLAGSNOOPT=
+CFLAGSOUTOBJ=-o
+
+
+THREADLIB=-L/opt/dce/lib -ldce
+# use native aCC to build or link with shared libs, for the sake of
+# global class-instances
+LINK=/opt/aCC/bin/aCC
+LINKFLAGS=
+LINKFLAGSAPPGUI=-Wl,+s
+LINKFLAGSSHLGUI=-b -L/usr/solar/lib -L/usr/contrib/X11R6/lib
+LINKFLAGSAPPCUI=-Wl,+s
+LINKFLAGSSHLCUI=-b -L/usr/contrib/X11R6/lib
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+
+# reihenfolge der libs NICHT egal!
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST= -lX11 -lXt -lXmu -lXext -lsec -lcxx -ldld -lm
+STDLIBCUIST= -lsec -lcxx -ldld -lm
+#STDLIBGUIMT= -lX11 -lXt -lXmu -lXext -lcma -lsec -lcxx -ldld -lc_r -lm
+STDLIBGUIMT= -lX11 -lXt -lXmu -lXext -lpthread
+STDLIBCUIMT= -lcma
+#STDSHLGUIMT= -lX11 -lXt -lXmu -lXext -lcma -lsec -lcxx -ldld -lc_r
+STDSHLCUIMT=
+# -L/opt/dce/lib -ldce -lsec -lcxx
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=
+RCFLAGS=
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=hr
+DLLPRE=lib
+DLLPOST=.sl
+
+LDUMP=c++filt
+
+.IF "$(WORK_STAMP)"!="MIX364"
+DLLPOSTFIX=ss
+.ELSE
+DLLPOSTFIX=
+.ENDIF
+
+
+.IF "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="vos"
+#CFLAGS += -D_PTHREADS -U_REENTRANT -U_POSIX_PTHREAD_SEMANTICS
+#CFLAGSSLO += -instances=extern -template=wholeclass -ptr$(SLO)
+#CFLAGSOBJ += -instances=global -template=wholeclass -ptr$(SLO)
+#LINKFLAGS+= -temp=/tmp -PIC -instances=extern -ptr$(SLO)
+.ENDIF
+
+#SHLLINKARCONLY=yes
+
diff --git a/solenv/inc/unxirxm.mk b/solenv/inc/unxirxm.mk
new file mode 100644
index 000000000000..0c0a1d570f1c
--- /dev/null
+++ b/solenv/inc/unxirxm.mk
@@ -0,0 +1,134 @@
+
+# mak-file fuer IRIX/mips
+ASM=
+AFLAGS=
+
+#
+# Zu den Compilerflags:
+#
+# -ptused : instantisiert Templates, wenn sie benutzt werden.
+# Der Schalter wurde neu eingefuegt, weil sich eine
+# statische Memberfunktion nicht instantisieren liess.
+# (ts&sdo/10.06.98)
+#
+cc= cc -KPIC -c -n32
+CC= CC -KPIC -c -n32 -ptused -OPT:Olimit=20523
+CFLAGS= $(INCLUDE)
+CFLAGS+= -DVCL -D_PTHREADS
+CFLAGS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+# 1009 ...nested comment is not allowed...
+# 1021 ...type qualifiers are meaningless in this declaration...
+# 1107 ...signed bit field of length 1...
+# 1110 ...statement not reached...
+# 1155 ...unrecognized #pragma...
+# 1171 ...expression has no effect...
+# 1183 ...comparison of unsigned integer with zero...
+# 1185 ...enumerated type mixed with another type...
+# 1188 ...type qualifier is meaningless on cast type...
+# 1233 ...explicit type is missing ("int" assumed)...
+# 1234 ...access control not specified...
+# 1257 ...NULL reference is not allowed...
+# 1440 ...initial value of reference to non-const must be an lvalue...
+# 1516 ...pointless comparison of unsigned integer with a negative constant
+# 1681 ...virtual function override intended...
+# 1682 ...is only partially overridden in class...
+CFLAGSCC= -Xcpluscomm -woff 1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682
+CFLAGSCXX= -woff 1009,1021,1107,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=
+CFLAGSSLOCUIMT=
+CFLAGSPROF=
+CFLAGSDEBUG= -g
+CFLAGSDBGUTIL=
+CFLAGSOPT= -O
+CFLAGSNOOPT=
+CFLAGSOUTOBJ= -o
+
+STATIC= -B static
+DYNAMIC= -B dynamic
+
+#
+# Zu den Linkflags:
+#
+# -update_registry <file> : fuer das Linken mehrerer shared Libraries
+# erforderlich.
+# **FUER LOKALE STAENDE FEHLT Z.ZT. EIN GULTIGER
+# MECHANISMUS**
+#
+LINK= CC
+LINKFLAGS=
+LINKFLAGSAPPGUI=-n32 -multigot
+LINKFLAGSSHLGUI=-B symbolic -soname $(DLLPRE)$(SHL$(TNR)TARGET)$(DLLPOSTFIX)$(DLLPOST) $(DYNAMIC) -shared -n32 -multigot -update_registry $(SOLARLIBDIR)/so_locations
+LINKFLAGSAPPCUI=-n32 -multigot
+LINKFLAGSSHLCUI=-B symbolic -soname $(DLLPRE)$(SHL$(TNR)TARGET)$(DLLPOSTFIX)$(DLLPOST) $(DYNAMIC) -shared -n32 -multigot -update_registry $(SOLARLIBDIR)/so_locations
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=
+LINKFLAGSOPT=
+APPLINKSTATIC=-Bstatic
+APPLINKSHARED=-Bsymbolic
+
+# Reihenfolge der Libraries NICHT egal!
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+# STDLIBGUIST= $(DYNAMIC) -lXt -lXmu -lX11 -lc -lm
+STDLIBGUIST= $(DYNAMIC) -lX11 -lc -lm
+STDLIBCUIST= $(DYNAMIC) -lc -lm
+# STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lXt -lXmu -lX11 -lc -lm
+STDLIBGUIMT= $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm
+STDLIBCUIMT= $(THREADLIB) $(DYNAMIC) -lc -lm
+# STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lXt -lXmu -lX11 -lc -lm
+STDSHLGUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lX11 -lc -lm
+STDSHLCUIMT= -L/usr/lib32 $(THREADLIB) $(DYNAMIC) -lc -lm
+THREADLIB= -lpthread
+
+LIBMGR= ar
+LIBFLAGS= -r
+# LIBEXT= .so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC= irc
+RCFLAGS= -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX= im
+.IF "$(WORK_STAMP)"=="MIX364"
+DLLPOSTFIX=
+.ENDIF
+DLLPRE= lib
+DLLPOST= .so
+
+
+LDUMP=
+
+
+# --------------------------
+# AUS DEM ALTEN ENVIRONMENT:
+# --------------------------
+#
+# Linken einer statischen Library:
+# ar -r ...
+#
+# Linken einer shared Library:
+# CC -B symbolic -soname <...> -B dynamic -shared -n32 -multigot
+# -update_registry <...> ...
+#
+# Linken einer Applikation mit statischen Librarys:
+# CC -B static ...
+#
+# Linken einer Applikation mit stared Librarys:
+# CC -n32 -multigot ...
+#
+
diff --git a/solenv/inc/unxlngp.mk b/solenv/inc/unxlngp.mk
new file mode 100644
index 000000000000..7467abbc8dd9
--- /dev/null
+++ b/solenv/inc/unxlngp.mk
@@ -0,0 +1,118 @@
+
+# mak file fuer unxlngp
+ASM=
+AFLAGS=
+
+# _PTHREADS is needed for the stl
+CDEFS+=-D_PTHREADS -D_REENTRANT -DGLIBC=2
+CDEFS+=-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+=-DNO_INET_ON_DEMAND -DX86 -DNEW_SOLAR
+
+# kann c++ was c braucht??
+
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+.IF "$(debug)"==""
+JAVA_RUNTIME=-ljava
+.ELSE
+JAVA_RUNTIME=-ljava_g
+.ENDIF
+.ENDIF
+
+CC=g++
+cc=gcc
+CFLAGS=-w -nostdinc -c $(INCLUDE)
+CFLAGSCC= -pipe
+CFLAGSCXX= -pipe -fguiding-decls -fno-rtti -fno-exceptions
+
+# Exceptions increase the size of shared libraries by 50% !!
+.IF "$(PRJNAME)"=="usr" || "$(PRJNAME)"=="uno" || "$(PRJNAME)"=="starone" || "$(PRJNAME)"=="schedule" || "$(PRJNAME)"=="one" || "$(SET_EXEPTIONS)"!=""
+CFLAGSCXX += -fexceptions
+.ENDIF
+
+#STDOBJVCL=$(L)$/salmain.o
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-fPIC
+CFLAGSSLOCUIMT=-fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=
+CFLAGSOUTOBJ=-o
+
+STATIC = -Bstatic
+DYNAMIC = -Bdynamic
+
+LINK=ld
+LINKFLAGS=-melf_i386 -z nodefs -dynamic-linker /lib/ld-linux.so.2 /nw386/dev/s/solenv/unxlngp/usr/lib/crti.o /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtbegin.o
+LINKFLAGSAPPGUI=/usr/lib/crt1.o
+LINKFLAGSSHLGUI=-noinhibit-exec -warn-once -G
+LINKFLAGSAPPCUI=/usr/lib/crt1.o
+LINKFLAGSSHLCUI=-noinhibit-exec -warn-once -G
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+.IF "$(NO_BSYMBOLIC)"==""
+.IF "$(PRJNAME)" != "envtest"
+LINKFLAGSSHLGUI+=-Bsymbolic
+LINKFLAGSSHLCUI+=-Bsymbolic
+.ENDIF
+.ENDIF # "$(NO_BSYMBOLIC)"==""
+
+# reihenfolge der libs NICHT egal!
+
+# standard C++ Library
+#
+# das statische dazulinken der libstdc++ macht jede shared library um 50k
+# (ungestrippt) oder so groesser, auch wenn sie ueberhaupt nicht gebraucht
+# wird. Da muessen wir uns was besseres ueberlegen.
+#
+# Da mit der neuen libc.so.6 (libc-2.0.5.so) sowieso eine System-Library
+# ausgeliefert werden muss, linken wir auch die libstdc++.so dynamisch.
+
+STDLIBCPP=-lstdc++
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+STDLIBGUIST=-Bdynamic -lcrypt -ldl -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+STDLIBCUIST=-Bdynamic -lcrypt -ldl -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+STDLIBGUIMT=-Bdynamic -lcrypt -ldl -lpthread -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+STDLIBCUIMT=-Bdynamic -lcrypt -ldl -lpthread -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+STDSHLGUIMT=-Bdynamic -lX11 -lXext -lcrypt -ldl -lpthread -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+STDSHLCUIMT=-Bdynamic -lcrypt -ldl -lpthread -lm -lgcc -lc /nw386/dev/s/solenv/unxlngp/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.29/crtend.o /nw386/dev/s/solenv/unxlngp/usr/lib/crtn.o
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS=-fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+.IF "$(WORK_STAMP)"!="LVM364"
+.IF "$(WORK_STAMP)"!="MIX364"
+DLLPOSTFIX=li
+.ENDIF
+.ENDIF
+DLLPRE=lib
+DLLPOST=.so
+
+LDUMP=cppfilt /b /n /o /p
+
diff --git a/solenv/inc/unxlnxi.mk b/solenv/inc/unxlnxi.mk
new file mode 100644
index 000000000000..79493f39c9dc
--- /dev/null
+++ b/solenv/inc/unxlnxi.mk
@@ -0,0 +1,148 @@
+
+# mak file fuer unxlnxi
+ASM=
+AFLAGS=
+
+# _PTHREADS is needed for the stl
+CDEFS+=-D_PTHREADS
+CDEFS+=-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE
+CDEFS+=-DNO_INET_ON_DEMAND -DX86 -DNEW_SOLAR
+
+# kann c++ was c braucht??
+
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+.IF "$(debug)"==""
+JAVA_RUNTIME=-ljava
+.ELSE
+JAVA_RUNTIME=-ljava_g
+.ENDIF
+.ENDIF
+
+CC=g++
+cc=gcc
+.IF "$(GLIBC)"=="2"
+CFLAGS=-w -c -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(SOLARINC)
+.ELSE
+CFLAGS=-w -c -I. -I/usr/solar/inc/pthread_provenzano -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(SOLARINC)
+.ENDIF
+CFLAGSCC=-pipe -mpentium -fguiding-decls
+CFLAGSCXX=-pipe -mpentium -fguiding-decls
+#STDOBJVCL=$(L)$/salmain.o
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-fpic
+CFLAGSSLOCUIMT=-fpic
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=-O2
+CFLAGSOUTOBJ=-o
+
+STATIC = -Bstatic
+DYNAMIC = -Bdynamic
+
+LINK=ld
+.IF "$(GLIBC)"=="2"
+LINKFLAGS=-melf_i386 -z nodefs -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crti.o /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtbegin.o
+.ELSE
+.IF "$(TARGETTHREAD)"=="MT"
+LINKFLAGS=-melf_i386 -z nodefs -dynamic-linker /lib/ld-linux.so.1 /usr/lib/crti.o /usr/lib/crtbegin.o -lpthread_init
+.ELSE
+LINKFLAGS=-melf_i386 -z nodefs -dynamic-linker /lib/ld-linux.so.1 /usr/lib/crti.o /usr/lib/crtbegin.o
+.ENDIF
+.ENDIF
+LINKFLAGSAPPGUI=/usr/lib/crt1.o
+LINKFLAGSSHLGUI=-noinhibit-exec -warn-once -Bsymbolic -G
+LINKFLAGSAPPCUI=/usr/lib/crt1.o
+LINKFLAGSSHLCUI=/usr/lib/crt1.o
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+# reihenfolge der libs NICHT egal!
+
+# standard C++ Library
+#
+# das statische dazulinken der libstdc++ macht jede shared library um 50k
+# (ungestrippt) oder so groesser, auch wenn sie ueberhaupt nicht gebraucht
+# wird. Da muessen wir uns was besseres ueberlegen.
+#
+# Da mit der neuen libc.so.6 (libc-2.0.5.so) sowieso eine System-Library
+# ausgeliefert werden muss, linken wir auch die libstdc++.so dynamisch.
+
+.IF "$(GLIBC)"=="2"
+STDLIBCPP=-lstdc++
+.ELSE
+STDLIBCPP=-Bstatic -lstdc++ -Bdynamic
+.ENDIF
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+.IF "$(WORK_STAMP)=="MIX364"
+.IF "$(GLIBC)"=="2"
+STDLIBGUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBCUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBGUIMT=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBCUIMT=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDSHLGUIMT=-Bdynamic -lX11 -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDSHLCUIMT=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+.ELSE
+STDLIBGUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBCUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBGUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBCUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDSHLGUIMT=-Bdynamic -lX11 -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDSHLCUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+.ENDIF
+.ELSE
+.IF "$(GLIBC)"=="2"
+STDLIBGUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBCUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBGUIMT=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDLIBCUIMT=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDSHLGUIMT=-Bdynamic -lX11 -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+STDSHLCUIMT=-Bdynamic -lm -lc -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/crtend.o /usr/lib/crtn.o
+.ELSE
+STDLIBGUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBCUIST=-Bdynamic -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBGUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDLIBCUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDSHLGUIMT=-Bdynamic -lX11 -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+STDSHLCUIMT=-Bdynamic -lpthread -lgcc -lm -lc -ldl /usr/lib/crtend.o /usr/lib/crtn.o
+.ENDIF
+.ENDIF
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS=-fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+.IF "$(WORK_STAMP)"!="LVM364"
+.IF "$(WORK_STAMP)"!="MIX364"
+DLLPOSTFIX=li
+.ENDIF
+.ENDIF
+DLLPRE=lib
+DLLPOST=.so
+
+LDUMP=cppfilt /b /n /o /p
+
diff --git a/solenv/inc/unxmacxp.mk b/solenv/inc/unxmacxp.mk
new file mode 100644
index 000000000000..ed2a3923ccbc
--- /dev/null
+++ b/solenv/inc/unxmacxp.mk
@@ -0,0 +1,90 @@
+# mk file fuer unxmacxp
+ASM=
+AFLAGS=
+
+LINKOUTPUT_FILTER=
+
+# _PTHREADS is needed for the stl
+CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DSTLPORT_VERSION=321 -D_USE_NAMESPACE=1
+
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+JAVAFLAGSDEBUG=-g
+JAVA_RUNTIME=-framework JavaVM
+.ENDIF
+
+CC=cc
+cc=cc
+objc=cc
+CFLAGS=-c $(INCLUDE)
+CFLAGSCC=-pipe
+
+OBJCFLAGS=
+
+CFLAGSEXCEPTIONS=-fexceptions
+CFLAGS_NO_EXCEPTIONS=-fno-exceptions
+
+CFLAGSCXX=-pipe -fno-for-scope -fpermissive
+
+CFLAGSOBJGUIST=-fPIC
+CFLAGSOBJCUIST=-fPIC
+CFLAGSOBJGUIMT=-fPIC
+CFLAGSOBJCUIMT=-fPIC
+CFLAGSSLOGUIMT=-fPIC
+CFLAGSSLOCUIMT=-fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=-O
+CFLAGSOUTOBJ=-o
+
+SOLARVERSHLLIBS=$(shell find $(SOLARVERSION)$/$(INPATH)$/lib -name $(DLLPRE)\*$(DLLPOST))
+LINK=cc
+LINKFLAGS=-dynamic -framework System -framework Cocoa -lcc_dynamic \
+ -lstdc++ $(foreach,i,$(SOLARVERSHLLIBS) '-dylib_file @executable_path$/..$/lib$/$(i:f):$i')
+LINKFLAGSAPPGUI=
+LINKFLAGSSHLGUI=-dynamiclib -install_name '@executable_path$/..$/lib$/$(@:f)' \
+ -Wl,-U,___progname -Wl,-U,_environ
+LINKFLAGSAPPCUI=
+LINKFLAGSSHLCUI=-dynamiclib -install_name '@executable_path$/..$/lib$/$(@:f)' \
+ -Wl,-U,___progname -Wl,-U,_environ
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+LINKVERSIONMAPFLAG=
+
+# Reihenfolge der libs NICHT egal!
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+STDLIBGUIST=
+STDLIBCUIST=
+STDLIBGUIMT=
+STDLIBCUIMT=
+STDSHLGUIMT=
+STDSHLCUIMT=
+
+LIBMGR=libtool
+LIBFLAGS=-o
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS=-fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=mxp
+DLLPRE=lib
+DLLPOST=.dylib
diff --git a/solenv/inc/unxscoi.mk b/solenv/inc/unxscoi.mk
new file mode 100644
index 000000000000..c66b5a1d9bd8
--- /dev/null
+++ b/solenv/inc/unxscoi.mk
@@ -0,0 +1,107 @@
+
+# mak file fuer wnticci
+ASM=
+AFLAGS=
+
+CDEFS+=-D_PTHREADS -D_REENTRANT
+CDEFS+=-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -DX86 -DNEW_SOLAR
+# kann c++ was c braucht??
+
+CC=/nw386/dev/s/solenv/unxscoi/bin/g++
+cc=/nw386/dev/s/solenv/unxscoi/bin/gcc
+CFLAGS=-w -c $(INCLUDE)
+CFLAGSCC=-mpentium
+CFLAGSCXX= -mpentium
+CFLAGSEXCEPTIONS=-fexceptions
+CFLAGS_NO_EXCEPTIONS=-fno-exceptions
+CFLAGSCXX=-mpentium -fguiding-decls -frtti
+
+CFLAGSOBJGUIST=-fPIC
+CFLAGSOBJCUIST=-fPIC
+CFLAGSOBJGUIMT=-fPIC
+CFLAGSOBJCUIMT=-fPIC
+CFLAGSSLOGUIMT=-fPIC
+CFLAGSSLOCUIMT=-fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=-O
+CFLAGSOUTOBJ=-o
+
+STATIC = -Wl,-Bstatic
+DYNAMIC = -Wl,-Bdynamic
+
+THREADLIB=
+LINK=/nw386/dev/s/solenv/unxscoi/bin/gcc
+LINKFLAGS=
+# SCO hat grosse Probleme mit fork/exec und einigen shared libraries
+# rsc2 muss daher statisch gelinkt werden
+.IF "$(PRJNAME)"=="rsc"
+LINKFLAGSAPPGUI=-L/nw386/dev/s/solenv/unxscoi/lib $(STATIC) -lpthread_init $(DYNAMIC)
+LINKFLAGSAPPCUI=-L/nw386/dev/s/solenv/unxscoi/lib $(STATIC) -lpthread_init $(DYNAMIC)
+.ELSE
+LINKFLAGSAPPGUI=-L/nw386/dev/s/solenv/unxscoi/lib -lpthread_init
+LINKFLAGSAPPCUI=-L/nw386/dev/s/solenv/unxscoi/lib -lpthread_init
+.ENDIF
+LINKFLAGSSHLGUI=-G -W,l,-Bsymbolic
+LINKFLAGSSHLCUI=-G -W,l,-Bsymbolic
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+# standard C++ Library
+#
+# das statische dazulinken der libstdc++ macht jede shared library um 50k
+# (ungestrippt) oder so groesser, auch wenn sie ueberhaupt nicht gebraucht
+# wird. Da muessen wir uns was besseres ueberlegen.
+STDLIBCPP=-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
+
+# reihenfolge der libs NICHT egal!
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=-lXt -lXext -lXmu -lX11 -ldl -lsocket -lm
+STDLIBCUIST=-ldl -lsocket -lm
+.IF "$(PRJNAME)"=="rsc"
+STDLIBGUIMT=-lXt -lXext -lXmu -lX11 $(STATIC) -lpthread $(DYNAMIC) -ldl -lsocket -lm
+STDLIBCUIMT=$(STATIC) -lpthread $(DYNAMIC) -ldl -lsocket -lm
+.ELSE
+STDLIBGUIMT=-lXt -lXext -lXmu -lX11 -lpthread -ldl -lsocket -lm
+STDLIBCUIMT=-lpthread -ldl -lsocket -lm
+.ENDIF
+#STDSHLGUIMT=-lXt -lXext -lXmu -lX11 -lpthread -ldl -lsocket -lm
+#STDSHLCUIMT=-lpthread -ldl -lsocket -lm
+
+STDLIBCPP= -lstdc++
+SHLLINKARCONLY=yes
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS=-fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=ci
+DLLPRE=lib
+DLLPOST=.so
+
+LDUMP=cppfilt /b /n /o /p
+
+.IF "$(WORK_STAMP)"!="MIX364"
+DLLPOSTFIX=ci
+.ELSE
+DLLPOSTFIX=
+.ENDIF
diff --git a/solenv/inc/unxsogs.mk b/solenv/inc/unxsogs.mk
new file mode 100644
index 000000000000..8add6c6da1a9
--- /dev/null
+++ b/solenv/inc/unxsogs.mk
@@ -0,0 +1,101 @@
+# mk file fuer unxsogs
+ASM=
+AFLAGS=
+
+SOLAR_JAVA=TRUE
+JAVAFLAGSDEBUG=-g
+
+# _PTHREADS is needed for the stl
+CDEFS+=-D_PTHREADS -D_REENTRANT -DSYSV -DSUN -DSUN4 -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=321
+
+CVER=C295
+CDEFS+=-DCVER=$(CVER)
+CDEFS+=-D_USE_NAMESPACE=1
+
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+.IF "$(debug)"==""
+JAVA_RUNTIME=-ljava
+.ELSE
+JAVA_RUNTIME=-ljava_g
+.ENDIF
+.ENDIF
+
+CC=g++
+cc=gcc
+CFLAGS=-w -c $(INCLUDE)
+CFLAGSCC= -pipe
+
+CFLAGSEXCEPTIONS=-fexceptions
+CFLAGS_NO_EXCEPTIONS=-fno-exceptions
+
+CFLAGSCXX= -pipe -fno-for-scope -fpermissive
+
+#STDOBJVCL=$(L)$/salmain.o
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-fPIC
+CFLAGSSLOCUIMT=-fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O2
+CFLAGSNOOPT=-O
+CFLAGSOUTOBJ=-o
+
+STATIC = -Wl,-Bstatic
+DYNAMIC = -Wl,-Bdynamic
+
+LINK=gcc
+LINKFLAGS=
+LINKFLAGSAPPGUI=-Wl,-export-dynamic
+LINKFLAGSSHLGUI=-shared
+LINKFLAGSAPPCUI=-Wl,-export-dynamic
+LINKFLAGSSHLCUI=-shared
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+LINKVERSIONMAPFLAG=-Wl,--version-script
+
+# Reihenfolge der libs NICHT egal!
+
+STDLIBCPP=-lstdc++
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+
+STDLIBGUIST=-lnsl -lsocket -ldl -lm
+STDLIBCUIST=-lnsl -lsocket -ldl -lm
+STDLIBGUIMT=-lpthread -ldl -lm
+STDLIBCUIMT=-lpthread -ldl -lm
+STDSHLGUIMT=-lpthread -lnsl -lsocket -ldl -lm
+STDSHLCUIMT=-lpthread -ldl -lm
+
+STDLIBGUIST+=-lXm -lXt -lX11
+STDLIBGUIMT+=-lXm -lXt -lX11
+
+LIBMGR=ar
+LIBFLAGS=-r
+# LIBEXT=.so
+
+IMPLIB=
+IMPLIBFLAGS=
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=irc
+RCFLAGS=-fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=ss
+DLLPRE=lib
+DLLPOST=.so
diff --git a/solenv/inc/verinfo.hrc b/solenv/inc/verinfo.hrc
new file mode 100644
index 000000000000..0691037a1909
--- /dev/null
+++ b/solenv/inc/verinfo.hrc
@@ -0,0 +1,243 @@
+/*************************************************************************
+#*
+#* $Workfile: verinfo.hrc $
+#*
+#* Ersterstellung PB 06.09.93
+#* Letzte Aenderung $Author: hr $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/verinfo.hrv $
+#*
+#* Copyright (c) 1990 - 1993, STAR DIVISION
+#*
+#************************************************************************/
+#ifndef _VERINFO_HRC
+#define _VERINFO_HRC
+
+// include ---------------------------------------------------------------
+
+#ifndef WIN32
+#include <ver.h>
+#else
+#include <winver.h>
+#endif
+
+// general preprocessor string management --------------------------------
+
+#ifndef PPSX
+#define PPSX(s) #s
+#endif
+#ifndef PPS
+#define PPS(s) PPSX(s)
+#endif
+
+#ifndef PPCX
+#define PPCX(s1, s2) s1##s2
+#endif
+#ifndef PPCAT
+#define PPCAT(s1, s2) PPCX(s1, s2)
+#endif
+
+// define order of date parts --------------------------------------------
+
+#if defined(LG_D)
+ #define VER_DMY
+#else
+ #define VER_YMD
+#endif
+
+// set VERVARIANT to 0 if not defined ------------------------------------
+
+#if !defined(VERVARIANT)
+ #define VERVARIANT 0
+#endif
+
+// define pre release state ----------------------------------------------
+
+#ifdef VER_CONCEPT
+ #define VER_PREL 1
+ #define VER_COUNT (0+VER_CONCEPT)
+ #define VER1 Concept (Level VER_CONCEPT)
+#endif
+
+#ifdef VER_ALPHA
+ #define VER_PREL 1
+ #define VER_COUNT (100+VER_ALPHA)
+ #define VER1 Alpha (Level VER_ALPHA)
+#endif
+
+#ifdef VER_BETA
+ #define VER_PREL 1
+ #define VER_COUNT (200+VER_BETA)
+ #define VER1 Beta (Level VER_BETA)
+#endif
+
+#ifdef VER_GAMMA
+ #define VER_PREL 1
+ #define VER_COUNT (300+VER_GAMMA)
+ #define VER1 Gamma (Level VER_GAMMA)
+#endif
+
+#ifdef VER_FINAL
+ #define VER_COUNT (500+VER_FINAL)
+ #if VER_FINAL==0
+ #undef VER1
+ #elif VER_FINAL==1
+ #define VER1 1
+ #elif VER_FINAL==2
+ #define VER1 2
+ #elif VER_FINAL==3
+ #define VER1 3
+ #elif VER_FINAL==4
+ #define VER1 4
+ #elif VER_FINAL==5
+ #define VER1 5
+ #elif VER_FINAL==6
+ #define VER1 6
+ #elif VER_FINAL==7
+ #define VER1 7
+ #elif VER_FINAL==8
+ #define VER1 8
+ #elif VER_FINAL==9
+ #define VER1 9
+ #elif VER_FINAL==10
+ #define VER1 a
+ #elif VER_FINAL==11
+ #define VER1 b
+ #elif VER_FINAL==12
+ #define VER1 c
+ #endif
+#endif
+
+#if SUBVERSION < 10
+ #define VER4 PPCAT(0, SUBVERSION)
+#else
+ #define VER4 SUBVERSION
+#endif
+
+#ifndef VER1
+#if VERVARIANT > 0
+ #define VER_LEVEL VERSION.VER4.VERVARIANT
+#else
+ #define VER_LEVEL VERSION.VER4
+#endif
+#else
+ #define VERC1(a, b, c) a.b##c
+ #define VERC2(a, b, c) VERC1(a, b, c)
+ #define VER_LEVEL VERC2(VERSION, VER4, VER1)
+#endif
+
+#if !defined(VER_DMY) && VER_DAY < 10
+ #define VER5 PPCAT(0, VER_DAY)
+#else
+ #define VER5 VER_DAY
+#endif
+
+// define month strings --------------------------------------------------
+
+#if VER_MONTH==1
+ #define VER2 Jan
+#elif VER_MONTH==2
+ #define VER2 Feb
+#elif VER_MONTH==3
+ #ifdef LG_D
+ #define VER2 M\344r
+ #else
+ #define VER2 Mar
+ #endif
+#elif VER_MONTH==4
+ #define VER2 Apr
+#elif VER_MONTH==5
+ #ifdef LG_D
+ #define VER2 Mai
+ #else
+ #define VER2 May
+ #endif
+#elif VER_MONTH==6
+ #define VER2 Jun
+#elif VER_MONTH==7
+ #define VER2 Jul
+#elif VER_MONTH==8
+ #define VER2 Aug
+#elif VER_MONTH==9
+ #define VER2 Sep
+#elif VER_MONTH==10
+ #ifdef LG_D
+ #define VER2 Okt
+ #else
+ #define VER2 Oct
+ #endif
+#elif VER_MONTH==11
+ #define VER2 Nov
+#elif VER_MONTH==12
+ #ifdef LG_D
+ #define VER2 Dez
+ #else
+ #define VER2 Dec
+ #endif
+#endif
+
+#ifdef LG_D
+ #define VERC3(a, b, c) a.b.c
+#else
+ #define VERC3(a, b, c) c-b-a
+#endif
+#define VERC4(a, b, c) VERC3(a, b, c)
+#define VER_DATE VERC4(VER5, VER2, VER_YEAR)
+
+#if VER_FIRSTYEAR==VER_YEAR
+ #define VER_YEARRANGE VER_FIRSTYEAR
+#else
+ #define VER_YEARRANGE VER_FIRSTYEAR-VER_YEAR
+#endif
+
+#if VER_FIRSTYEAR > 100
+#define VERC5(a) Copyright \251 a by
+#define VERC6(a) VERC5(a)
+#else
+#define VERC5(a) Copyright \251 19##a by
+#define VERC6(a) VERC5(a)
+#endif
+
+#define S_CRIGHT PPS(VERC6(VER_YEARRANGE))
+
+#ifdef LG_D
+#define S_VERSION PPS(Version VER_LEVEL vom VER_DATE)
+#else
+#define S_VERSION PPS(Version VER_LEVEL of VER_DATE)
+#endif
+
+#endif // _VERINFO_HRC
+
+/*************************************************************************
+
+ Source Code Control System - Update
+
+ $Log: not supported by cvs2svn $
+ Revision 1.3 2000/06/29 17:24:48 hjs
+ year 2000 bug
+
+ Revision 1.2 2000/06/29 16:02:40 hjs
+ use VERVARIANT
+
+ Revision 1.1 2000/02/10 12:22:20 hjs
+ versioninfo resources
+
+
+ Rev 1.4 21 Dec 1995 14:32:38 HJS
+ umstellung von ver_final; 1=1, 10=a etc.
+
+ Rev 1.3 25 Sep 1995 14:50:58 ER
+ moved to t:/solar/inc (s:\solenv\inc)
+
+ Rev 1.2 16 Mar 1995 16:10:20 ER
+ kurz vor der dritten Auslieferung befinden wir uns
+ nicht mehr in der Test/UI Phase..
+
+ Rev 1.1 11 Oct 1993 18:14:00 ER
+ VerInfo auch unter WNT
+
+ Rev 1.0 07 Sep 1993 17:26:52 ER
+ Initial revision.
+
+*************************************************************************/
diff --git a/solenv/inc/wnt.mk b/solenv/inc/wnt.mk
new file mode 100644
index 000000000000..e501ed40a55b
--- /dev/null
+++ b/solenv/inc/wnt.mk
@@ -0,0 +1,905 @@
+#*******************************************************************
+#*
+#* $Workfile: WNT.MK $
+#*
+#* Beschreibung Compiler und Systemabhaengige
+#* Entwicklungtools-Definitionen
+#* Fuer WindowsNT-Envrionments
+#*
+#* Ersterstellung MH 9.2.96
+#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:18 $
+#* $Revision: 1.1.1.1 $
+#*
+#* $Logfile: T:/solar/inc/wnt.mkv $
+#*
+#* Copyright (c) 1990-1996, STAR DIVISION
+#*
+#*******************************************************************
+
+SOLAR_JAVA=TRUE
+FULL_DESK=TRUE
+JAVAFLAGSDEBUG=-g
+
+# --- Windows-NT-Environment ---------------------------------------
+
+.IF "$(GUI)" == "WNT"
+
+# --- Ole2 Behandlung -------------
+
+.IF "$(DONT_USE_OLE2)"!=""
+OLE2=
+OLE2DEF=
+.ELSE
+OLE2=true
+OLE2DEF=-DOLE2
+.ENDIF
+
+# --- C/C++ defines fuer nt ----------------------------------------
+
+.IF "$(HBTOOLKIT)"!=""
+CDEFS+=-DHB_DEBUG
+.ENDIF
+
+# --- Base fuer WNT setzen -----------------------------------------
+
+.IF "$(GUI)"=="WNT"
+BASE=0x1100000
+RESBASE=0x1100000
+.IF "$(PRJNAME)"=="OSL" || "$(PRJNAME)"=="osl"
+BASE=0x1c000000
+.ENDIF
+.IF "$(PRJNAME)"=="RTL" || "$(PRJNAME)"=="rtl"
+BASE=0x1c100000
+.ENDIF
+.IF "$(PRJNAME)"=="VOS" || "$(PRJNAME)"=="vos"
+BASE=0x1c200000
+.ENDIF
+.IF "$(PRJNAME)"=="UCR" || "$(PRJNAME)"=="ucr"
+BASE=0x1c300000
+.ENDIF
+.IF "$(PRJNAME)"=="USR" || "$(PRJNAME)"=="usr"
+BASE=0x1c400000
+.ENDIF
+.IF "$(PRJNAME)"=="UNO" || "$(PRJNAME)"=="uno"
+BASE=0x1c500000
+.ENDIF
+.IF "$(PRJNAME)"=="SOT" || "$(PRJNAME)"=="sot"
+BASE=0x1c900000
+.ENDIF
+.IF "$(PRJNAME)"=="TOOLS" || "$(PRJNAME)"=="tools"
+BASE=0x1c800000
+.ENDIF
+.IF "$(PRJNAME)"=="VCL" || "$(PRJNAME)"=="vcl"
+BASE=0x1c600000
+.ENDIF
+.IF "$(PRJNAME)"=="TOOLKIT" || "$(PRJNAME)"=="toolkit"
+BASE=0x1ca00000
+.ENDIF
+.IF "$(PRJNAME)"=="TKT" || "$(PRJNAME)"=="tkt"
+BASE=0x1cd00000
+.ENDIF
+.IF "$(PRJNAME)"=="SJ" || "$(PRJNAME)"=="sj"
+BASE=0x1d000000
+.ENDIF
+.IF "$(PRJNAME)"=="STARONE" || "$(PRJNAME)"=="starone" || "$(PRJNAME)"=="ONE" || "$(PRJNAME)"=="one"
+BASE=0x1ce00000
+.ENDIF
+.IF "$(PRJNAME)"=="CHAOS" || "$(PRJNAME)"=="chaos"
+BASE=0x1d100000
+.ENDIF
+.IF "$(PRJNAME)"=="SVTOOLS" || "$(PRJNAME)"=="svtools"
+BASE=0x1cb00000
+.ENDIF
+.IF "$(PRJNAME)"=="SO3" || "$(PRJNAME)"=="so3"
+BASE=0x1d400000
+.ENDIF
+.IF "$(PRJNAME)"=="GOODIES" || "$(PRJNAME)"=="goodies"
+BASE=0x1d290000
+.ENDIF
+.IF "$(PRJNAME)"=="BASIC" || "$(PRJNAME)"=="basic"
+BASE=0x1d380000
+.ENDIF
+.IF "$(PRJNAME)"=="HM2" || "$(PRJNAME)"=="hm2"
+BASE=0x1c700000
+.ENDIF
+.IF "$(PRJNAME)"=="SFX2" || "$(PRJNAME)"=="sfx2"
+BASE=0x1d500000
+RESBASE=0x1a00000
+.ENDIF
+.IF "$(PRJNAME)"=="SVX" || "$(PRJNAME)"=="svx"
+RESBASE=0x1d70000
+.ENDIF
+.IF "$(PRJNAME)"=="OFFMGR" || "$(PRJNAME)"=="offmgr"
+BASE=0x1dc00000
+RESBASE=0x1a20000
+.ENDIF
+.IF "$(PRJNAME)"=="SIM" || "$(PRJNAME)"=="sim" || "$(PRJNAME)"=="simage3"
+BASE=0x1cd00000
+RESBASE=0x1a30000
+.ENDIF
+.IF "$(PRJNAME)"=="SCH" || "$(PRJNAME)"=="sch" || "$(PRJNAME)"=="schart3"
+BASE=0x1ce00000
+RESBASE=0x1a40000
+.ENDIF
+.IF "$(PRJNAME)"=="SM" || "$(PRJNAME)"=="sm" || "$(PRJNAME)"=="smath3"
+BASE=0x1cf00000
+RESBASE=0x1a50000
+.ENDIF
+.IF "$(PRJNAME)"=="SDB" || "$(PRJNAME)"=="sdb"
+BASE=0x1d000000
+.ENDIF
+.IF "$(PRJNAME)"=="INET" || "$(PRJNAME)"=="inet"
+BASE=0x1d800000
+.ENDIF
+.IF "$(PRJNAME)"=="SW" || "$(PRJNAME)"=="sw" || "$(PRJNAME)"=="swriter3"
+BASE=0x1e000000
+RESBASE=0x1a60000
+.ENDIF
+.IF "$(PRJNAME)"=="SC" || "$(PRJNAME)"=="sc" || "$(PRJNAME)"=="scalc3"
+BASE=0x1e800000
+RESBASE=0x1a70000
+.ENDIF
+.IF "$(PRJNAME)"=="SD" || "$(PRJNAME)"=="sd" || "$(PRJNAME)"=="sdraw3"
+BASE=0x1eb00000
+RESBASE=0x1a80000
+.ENDIF
+.IF "$(PRJNAME)"=="OFF" || "$(PRJNAME)"=="off" || "$(PRJNAME)"=="offmgr"
+BASE=0x1b900000
+RESBASE=0x1a90000
+.ENDIF
+.ENDIF
+
+.IF "$(GUI)"=="WNT"
+.IF "$(profile)" != ""
+.IF "$(WST)"!=""
+CAPLIB=$(LIBPRE) wst.lib
+.ELSE
+CAPLIB=$(LIBPRE) cap.lib
+.ENDIF
+.ENDIF
+.ENDIF
+
+# --- IBM Visual Age 3.5 Compiler ---
+.IF "$(COM)" == "ICC"
+.IF "$(CPU)" == "I"
+.IF "$(COMEX)"==""
+!INCLUDE <wnticci.mak>
+.ENDIF
+.ENDIF
+.ENDIF
+
+# --- IBM Visual Age 3.5 Compiler ---
+.IF "$(COM)" == "ICC"
+.IF "$(CPU)" == "I"
+.IF "$(COMEX)"=="a"
+!INCLUDE <wnticcia.mak>
+.ENDIF
+.ENDIF
+.ENDIF
+
+# --- Borland ---
+.IF "$(COM)" == "BLC"
+.IF "$(CPU)" == "I"
+
+ASM=tasm
+AFLAGS=/ml
+
+CC=bcc32
+CFLAGS=-c -H- -d -wbbf -weas -wucp -X $(MINUS_I)$(INCLUDE) $(OLE2DEF)
+CFLAGSCXX=-Pcxx -RT- -x-
+CFLAGSOBJGUIST=
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=
+CFLAGSSLOCUIMT=
+CFLAGSPROF=-v
+CFLAGSDEBUG=-v
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Ox
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-o
+
+LINK=tlink32
+LINKFLAGS=/n /m /L$(LIB)
+LINKFLAGSAPPGUI=
+LINKFLAGSSHLGUI=
+LINKFLAGSAPPCUI=
+LINKFLAGSSHLCUI=
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=/v
+LINKFLAGSOPT=/f
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=c0w32.obj
+STDSLOGUI=c0d32.obj
+STDOBJCUI=c0x32.obj
+STDSLOCUI=
+STDLIBGUIST=cw32.lib import32.lib
+STDLIBCUIST=import32.lib cw32.lib
+STDLIBGUIMT=cw32.lib import32.lib
+STDLIBCUIMT=import32.lib
+STDSHLGUIMT=cw32.lib import32.lib
+STDSHLCUIMT=
+
+LIBMGR=tlib
+LIBFLAGS=/C /P32
+
+IMPLIB=implib
+IMPLIBFLAGS=/c /i
+
+MAPSYM=tmapsym
+MAPSYMFLAGS=
+
+RC=brcc32
+RCFLAGS=-fo$@ -31 $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=bn
+
+.ENDIF
+.ENDIF # "$(COM)" == "BLC"
+
+
+# --- Microsoft Intel ---
+.IF "$(COM)"=="MSC"
+.IF "$(CPU)"=="I"
+
+.IF "$(WORK_STAMP)"=="SRC395x"
+debug=t
+.ENDIF
+
+# SOLAR JAva Unterstuetzung nur fuer wntmsci
+
+ASM=masm386
+AFLAGS=/ml
+OLE2ANSI=TRUE
+
+.IF "$(bndchk)" != ""
+CC=$(DEVROOT)\bcheck6\nmcl
+.ELSE
+.IF "$(truetime)" != ""
+CC=$(DEVROOT)\truetime\nmcl /NMttOn
+.ELSE
+.IF "$(syntax)"!=""
+CC=$(SOLARROOT)\gcc\h-i386-cygwin32\bin\i386-cygwin32-gcc
+.ELSE
+CC=cl
+.ENDIF
+.ENDIF
+.ENDIF
+
+.IF "$(stoponerror)" != ""
+CC+= /NMstoponerror
+.ENDIF
+
+.IF "$(nmpass)" != ""
+CC+= /NMpass
+.ENDIF
+
+.IF "$(ttinlines)" != ""
+CC+= /NMttInlines
+.ENDIF
+
+.IF "$(ttnolines)" != ""
+CC+= /NMttNoLines
+.ENDIF
+
+#.IF"$(bndchk)"==""
+.IF "$(COMEX)"=="3"
+CFLAGS+=-Zm200
+.ENDIF
+#.ENDIF
+
+#.IF defined ( product ) && !defined ( seg ) && !defined ( demo )
+.IF "$(product)" != ""
+.IF "$(seg)" == ""
+.IF "$(demo)" == ""
+CFLAGS+=-c -nologo -W3 -Gs -Gy -D_X86_=1 $(OLE2DEF) $(NOLOGO) $(MINUS_I)$(INCLUDE)
+.IF "$(bndchk)" == ""
+CFLAGS+= -Ob1
+.ENDIF
+.ENDIF
+.ENDIF
+.ELSE # ist keine product...
+CFLAGS+=-c -nologo -W3 -Gs -D_X86_=1 $(OLE2DEF) $(NOLOGO) $(MINUS_I)$(INCLUDE)
+.IF "$(bndchk)" == ""
+CFLAGS+= -Ob1
+.ENDIF
+.ENDIF
+
+.IF "$(bndchk)" != ""
+.IF "$(debug)" == ""
+CFLAGS+= -Z7
+.ENDIF
+.ENDIF
+
+.IF "$(truetime)" != ""
+.IF "$(debug)" == ""
+CFLAGS+= -Z7
+.ENDIF
+.ENDIF
+
+.IF "$(FULL_DESK)"!=""
+CFLAGS+=-DFULL_DESK
+RSCDEFS+=-DFULL_DESK
+.ENDIF
+
+#.IF DEFINED compinc
+#CFLAGS+= -Gi -Zi
+#.ENDIF
+
+#.IF DEFINED chkhxx
+#CFLAGS+= -DHEADER_WARNING
+#.ENDIF
+#.IF "$(UPD)"=="368"
+#.IF !DEFINED nocheck
+#CFLAGS+= -DHEADER_WARNING
+#.ENDIF
+#.ENDIF
+
+CFLAGSEXCEPTIONS=-GX
+CFLAGS_NO_EXCEPTIONS=
+
+CFLAGSCALL=-Gz
+
+CFLAGSCC=
+.IF "$(DYNAMIC_CRT)"!=""
+CFLAGSSLOGUIMT=-DWIN32 -D_MT -D_DLL
+CFLAGSSLOCUIMT=-DWIN32 -D_MT -D_DLL
+.IF "$(NO_DYNAMIC_OBJ)"==""
+CFLAGSOBJGUIST=-DWIN32 -D_DLL
+CFLAGSOBJCUIST=-DWIN32 -D_DLL
+CFLAGSOBJGUIMT=-DWIN32 -D_MT -D_DLL
+CFLAGSOBJCUIMT=-DWIN32 -D_MT -D_DLL
+.ELSE
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=-DWIN32
+CFLAGSOBJGUIMT=-DWIN32 -D_MT
+CFLAGSOBJCUIMT=-DWIN32 -D_MT
+.ENDIF
+.ELSE
+CFLAGSSLOGUIMT=-DWIN32 -D_MT
+CFLAGSSLOCUIMT=-DWIN32 -D_MT
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=-DWIN32
+CFLAGSOBJGUIMT=-DWIN32 -D_MT
+CFLAGSOBJCUIMT=-DWIN32 -D_MT
+.ENDIF
+CFLAGSPROF=-Gh -Zd -Fd$(MISC)\$(TARGET).PDB
+.IF "$(PDBTARGET)"!=""
+CFLAGSDEBUG=-Zi -Fd$(MISC)\$(PDBTARGET).PDB
+.ELSE
+CFLAGSDEBUG=-Zi -Fd$(MISC)\$(TARGET).PDB
+.ENDIF
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Ox
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-Fo
+
+.IF "$(syntax)"!=""
+CFLAGS=-v -fsyntax-only -Wall $(INCLUDE)
+# -I$(SOLARROOT)$/H-i386-cygwin32$/i386-cygwin32/include
+#plattform hart setzen - macht sonst ms cl.exe
+CDEFS+=-D_M_IX86
+# -D_MSC_VER=1100
+
+CDEFS+=-D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -D_cdecl=
+CFLAGSOUTOBJ=-o
+CFLAGSCALL=
+CFLAGSCXX=
+CFLAGSOPT=
+CFLAGSNOOPT=
+CFLAGSPROF=
+CFLAGSDEBUG=
+.ENDIF # "$(syntax)"!=""
+.IF "$(COMEX)"=="3"
+CDEFS+=-D__STL_NO_NEW_IOSTREAMS -DSTLPORT_VERSION=321 -D__STL_USE_ABBREVS -D_USE_NAMESPACE=1
+CDEFS+=-D_MT
+.ENDIF
+
+COMMENTFLAG=/COMMENT:"$(PRJNAME)_$(UPD)_$(DESTINATION_MINOR)_$(FUNCORD)_$(__DATE)_$(__TIME)_$(VCSID)_"
+
+
+LINK=link $(COMMENTFLAG) $(NOLOGO) /MACHINE:IX86
+
+.IF "$(PRODUCT)"!="full"
+.IF "$(PRODUCT)"!="demo"
+.IF "$(PRODUCT)"!="compact"
+#.IF !defined(DEBUG)
+.IF "$(debug)" == ""
+LINKFLAGS=/PDB:NONE
+.ENDIF
+.ENDIF
+.ENDIF
+.ELSE
+LINKFLAGS=/MAP /NODEFAULTLIB /ORDER:@$(FUNCORD) /OPT:NOREF
+#LINKFLAGS=/MAP /NODEFAULTLIB
+.ENDIF
+
+.IF "$(linkinc)" != ""
+LINKFLAGS=/NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv /INCREMENTAL:YES
+MAPFILE=
+.ELSE
+.IF "$(PRODUCT)"!="full"
+.IF "$(PRODUCT)"!="demo"
+.IF "$(PRODUCT)"!="compact"
+LINKFLAGS+= /NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv
+.ENDIF
+.ENDIF
+.ELSE # ist keine product...
+.IF "$(COMEX)"!="3"
+LINKFLAGS+= /RELEASE
+.ENDIF
+.ENDIF
+MAPFILE=-out:$$@
+.ENDIF
+
+.IF "$(bndchk)" != ""
+LINK=$(DEVROOT)\bcheck6\nmlink $(COMMENTFLAG) $(NOLOGO) /MACHINE:IX86
+#LINKFLAGS=/NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv /PDB:NONE
+LINKFLAGS=/NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv
+.ENDIF
+
+.IF "$(truetime)" != ""
+LINK=$(DEVROOT)\truetime\nmlink /NMttOn $(COMMENTFLAG) $(NOLOGO) /MACHINE:IX86
+#LINKFLAGS=/NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv
+LINKFLAGS=/NODEFAULTLIB /DEBUG:notmapped,full /DEBUGTYPE:cv /PDB:NONE
+.ENDIF
+
+LINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS,4.0
+LINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS,4.0 /DLL
+LINKFLAGSAPPCUI=/SUBSYSTEM:CONSOLE /BASE:0x1b000000
+LINKFLAGSSHLCUI=/SUBSYSTEM:CONSOLE /DLL
+LINKFLAGSTACK=/STACK:
+LINKFLAGSPROF=/DEBUG:mapped,partial /DEBUGTYPE:coff cap.lib
+LINKFLAGSWST=/DEBUG:mapped,partial /DEBUGTYPE:coff wst.lib /NODEFAULTLIB
+LINKFLAGSDEBUG=/DEBUG:notmapped,full /DEBUGTYPE:cv
+LINKFLAGSOPT=
+
+.IF "$(DYNAMIC_CRT)"!=""
+LIBCMT=msvcrt.lib
+LIBCIMT=msvcirt.lib
+OLDNAMES=oldnames.lib
+.ELSE
+.IF "$(PRODUCT)"==""
+LIBCMT=libcmt.lib
+LIBCIMT=libcimt.lib
+OLDNAMES=oldnames.lib
+.ELSE
+LIBCMT=libcmt.lib
+LIBCIMT=libcimt.lib
+OLDNAMES=oldnames.lib
+.ENDIF
+.ENDIF
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+.IF "$(DYNAMIC_CRT)"!=""
+STDLIBGUIST=$(LIBCMT) kernel32.lib user32.lib oldnames.lib
+STDLIBCUIST=$(LIBCMT) kernel32.lib oldnames.lib
+STDLIBGUIMT=$(LIBCMT) kernel32.lib user32.lib $(OLDNAMES)
+STDLIBCUIMT=$(LIBCMT) kernel32.lib $(OLDNAMES)
+STDSHLGUIMT=$(LIBCMT) kernel32.lib user32.lib $(OLDNAMES)
+STDSHLCUIMT=$(LIBCMT) kernel32.lib $(OLDNAMES)
+.ELSE
+STDLIBGUIST=libc.lib kernel32.lib user32.lib oldnames.lib
+STDLIBCUIST=libc.lib kernel32.lib oldnames.lib
+STDLIBGUIMT=$(LIBCMT) kernel32.lib user32.lib $(OLDNAMES)
+STDLIBCUIMT=$(LIBCMT) kernel32.lib $(OLDNAMES)
+STDSHLGUIMT=$(LIBCMT) kernel32.lib user32.lib $(OLDNAMES)
+STDSHLCUIMT=$(LIBCMT) kernel32.lib $(OLDNAMES)
+.ENDIF
+
+LIBMGR=lib $(NOLOGO)
+LIBFLAGS=
+
+IMPLIB=lib
+IMPLIBFLAGS=-machine:IX86
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r -DWIN32 -fo$@ $(RCFILES)
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+
+.IF "$(WORK_STAMP)"=="CVT364"
+DLLPOSTFIX=nj
+.ELSE
+DLLPOSTFIX=mi
+.ENDIF
+
+.ENDIF
+.ENDIF # "$(COM)"=="MSC"
+
+# --- Microsoft Alpha ---
+.IF "$(COM)" == "MSC"
+.IF "$(CPU)" == "A"
+
+ASM=masm386
+AFLAGS=/ml
+
+CC=claxp
+CFLAGS=-c -W3 -Gz -Gs -D_ALPHA_=1 $(OLE2DEF)
+CFLAGSCXX=-GX-
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=-DWIN32
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-DWIN32
+CFLAGSSLOCUIMT=
+CFLAGSPROF=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDEBUG=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Ox
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-Fo
+
+LINK=link
+LINKFLAGS=/MAP /NODEFAULTLIB /MACHINE:alpha
+.IF "$(seg)" != ""
+LINKFLAGS=$(LINKFLAGS) /ORDER:@$(FUNCORD)
+.ENDIF
+LINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS /BASE:0x1c000000
+LINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS /DLL
+LINKFLAGSAPPCUI=/SUBSYSTEM:CONSOLE /BASE:0x1c000000
+LINKFLAGSSHLCUI=/SUBSYSTEM:CONSOLE /DLL
+LINKFLAGSTACK=/STACK:
+LINKFLAGSPROF=/DEBUG:partial /DEBUGTYPE:coff
+LINKFLAGSDEBUG=/DEBUG:notmapped,full /DEBUGTYPE:cv
+LINKFLAGSOPT=
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=libc.lib kernel32.lib user32.lib
+STDLIBCUIST=libc.lib kernel32.lib
+STDLIBGUIMT=libcmt.lib kernel32.lib user32.lib
+STDLIBCUIMT=libcmt.lib kernel32.lib
+STDSHLGUIMT=libcmt.lib kernel32.lib user32.lib
+STDSHLCUIMT=libcmt.lib kernel32.lib
+
+LIBMGR=lib
+LIBFLAGS=
+
+IMPLIB=lib
+IMPLIBFLAGS=-machine:Alpha_AXP
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r -DWIN32 -fo$@ $(RCFILES)
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=ma
+
+.ENDIF
+.ENDIF
+
+
+# --- Microsoft PowerPC ---
+.IF "$(COM)" == "MSC"
+.IF "$(CPU)" == "P"
+
+ASM=masm386
+AFLAGS=/ml
+
+CC=cl
+CFLAGS=-c -D_PPC_=1 -DPPC $(OLE2DEF)
+CFLAGSCXX=-GX-
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=-DWIN32
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-DWIN32 -D_MT
+CFLAGSSLOCUIMT= -D_MT
+CFLAGSPROF=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDEBUG=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Ox
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-Fo
+
+LINK=link
+LINKFLAGS=/MAP /NODEFAULTLIB /MACHINE:PPC /FORCE:MULTIPLE
+.IF "$(seg)" != "" # hier fehlten die schliessenden " RT
+LINKFLAGS=$(LINKFLAGS) /ORDER:@$(FUNCORD)
+.ENDIF
+LINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS /BASE:0x1c000000
+LINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS /DLL
+LINKFLAGSAPPCUI=/SUBSYSTEM:CONSOLE /BASE:0x1c000000
+LINKFLAGSSHLCUI=/SUBSYSTEM:CONSOLE /DLL
+LINKFLAGSTACK=/STACK:
+LINKFLAGSPROF=/DEBUG:partial /DEBUGTYPE:coff
+LINKFLAGSDEBUG=/DEBUG:notmapped,full /DEBUGTYPE:cv
+LINKFLAGSOPT=
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=libc.lib kernel32.lib user32.lib oldnames.lib
+STDLIBCUIST=libc.lib kernel32.lib oldnames.lib
+STDLIBGUIMT=libcmt.lib kernel32.lib user32.lib oldnames.lib
+STDLIBCUIMT=libcmt.lib kernel32.lib oldnames.lib
+STDSHLGUIMT=libcmt.lib kernel32.lib user32.lib oldnames.lib
+STDSHLCUIMT=libcmt.lib kernel32.lib oldnames.lib
+
+LIBMGR=lib
+LIBFLAGS=
+
+IMPLIB=lib
+IMPLIBFLAGS=-machine:PPC
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r -DWIN32 -fo$@ $(RCFILES)
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=mp
+
+.ENDIF
+.ENDIF # "$(COM)" == "MSC"
+
+# --- Microsoft Mips ---
+.IF "$(COM)" == "MSC"
+.IF "$(CPU)" == "M"
+
+ASM=masm386
+AFLAGS=/ml
+
+CC=cl
+CFLAGS=-c -D_MIPS_=1 -I$(COMPATH)\inc $(OLE2DEF)
+CFLAGSCXX=-GX-
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=
+CFLAGSOBJGUIMT=-DWIN32
+CFLAGSOBJCUIMT=
+CFLAGSSLOGUIMT=-DWIN32 -D_MT
+CFLAGSSLOCUIMT= -D_MT
+CFLAGSPROF=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDEBUG=-Zi -Fd$(MISC)\$(TARGET).PDB
+CFLAGSDBGUTIL=
+CFLAGSOPT=-Ox
+CFLAGSNOOPT=-Od
+CFLAGSOUTOBJ=-Fo
+
+LINK=link
+LINKFLAGS=/MAP /NODEFAULTLIB /MACHINE:mips /FORCE:MULTIPLE
+.IF "$(seg)" != ""
+LINKFLAGS=$(LINKFLAGS) /ORDER:@$(FUNCORD)
+.ENDIF
+LINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS /BASE:0x1c000000
+LINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS /DLL
+LINKFLAGSAPPCUI=/SUBSYSTEM:CONSOLE /BASE:0x1c000000
+LINKFLAGSSHLCUI=/SUBSYSTEM:CONSOLE /DLL
+LINKFLAGSTACK=/STACK:
+LINKFLAGSPROF=/DEBUG:partial /DEBUGTYPE:coff
+LINKFLAGSDEBUG=/DEBUG:notmapped,full /DEBUGTYPE:cv
+LINKFLAGSOPT=
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=libc.lib kernel32.lib user32.lib oldnames.lib
+STDLIBCUIST=libc.lib kernel32.lib oldnames.lib
+STDLIBGUIMT=libcmt.lib kernel32.lib user32.lib oldnames.lib
+STDLIBCUIMT=libcmt.lib kernel32.lib oldnames.lib
+STDSHLGUIMT=libcmt.lib kernel32.lib user32.lib oldnames.lib
+STDSHLCUIMT=libcmt.lib kernel32.lib oldnames.lib
+
+LIBMGR=lib
+LIBFLAGS=
+
+IMPLIB=lib
+IMPLIBFLAGS=-machine:MIPS
+
+MAPSYM=
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-r -DWIN32 -fo$@ $(RCFILES)
+RCLINK=rc
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=mm
+
+.ENDIF
+.ENDIF
+
+# --- Watcom ---
+.IF "$(COM)" == "WTC"
+
+ASM=wasm
+AFLAGS=/ml /p4r
+
+CC=wcl386
+CFLAGS=-c -Zp4 -W3 -Zl -Zld $(MINUS_I)$(INCLUDE) -bt=nt -zq -s
+CFLAGSCXX=-cc++ -xst
+CFLAGSOBJGUIST= #-Alfd -GA -GEfs
+CFLAGSOBJCUIST=-
+CFLAGSOBJGUIMT=-bm #-Alfw -GA -GEd
+CFLAGSOBJCUIMT=-bm
+CFLAGSSLOGUIMT=-bm -bd #-Alfw -GD -GEfd
+CFLAGSSLOCUIMT=-bm -bd
+CFLAGSPROF=
+CFLAGSDEBUG=/d3
+CFLAGSDBGUTIL=
+CFLAGSOPT=-otexan -4r
+CFLAGSNOOPT=-od -4r
+CFLAGSOUTOBJ=-Fo
+
+LINK=wlink
+LINKFLAGS=op symf op caseexact op eliminate op map
+LINKFLAGSAPPGUI=sys nt_win
+LINKFLAGSSHLGUI=sys nt_dll INITINSTANCE TERMINSTANCE
+LINKFLAGSAPPCUI=sys nt
+LINKFLAGSSHLCUI=sys nt_dll
+LINKFLAGSTACK=op stack=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=debug all
+LINKFLAGSOPT=
+
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=libr clib3r.lib libr plib3r.lib
+STDLIBCUIST=libr clib3r.lib libr plib3r.lib
+STDLIBGUIMT=libr clib3r.lib libr plib3r.lib
+STDLIBCUIMT=libr clib3r.lib libr plib3r.lib
+STDSHLGUIMT=libr clib3r.lib libr plibmt3r.lib libr math387r.lib
+STDSHLCUIMT=libr clib3r.lib libr plibmt3r.lib libr matg387r.lib
+
+LIBMGR=wlib
+LIBFLAGS=/p=64 /c /m
+
+IMPLIB=echo
+IMPLIBFLAGS=
+
+MAPSYM=mapsym
+MAPSYMFLAGS=
+
+RC=wrc
+RCFLAGS=-r -fo$@ $(RCFILES)
+RCLINK=wrc
+RCLINKFLAGS=-k -t -31
+RCSETVERSION=wrc -k -t -31 $@
+
+DLLPOSTFIX=wn
+
+.ENDIF
+
+# --- Cygnus Gnu Compiler ---
+.IF "$(COM)" == "GCC"
+.IF "$(CPU)" == "I"
+
+ASM=
+AFLAGS=
+
+CC=gcc
+### Der gcc vertraegt kein Semikolon im Include-Pfad RT
+# old:
+#CFLAGS=-c -Wall -I$(INCLUDE) $(OLE2DEF)
+# new:
+CYGINC=$(INCLUDE:s/-I /-I/:+" ":s/;/ -I/:s/-I //:s/ / /)
+CFLAGS=-c -Wall -I$(CYGINC) $(OLE2DEF)
+###
+CFLAGS+=-nostdinc -fPIC
+CFLAGSCC=-pipe -mpentium
+CFLAGSCXX=-pipe -mpentium -fguiding-decls
+CFLAGSEXCEPTIONS=-fexceptions
+CFLAGS_NO_EXCEPTIONS=-fno-exceptions
+
+CFLAGSOBJGUIST=-DWIN32
+CFLAGSOBJCUIST=-DWIN32
+CFLAGSOBJGUIMT=-DWIN32
+CFLAGSOBJCUIMT=-DWIN32
+CFLAGSSLOGUIMT=-DWIN32 -fPIC
+CFLAGSSLOCUIMT=-DWIN32 -fPIC
+CFLAGSPROF=
+CFLAGSDEBUG=-g
+CFLAGSDBGUTIL=
+CFLAGSOPT=-O3
+CFLAGSNOOPT=-O
+CFLAGSOUTOBJ=-o
+#plattform hart setzen
+CDEFS+=-D_M_IX86
+
+STATIC= -static
+DYNAMIC= -dynamic
+
+LINK=ld
+CYGLIB=$(LIB:s/;/ -L/)
+LINKFLAGS=-nodefaultlibs -L$(CYGLIB)
+LINKFLAGSAPPGUI=$(COMPATH)$/i386-mingw32$/lib$/crt1.o
+LINKFLAGSSHLGUI=--warn-once
+LINKFLAGSAPPCUI=$(COMPATH)$/i386-mingw32$/lib$/crt1.o
+LINKFLAGSSHLCUI=--warn-once
+LINKFLAGSTACK=
+LINKFLAGSPROF=
+LINKFLAGSDEBUG=-g
+LINKFLAGSOPT=
+
+STDLIBCPP=-lstdc++
+
+STDOBJVCL=$(L)$/salmain.obj
+STDOBJGUI=
+STDSLOGUI=
+STDOBJCUI=
+STDSLOCUI=
+STDLIBGUIST=-lmingw32 -lgcc -lmoldname -dynamic -ldl -lm -lkernel32 -luser32
+STDLIBCUIST=-lmingw32 -lgcc -lmoldname -dynamic -ldl -lm -lkernel32
+STDLIBGUIMT=-dynamic -ldl -lm -lmingw32 -lkernel32 -luser32 -lgcc -lmoldname
+STDLIBGUIMT+= -lmsvcrt -lcrtdll
+STDLIBCUIMT=-lmingw32 -lgcc -lmoldname -dynamic -ldl -lpthread -lm -lkernel32
+STDSHLGUIMT=-dynamic -ldl -lm -lkernel32 -luser32 -lmingw32 -lgcc
+STDSHLGUIMT+= -lmoldname -lmsvcrt -lcrtdll
+STDSHLCUIMT=-dynamic -ldl -lm -lkernel32
+
+LIBMGR=ar
+LIBFLAGS=-rsu
+
+IMPLIB=ld
+IMPLIBFLAGS=
+
+MAPSYM=tmapsym
+MAPSYMFLAGS=
+
+RC=rc
+RCFLAGS=-DWIN32 -fo$@ $(RCFILES)
+RCLINK=
+RCLINKFLAGS=
+RCSETVERSION=
+
+DLLPOSTFIX=gi
+
+.ENDIF
+.ENDIF
+# --- Windows-NT Allgemein ---
+HC=hc
+HCFLAGS=
+PATH_SEPERATOR*=;
+DLLPRE=
+DLLPOST=.dll
+EXECPOST=.exe
+SCPPOST=.inf
+DLLDEST=$(BIN)
+
+.IF "$(SOLAR_JAVA)"!=""
+JAVADEF=-DSOLAR_JAVA
+.IF "$(debug)"==""
+JAVA_RUNTIME=javai.lib
+.ELSE
+JAVA_RUNTIME=javai_g.lib
+.ENDIF
+.ENDIF
+
+.ENDIF
+
+.IF "$(TFDEF)"!=""
+CFLAGS+=-D$(TFDEF)
+.ENDIF