source: trunk/kLdr/Makefile.kmk@ 2823

Last change on this file since 2823 was 2821, checked in by bird, 19 years ago

kLdr backup commit.

File size: 1.5 KB
Line 
1# $Id: $# $Id: $
2## @file
3#
4# kBuild Makefile for the kLdr.
5#
6# Copyright (c) 2006 knut st. osmundsen <bird@anduin.net>
7#
8#
9# This file is part of kLdr.
10#
11# kLdr is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# kLdr is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kLdr; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24#
25#
26
27
28#
29# The kLDr DLL.
30#
31DLLS = kLdr
32kLdr_TOOL = GCC3OMF
33kLdr_ASTOOL = NASM
34kLdr_ASFLAGS = -f obj
35kLdr_CFLAGS = -Wall -pedantic
36kLdr_LDFLAGS = -nostdlib
37kLdr_LIBS = os2 gcc end
38kLdr_SOURCES = \
39 kLdr.c \
40 kLdrLX.c
41kLdr_SOURCES.os2 = \
42 kLdr-os2.def \
43 kLdrA-os2.asm
44
45#
46# The OS/2 stub program.
47#
48PROGRAMS = kLdrExeStub-os2
49kLdrExeStub-os2_TOOL = GCC3OMF
50kLdrExeStub-os2_ASTOOL = NASM
51kLdrExeStub-os2_ASFLAGS = -f obj
52kLdrExeStub-os2_LDFLAGS = -nostdlib
53kLdrExeStub-os2_LIBS = $(TARGET_kLdr)
54kLdrExeStub-os2_SOURCES = kLdrExeStub-os2.asm
55
56##
57## The (stub) utility.
58##
59#PROGRAMS = kLdrUtil
60
61
62# generate rules.
63DEPTH = ..
64include $(PATH_KBUILD)/rules.kmk
65
Note: See TracBrowser for help on using the repository browser.