Ignore:
Timestamp:
Oct 9, 2006, 5:32:58 PM (15 years ago)
Author:
Eugene Romanenko
Message:

Better solution for #78, move GUI to DLL, executor sets BeginLibPath? and loads GUI DLL (closes #78)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/makefile

    r130 r138  
    2020
    2121.CPP.OBJ:
    22      WPP386 @make.cfg -fo$@ $<
     22     WPP386 @make.cfg -xs -fo$@ $<
    2323
    2424.C.OBJ:
    25      WCC386 -zq -zp=4 -bm -sg -fo$@ $<
     25     WCC386 @make.cfg -fo$@ $<
    2626
    2727.idl.xh:
     
    2929
    3030
    31 all: make.cfg Lucide.exe lcd.exe
     31all: make.cfg lucide.dll Lucide.exe
    3232   DEL MAKE.CFG
    3333
     
    3939       print.obj stbrowser.obj
    4040
    41 Lucide.exe: $(OBJS) Lucide.res
     41lucide.dll: $(OBJS) lucide.res
    4242  copy &&|
    4343option quiet
    44 system $(BMODE)
    45 option map=$(OBJDIR)\lucide
     44system os2v2 dll initinstance terminstance
     45option map=$(OBJDIR)\lucide_dll
    4646option statics
    47 file $(OBJDIR)\Lucide.obj
     47file $(OBJDIR)\lucide.obj
    4848file $(OBJDIR)\luutils.obj
    4949file $(OBJDIR)\clipbrd.obj
     
    6969file $(OBJDIR)\messages.obj
    7070file $(OBJDIR)\stbrowser.obj
    71 name $(EXEDIR)\Lucide
     71name $(EXEDIR)\lucide
    7272lib ..\plugins\ludoc\ludoc
    7373lib somtk
     74export LucideMain
    7475| tmpmake.lnk >NUL
    7576    wlink @tmpmake.lnk
    76     RC -n $(OBJDIR)\Lucide.res $(EXEDIR)\Lucide.exe >NUL
     77    RC -n $(OBJDIR)\lucide.res $(EXEDIR)\lucide.dll >NUL
    7778    del tmpmake.lnk
    7879
    7980
    80 lcd.exe: lcd.obj lcd.res
     81Lucide.exe: lcd.obj lcd.res
    8182  copy &&|
    8283option quiet
    83 system os2v2_pm
    84 option map=$(OBJDIR)\lcd
     84system $(BMODE)
     85option map=$(OBJDIR)\lucide
    8586option statics
    8687file $(OBJDIR)\lcd.obj
    87 name $(EXEDIR)\lcd
     88name $(EXEDIR)\Lucide
    8889| tmpmake.lnk >NUL
    8990    wlink @tmpmake.lnk
    90     RC -n $(OBJDIR)\lcd.res $(EXEDIR)\lcd.exe >NUL
     91    RC -n $(OBJDIR)\lcd.res $(EXEDIR)\Lucide.exe >NUL
    9192    del tmpmake.lnk
    9293
     
    101102Lucide.cpp: ..\plugins\ludoc\ludoc.xh
    102103
    103 Lucide.obj:         Lucide.cpp         makefile
     104Lucide.obj:         Lucide.cpp
    104105luutils.obj:        luutils.cpp
    105106clipbrd.obj:        clipbrd.cpp
     
    125126wwbtn.obj:          wwbtn.c
    126127stbrowser.obj:      stbrowser.c
    127 lcd.obj:            lcd.c
     128lcd.obj:            lcd.c               makefile
    128129
    129130
     
    133134-zp=4
    134135-bm
    135 -xs
    136136-sg
    137137-DVERSION="$(VERSION)" 
Note: See TracChangeset for help on using the changeset viewer.