mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 23:29:16 +00:00
Makefile:
- added 'install' and 'release' targets - added rVersion rez forks to final files box.asm: - added dummy routine that winds up in the *.root file console.rez, modem.rez, null.rez, printer.rez: - initial checkin
This commit is contained in:
parent
0ce301a14a
commit
9c06493506
@ -1,10 +1,12 @@
|
|||||||
# $Id: Makefile,v 1.3 1999/02/23 04:27:07 gdr-ftp Exp $
|
# $Id: Makefile,v 1.4 1999/03/19 07:18:00 gdr-ftp Exp $
|
||||||
|
|
||||||
.INCLUDE: /src/gno/paths.mk
|
.INCLUDE: /src/gno/paths.mk
|
||||||
|
|
||||||
|
TARGETS = $(OBJ_DIR)modem $(OBJ_DIR)printer $(OBJ_DIR)null
|
||||||
|
|
||||||
build: all
|
build: all
|
||||||
|
|
||||||
all: $(OBJ_DIR) $(OBJ_DIR)modem $(OBJ_DIR)printer $(OBJ_DIR)null
|
all: $(OBJ_DIR) $(TARGETS)
|
||||||
|
|
||||||
$(OBJ_DIR):
|
$(OBJ_DIR):
|
||||||
install -d $(OBJ_DIR)
|
install -d $(OBJ_DIR)
|
||||||
@ -21,13 +23,33 @@ $(OBJ_DIR)null: null.o
|
|||||||
$(LD) $(LDFLAGS) -o $@ $<
|
$(LD) $(LDFLAGS) -o $@ $<
|
||||||
chtyp -t 187 -a 32257 $@
|
chtyp -t 187 -a 32257 $@
|
||||||
|
|
||||||
$(OBJ_DIR)console: console.o inout.o box.root conpatch.o
|
$(OBJ_DIR)console: console.o inout.o box.o conpatch.o
|
||||||
$(LD) $(LDFLAGS) -o $@ $<
|
$(LD) $(LDFLAGS) -o $@ $<
|
||||||
chtyp -t 187 -a 32257 $@
|
chtyp -t 187 -a 32257 $@
|
||||||
|
|
||||||
|
$(OBJ_DIR)modem:: modem.r; $(CATREZ) -d $@ $<
|
||||||
|
$(OBJ_DIR)printer:: printer.r; $(CATREZ) -d $@ $<
|
||||||
|
$(OBJ_DIR)null:: null.r; $(CATREZ) -d $@ $<
|
||||||
|
$(OBJ_DIR)console:: console.r; $(CATREZ) -d $@ $<
|
||||||
|
|
||||||
|
release: all
|
||||||
|
$(INSTALL) -d $(RELEASE_DIR)/dev
|
||||||
|
$(INSTALL) $(TARGETS) $(RELEASE_DIR)/dev
|
||||||
|
|
||||||
|
install:
|
||||||
|
@echo You cannot install the device drivers into a live system. Target ignored.
|
||||||
|
|
||||||
|
# Implicit rule to handle Rez source on case sensitive Appleshare servers
|
||||||
|
.IF $(APPLESHARE_CASE_SENSITIVE) != $(NULL)
|
||||||
|
%.r : %.rez
|
||||||
|
$(INSTALL) $< $(TMPDIR)/$<
|
||||||
|
$(REZ) -o $@ -c $(REZFLAGS) $(TMPDIR)/$<
|
||||||
|
$(RM) -f $(TMPDIR)/$<
|
||||||
|
.END
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
|
|
||||||
box.root: box.mac console.equates
|
box.o: box.mac console.equates
|
||||||
conpatch.asm: conpatch.mac
|
conpatch.asm: conpatch.mac
|
||||||
console.root: port.mac console.equates kern.equates ../gno/inc/tty.inc
|
console.root: port.mac console.equates kern.equates ../gno/inc/tty.inc
|
||||||
inout.root: inout.mac console.equates kern.equates ../gno/inc/tty.inc
|
inout.root: inout.mac console.equates kern.equates ../gno/inc/tty.inc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
* $Id: box.asm,v 1.1 1998/02/02 08:17:52 taubert Exp $
|
* $Id: box.asm,v 1.2 1999/03/19 07:18:00 gdr-ftp Exp $
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
*
|
*
|
||||||
* The GNO Shell Project
|
* The GNO Shell Project
|
||||||
@ -21,6 +21,10 @@
|
|||||||
mcopy ../drivers/box.mac
|
mcopy ../drivers/box.mac
|
||||||
copy ../drivers/console.equates
|
copy ../drivers/console.equates
|
||||||
|
|
||||||
|
dummyBox start ; ends up in .root and ignored
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
* EraseBox takes the same parameters as DrawBox, except the Accum
|
* EraseBox takes the same parameters as DrawBox, except the Accum
|
||||||
* is the character to fill the box with.
|
* is the character to fill the box with.
|
||||||
|
|
||||||
|
34
kern/drivers/console.rez
Normal file
34
kern/drivers/console.rez
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
* Resources for version and comment
|
||||||
|
*
|
||||||
|
* $Id: console.rez,v 1.1 1999/03/19 07:18:00 gdr-ftp Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PROG "/dev/console"
|
||||||
|
#define DESC "Console Device Driver\n"
|
||||||
|
|
||||||
|
#include "Types.rez"
|
||||||
|
#include "builddate.rez"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Version
|
||||||
|
*/
|
||||||
|
resource rVersion (1, purgeable3) {
|
||||||
|
{ 1, 2, 0, /* Version */
|
||||||
|
release, /* development|alpha|beta|final|release */
|
||||||
|
0 }, /* non-final release number */
|
||||||
|
verUS, /* Country */
|
||||||
|
PROG, /* Program name */
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Comment
|
||||||
|
*/
|
||||||
|
resource rComment (1, purgeable3) {
|
||||||
|
PROG "\n"
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
34
kern/drivers/modem.rez
Normal file
34
kern/drivers/modem.rez
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
* Resources for version and comment
|
||||||
|
*
|
||||||
|
* $Id: modem.rez,v 1.1 1999/03/19 07:18:00 gdr-ftp Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PROG "/dev/modem"
|
||||||
|
#define DESC "Modem Device Driver\n"
|
||||||
|
|
||||||
|
#include "Types.rez"
|
||||||
|
#include "builddate.rez"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Version
|
||||||
|
*/
|
||||||
|
resource rVersion (1, purgeable3) {
|
||||||
|
{ 1, 2, 0, /* Version */
|
||||||
|
release, /* development|alpha|beta|final|release */
|
||||||
|
0 }, /* non-final release number */
|
||||||
|
verUS, /* Country */
|
||||||
|
PROG, /* Program name */
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Comment
|
||||||
|
*/
|
||||||
|
resource rComment (1, purgeable3) {
|
||||||
|
PROG "\n"
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
34
kern/drivers/null.rez
Normal file
34
kern/drivers/null.rez
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
* Resources for version and comment
|
||||||
|
*
|
||||||
|
* $Id: null.rez,v 1.1 1999/03/19 07:18:00 gdr-ftp Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PROG "/dev/null"
|
||||||
|
#define DESC "NULL Device Driver\n"
|
||||||
|
|
||||||
|
#include "Types.rez"
|
||||||
|
#include "builddate.rez"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Version
|
||||||
|
*/
|
||||||
|
resource rVersion (1, purgeable3) {
|
||||||
|
{ 1, 2, 0, /* Version */
|
||||||
|
release, /* development|alpha|beta|final|release */
|
||||||
|
0 }, /* non-final release number */
|
||||||
|
verUS, /* Country */
|
||||||
|
PROG, /* Program name */
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Comment
|
||||||
|
*/
|
||||||
|
resource rComment (1, purgeable3) {
|
||||||
|
PROG "\n"
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
34
kern/drivers/printer.rez
Normal file
34
kern/drivers/printer.rez
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
* Resources for version and comment
|
||||||
|
*
|
||||||
|
* $Id: printer.rez,v 1.1 1999/03/19 07:18:01 gdr-ftp Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PROG "/dev/printer"
|
||||||
|
#define DESC "Printer Device Driver\n"
|
||||||
|
|
||||||
|
#include "Types.rez"
|
||||||
|
#include "builddate.rez"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Version
|
||||||
|
*/
|
||||||
|
resource rVersion (1, purgeable3) {
|
||||||
|
{ 1, 2, 0, /* Version */
|
||||||
|
release, /* development|alpha|beta|final|release */
|
||||||
|
0 }, /* non-final release number */
|
||||||
|
verUS, /* Country */
|
||||||
|
PROG, /* Program name */
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Comment
|
||||||
|
*/
|
||||||
|
resource rComment (1, purgeable3) {
|
||||||
|
PROG "\n"
|
||||||
|
DESC
|
||||||
|
BUILD_DATE
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user