Use makedist.mif even in Watcom. Less elegant in some respects, but I

think it's the right thing.
This commit is contained in:
William McBrine
2006-08-09 07:51:14 +00:00
parent 02a6903153
commit 7aff3692e3
5 changed files with 25 additions and 32 deletions

View File

@@ -39,10 +39,13 @@ CCFLAGS = /bt=$(TARGET) /zq /wx /m$(MODEL) $(CFLAGS) $(CPPFLAGS)
LIBEXE = wlib /q /n /t
PLATFORM = 16 bit DOS
ARCNAME = pdc$(VER)16w
!include $(PDCURSES_HOME)\watcom.mif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $@ @$(osdir)\wccdos.lrf
PLATFORM1 = Watcom C++ 16-bit DOS
PLATFORM2 = Open Watcom 1.3 for 16-bit DOS
ARCNAME = pdc$(VER)16w
!include $(PDCURSES_HOME)\makedist.mif

View File

@@ -38,10 +38,13 @@ CCFLAGS = /bt=$(TARGET) /zq /wx /mf $(CFLAGS) $(CPPFLAGS)
LIBEXE = wlib /q /n /t
PLATFORM = 32 bit DOS
ARCNAME = pdc$(VER)32w
!include $(PDCURSES_HOME)\watcom.mif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $@ @$(osdir)\wccdos.lrf
PLATFORM1 = Watcom C++ 32-bit DOS
PLATFORM2 = Open Watcom 1.3 for 32-bit DOS
ARCNAME = pdc$(VER)32w
!include $(PDCURSES_HOME)\makedist.mif

View File

@@ -38,10 +38,13 @@ CCFLAGS = /bt=$(TARGET) /wx /s /zq $(CFLAGS) $(CPPFLAGS)
LIBEXE = wlib /q /n /b /c /t
PLATFORM = OS/2
ARCNAME = pdc$(VER)_wcc_os2
!include $(PDCURSES_HOME)\watcom.mif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $@ $(LIBOBJS) $(PDCOBJS)
PLATFORM1 = Watcom C++ OS/2
PLATFORM2 = Open Watcom 1.3 for OS/2
ARCNAME = pdc$(VER)_wcc_os2
!include $(PDCURSES_HOME)\makedist.mif

View File

@@ -53,23 +53,4 @@ ptest.exe: ptest.obj $(LIBCURSES) $(LIBPANEL)
tuidemo.exe: tuidemo.obj tui.obj $(LIBCURSES)
$(LINK) $(LDFLAGS) n $@ f tuidemo.obj f tui.obj l $(LIBCURSES)
dist: .symbolic $(PDCLIBS)
%write file_id.diz PDCurses $(VERDOT) for Watcom C++ $(PLATFORM)
%append file_id.diz ------------------------------------------
%append file_id.diz Public Domain Curses library for
%append file_id.diz Open Watcom 1.3 for $(PLATFORM).
%append file_id.diz Source available in PDCURS$(VER).ZIP
%append file_id.diz Public Domain.
%write flist $(PDCURSES_HOME)\README
%append flist $(PDCURSES_HOME)\HISTORY
%append flist $(PDCURSES_HOME)\maintain.er
%append flist $(PDCURSES_HOME)\curses.h
%append flist $(PDCURSES_HOME)\curspriv.h
%append flist $(PDCURSES_HOME)\panel.h
%append flist $(PDCURSES_HOME)\term.h
%append flist $(LIBCURSES)
%append flist $(LIBPANEL)
%append flist file_id.diz
zip -9jX $(ARCNAME) -@ <flist
del flist
del file_id.diz
dist: .symbolic

View File

@@ -38,10 +38,13 @@ CCFLAGS = /ei /zq /wx $(CFLAGS) $(CPPFLAGS)
LIBEXE = wlib /q /n /t
PLATFORM = Win32
ARCNAME = pdc$(VER)_wcc_w32
!include $(PDCURSES_HOME)\watcom.mif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $@ $(LIBOBJS) $(PDCOBJS)
PLATFORM1 = Watcom C++ Win32
PLATFORM2 = Open Watcom 1.3 for Win32
ARCNAME = pdc$(VER)_wcc_w32
!include $(PDCURSES_HOME)\makedist.mif