summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-11-10 09:00:41 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-11-11 21:38:48 +0100
commit4f85a1eb76d1e7109bcc60ba6f3262a5654ac61b (patch)
treee996818c6aa6b6f702a6c805c447c20724eff265 /payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak
parent2ea24dabd658b8396e0abf79318a538ef0f3a5b8 (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-3.4/win32/vcwin32.mak')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak136
1 files changed, 0 insertions, 136 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak b/payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak
deleted file mode 100644
index b8dc4043b7..0000000000
--- a/payloads/libpayload/curses/PDCurses-3.4/win32/vcwin32.mak
+++ /dev/null
@@ -1,136 +0,0 @@
-# Visual C++ NMakefile for PDCurses library - Win32 VC++ 2.0+
-#
-# Usage: nmake -f [path\]vcwin32.mak [DEBUG=] [DLL=] [WIDE=] [UTF8=] [target]
-#
-# where target can be any of:
-# [all|demos|pdcurses.lib|testcurs.exe...]
-
-O = obj
-
-!ifndef PDCURSES_SRCDIR
-PDCURSES_SRCDIR = ..
-!endif
-
-!include $(PDCURSES_SRCDIR)\version.mif
-!include $(PDCURSES_SRCDIR)\libobjs.mif
-
-osdir = $(PDCURSES_SRCDIR)\win32
-
-PDCURSES_WIN_H = $(osdir)\pdcwin.h
-
-CC = cl.exe -nologo
-
-!ifdef DEBUG
-CFLAGS = -Z7 -DPDCDEBUG
-LDFLAGS = -debug -pdb:none
-!else
-CFLAGS = -O1
-LDFLAGS =
-!endif
-
-BASEDEF = $(PDCURSES_SRCDIR)\exp-base.def
-WIDEDEF = $(PDCURSES_SRCDIR)\exp-wide.def
-
-DEFDEPS = $(BASEDEF)
-
-!ifdef WIDE
-WIDEOPT = -DPDC_WIDE
-DEFDEPS = $(DEFDEPS) $(WIDEDEF)
-!endif
-
-!ifdef UTF8
-UTF8OPT = -DPDC_FORCE_UTF8
-!endif
-
-DEFFILE = pdcurses.def
-SHL_LD = link $(LDFLAGS) /NOLOGO /DLL /OUT:pdcurses.dll /DEF:$(DEFFILE)
-
-LINK = link.exe -nologo
-
-CCLIBS = user32.lib advapi32.lib
-# may need to add msvcrt.lib for VC 2.x, VC 5.0 doesn't want it
-#CCLIBS = msvcrt.lib user32.lib advapi32.lib
-
-LIBEXE = lib -nologo
-
-LIBCURSES = pdcurses.lib
-CURSESDLL = pdcurses.dll
-
-!ifdef DLL
-DLLOPT = -DPDC_DLL_BUILD
-PDCLIBS = $(CURSESDLL)
-!else
-PDCLIBS = $(LIBCURSES)
-!endif
-
-BUILD = $(CC) -I$(PDCURSES_SRCDIR) -c $(CFLAGS) $(DLLOPT) \
-$(WIDEOPT) $(UTF8OPT)
-
-all: $(PDCLIBS) $(DEMOS)
-
-clean:
- -del *.obj
- -del *.lib
- -del *.exe
- -del *.dll
- -del *.exp
- -del *.res
- -del *.def
-
-DEMOOBJS = $(DEMOS:.exe=.obj) tui.obj
-
-$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
-$(PDCOBJS) : $(PDCURSES_WIN_H)
-$(DEMOOBJS) : $(PDCURSES_CURSES_H)
-$(DEMOS) : $(LIBCURSES)
-panel.obj : $(PANEL_HEADER)
-terminfo.obj: $(TERM_HEADER)
-
-!ifndef DLL
-$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
- $(LIBEXE) -out:$@ $(LIBOBJS) $(PDCOBJS)
- -copy $(LIBCURSES) panel.lib
-!endif
-
-$(DEFFILE) : $(DEFDEPS)
- echo LIBRARY pdcurses > $(DEFFILE)
- echo EXPORTS >> $(DEFFILE)
- type $(BASEDEF) >> $(DEFFILE)
-!ifdef WIDE
- type $(WIDEDEF) >> $(DEFFILE)
-!endif
-
-$(CURSESDLL) : $(LIBOBJS) $(PDCOBJS) $(DEFFILE) pdcurses.obj
- $(SHL_LD) $(LIBOBJS) $(PDCOBJS) pdcurses.obj $(CCLIBS)
- -copy $(LIBCURSES) panel.lib
-
-pdcurses.res pdcurses.obj: $(osdir)\pdcurses.rc $(osdir)\pdcurses.ico
- rc /r /fopdcurses.res $(osdir)\pdcurses.rc
- cvtres /MACHINE:IX86 /NOLOGO /OUT:pdcurses.obj pdcurses.res
-
-{$(srcdir)\}.c{}.obj::
- $(BUILD) $<
-
-{$(osdir)\}.c{}.obj::
- $(BUILD) $<
-
-{$(demodir)\}.c{}.obj::
- $(BUILD) $<
-
-.obj.exe:
- $(LINK) $(LDFLAGS) $< $(LIBCURSES) $(CCLIBS)
-
-tuidemo.exe: tuidemo.obj tui.obj
- $(LINK) $(LDFLAGS) $*.obj tui.obj $(LIBCURSES) $(CCLIBS)
-
-tui.obj: $(demodir)\tui.c $(demodir)\tui.h
- $(BUILD) -I$(demodir) $(demodir)\tui.c
-
-tuidemo.obj: $(demodir)\tuidemo.c
- $(BUILD) -I$(demodir) $(demodir)\tuidemo.c
-
-PLATFORM1 = Visual C++
-PLATFORM2 = Microsoft Visual C/C++ for Win32
-ARCNAME = pdc$(VER)_vc_w32
-
-!include $(PDCURSES_SRCDIR)\makedist.mif