diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-11-10 09:00:41 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-11-11 21:38:48 +0100 |
commit | 4f85a1eb76d1e7109bcc60ba6f3262a5654ac61b (patch) | |
tree | e996818c6aa6b6f702a6c805c447c20724eff265 /payloads/libpayload/curses/PDCurses/dos/wccdos16.mak | |
parent | 2ea24dabd658b8396e0abf79318a538ef0f3a5b8 (diff) |
libpayload: Rename PDCurses-3.4 to PDCurses
Change-Id: If881ec130833c7e7e62caa3d31e350a531f5bc8e
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/12398
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses/dos/wccdos16.mak')
-rw-r--r-- | payloads/libpayload/curses/PDCurses/dos/wccdos16.mak | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/payloads/libpayload/curses/PDCurses/dos/wccdos16.mak b/payloads/libpayload/curses/PDCurses/dos/wccdos16.mak new file mode 100644 index 0000000000..a0cbb22327 --- /dev/null +++ b/payloads/libpayload/curses/PDCurses/dos/wccdos16.mak @@ -0,0 +1,48 @@ +# Watcom WMAKE Makefile for PDCurses library - DOS (16 bit) Watcom C/C++ 10.6+ +# +# Usage: wmake -f [path\]wccdos16.mak [DEBUG=Y] [target] +# +# where target can be any of: +# [all|demos|pdcurses.lib|testcurs.exe...] + +# Change the memory MODEL here, if desired +MODEL = l + +!ifdef %PDCURSES_SRCDIR +PDCURSES_SRCDIR = $(%PDCURSES_SRCDIR) +!else +PDCURSES_SRCDIR = .. +!endif + +!include $(PDCURSES_SRCDIR)\version.mif + +osdir = $(PDCURSES_SRCDIR)\dos + +CC = wcc +TARGET = dos + +CFLAGS = /bt=$(TARGET) /zq /wx /m$(MODEL) /i=$(PDCURSES_SRCDIR) + +!ifeq DEBUG Y +CFLAGS += /d2 /DPDCDEBUG +LDFLAGS = D W A op q sys $(TARGET) +!else +CFLAGS += /oneatx +LDFLAGS = op q sys $(TARGET) +!endif + +LIBEXE = wlib /q /n /t + +!include $(PDCURSES_SRCDIR)\watcom.mif + +$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS) + %write wccdos.lrf $(LIBOBJS) $(PDCOBJS) + $(LIBEXE) $@ @wccdos.lrf + -del wccdos.lrf + -copy $(LIBCURSES) panel.lib + +PLATFORM1 = Watcom C++ 16-bit DOS +PLATFORM2 = Open Watcom 1.6 for 16-bit DOS +ARCNAME = pdc$(VER)16w + +!include $(PDCURSES_SRCDIR)\makedist.mif |