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-3.4/win32/mingwin32.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-3.4/win32/mingwin32.mak')
-rw-r--r-- | payloads/libpayload/curses/PDCurses-3.4/win32/mingwin32.mak | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/win32/mingwin32.mak b/payloads/libpayload/curses/PDCurses-3.4/win32/mingwin32.mak deleted file mode 100644 index 7fb17e8fc8..0000000000 --- a/payloads/libpayload/curses/PDCurses-3.4/win32/mingwin32.mak +++ /dev/null @@ -1,121 +0,0 @@ -# GNU MAKE Makefile for PDCurses library - WIN32 MinGW GCC -# -# Usage: make -f [path\]mingwin32.mak [DEBUG=Y] [DLL=Y] [WIDE=Y] [UTF8=Y] [tgt] -# -# where tgt can be any of: -# [all|demos|pdcurses.a|testcurs.exe...] - -O = o - -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 = gcc - -ifeq ($(DEBUG),Y) - CFLAGS = -g -Wall -DPDCDEBUG - LDFLAGS = -g -else - CFLAGS = -O2 -Wall - LDFLAGS = -endif - -CFLAGS += -I$(PDCURSES_SRCDIR) - -BASEDEF = $(PDCURSES_SRCDIR)\exp-base.def -WIDEDEF = $(PDCURSES_SRCDIR)\exp-wide.def - -DEFDEPS = $(BASEDEF) - -ifeq ($(WIDE),Y) - CFLAGS += -DPDC_WIDE - DEFDEPS += $(WIDEDEF) -endif - -ifeq ($(UTF8),Y) - CFLAGS += -DPDC_FORCE_UTF8 -endif - -DEFFILE = pdcurses.def - -LINK = gcc - -ifeq ($(DLL),Y) - CFLAGS += -DPDC_DLL_BUILD - LIBEXE = gcc $(DEFFILE) - LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o - LIBCURSES = pdcurses.dll - LIBDEPS = $(LIBOBJS) $(PDCOBJS) $(DEFFILE) - CLEAN = $(LIBCURSES) *.a $(DEFFILE) -else - LIBEXE = ar - LIBFLAGS = rcv - LIBCURSES = pdcurses.a - LIBDEPS = $(LIBOBJS) $(PDCOBJS) - CLEAN = *.a -endif - -.PHONY: all libs clean demos dist - -all: libs demos - -libs: $(LIBCURSES) - -clean: - -del *.o - -del *.exe - -del $(CLEAN) - -demos: $(DEMOS) - strip *.exe - -$(DEFFILE): $(DEFDEPS) - echo LIBRARY pdcurses > $@ - echo EXPORTS >> $@ - type $(BASEDEF) >> $@ -ifeq ($(WIDE),Y) - type $(WIDEDEF) >> $@ -endif - -$(LIBCURSES) : $(LIBDEPS) - $(LIBEXE) $(LIBFLAGS) $@ $? - -copy pdcurses.a panel.a - -$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS) -$(PDCOBJS) : $(PDCURSES_WIN_H) -$(DEMOS) : $(PDCURSES_CURSES_H) $(LIBCURSES) -panel.o : $(PANEL_HEADER) -terminfo.o: $(TERM_HEADER) - -$(LIBOBJS) : %.o: $(srcdir)/%.c - $(CC) -c $(CFLAGS) $< - -$(PDCOBJS) : %.o: $(osdir)/%.c - $(CC) -c $(CFLAGS) $< - -firework.exe newdemo.exe rain.exe testcurs.exe worm.exe xmas.exe \ -ptest.exe: %.exe: $(demodir)/%.c - $(CC) $(CFLAGS) -o$@ $< $(LIBCURSES) - -tuidemo.exe: tuidemo.o tui.o - $(LINK) $(LDFLAGS) -o$@ tuidemo.o tui.o $(LIBCURSES) - -tui.o: $(demodir)/tui.c $(demodir)/tui.h $(PDCURSES_CURSES_H) - $(CC) -c $(CFLAGS) -I$(demodir) -o$@ $< - -tuidemo.o: $(demodir)/tuidemo.c $(PDCURSES_CURSES_H) - $(CC) -c $(CFLAGS) -I$(demodir) -o$@ $< - -PLATFORM1 = MinGW Win32 -PLATFORM2 = MinGW for Win32 -ARCNAME = pdc$(VER)_ming_w32 - -include $(PDCURSES_SRCDIR)/makedist.mif |