drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / os2 / bccos2.mak
blob12ef0d771d0b8546e1238cafb23ccd1a60d1729c
1 # Borland MAKE Makefile for PDCurses library - OS/2 BC++ 1.0+
3 # Usage: make -f [path\]bccos2.mak [DEBUG=] [target]
5 # where target can be any of:
6 # [all|demos|pdcurses.lib|testcurs.exe...]
8 O = obj
10 !ifndef PDCURSES_SRCDIR
11 PDCURSES_SRCDIR = ..
12 !endif
14 !include $(PDCURSES_SRCDIR)\version.mif
15 !include $(PDCURSES_SRCDIR)\libobjs.mif
17 osdir = $(PDCURSES_SRCDIR)\os2
19 CC = bcc
21 !ifdef DEBUG
22 CFLAGS = -N -v -y -DPDCDEBUG
23 !else
24 CFLAGS = -O
25 !endif
27 CPPFLAGS = -I$(PDCURSES_SRCDIR)
29 BUILD = $(CC) -c $(CFLAGS) $(CPPFLAGS)
31 LINK = tlink
33 LIBEXE = tlib /C /E
35 LIBCURSES = pdcurses.lib
37 all: $(LIBCURSES) $(DEMOS)
39 clean:
40 -del *.obj
41 -del *.lib
42 -del *.exe
44 demos: $(DEMOS)
46 $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
47 -del $@
48 $(LIBEXE) $@ \
49 +addch.obj +addchstr.obj +addstr.obj +attr.obj +beep.obj +bkgd.obj \
50 +border.obj +clear.obj +color.obj +delch.obj +deleteln.obj +deprec.obj \
51 +getch.obj +getstr.obj +getyx.obj +inch.obj +inchstr.obj +initscr.obj \
52 +inopts.obj +insch.obj +insstr.obj +instr.obj +kernel.obj +keyname.obj \
53 +mouse.obj +move.obj +outopts.obj +overlay.obj +pad.obj +panel.obj \
54 +printw.obj +refresh.obj +scanw.obj +scr_dump.obj +scroll.obj +slk.obj \
55 +termattr.obj +terminfo.obj +touch.obj +util.obj +window.obj +debug.obj \
56 +pdcclip.obj +pdcdisp.obj +pdcgetsc.obj +pdckbd.obj +pdcscrn.obj \
57 +pdcsetsc.obj +pdcutil.obj ,lib.map
58 -copy $(LIBCURSES) panel.lib
60 .autodepend
62 {$(srcdir)\}.c.obj:
63 $(BUILD) $<
65 {$(osdir)\}.c.obj:
66 $(BUILD) $<
68 {$(demodir)\}.c.obj:
69 $(BUILD) $<
71 .c.obj:
72 $(BUILD) $<
74 .obj.exe:
75 $(CC) -e$@ $** $(LIBCURSES)
77 tuidemo.exe: tuidemo.obj tui.obj $(LIBCURSES)
78 $(CC) -e$@ $**
80 tui.obj: $(demodir)\tui.c $(demodir)\tui.h $(PDCURSES_CURSES_H)
81 $(BUILD) -I$(demodir) $(demodir)\tui.c
83 tuidemo.obj: $(demodir)\tuidemo.c $(PDCURSES_CURSES_H)
84 $(BUILD) -I$(demodir) $(demodir)\tuidemo.c
86 PLATFORM1 = Borland C++ OS/2 1.0
87 PLATFORM2 = Borland C/C++ OS/2 1.0
88 ARCNAME = pdc$(VER)bcos2
90 !include $(PDCURSES_SRCDIR)\makedist.mif