Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MAKEFILE
Package: bootmenu.zip [view]
Upload User: yeshiping1
Upload Date: 2007-01-06
Package Size: 29k
Code Size: 2k
Category:
Disk Tools
Development Platform:
Others
- # This makefile supports all UNIX-like systems.
- # Uncomment one of the SYS definitions below, or
- # use a make command like:
- # make SYS=esix
- # (For compiling on MS-DOS, see make_msc.bat)
- # (To compile on Minix, use: make minix)
- #
- # Uncomment for ESIX Sys.V/386 Rel. 3.2
- #SYS=esix
- # Uncomment for other Sys.V/386 systems (ISC,SCO,Intel...)
- #SYS=i386
- # Uncomment for MSDOS with UNIX-style make (i.e. ndmake)
- #SYS=msdos
- # Uncomment for other UNIX-like systems
- SYS=unix
- # Compilation options:
- CC=cc
- CFLAGS=-g
- FILES1= README pfdisk.man Changes Makefile pfdisk.c syscodes.c
- syscodes.h sysdep.h s_esix.c s_i386.c s_unix.c s_msdos.c
- FILES2= bootmenu.doc pfdisk.doc SStor.txt bootmenu.asm bootauto.asm
- asm2bin.bat make_msc.bat bootmenu.hex bootauto.hex hex2bin.c
- OBJS= pfdisk.o syscodes.o s_$(SYS).o
- LSRC= pfdisk.c syscodes.c s_$(SYS).c
- test: pfdisk
- (echo "g 1222 15 34";
- echo "1 4 0 127 MS-LOSS";
- echo "4 99 128 1221 ESIX";
- echo "a 4"; echo l; echo wq
- ) | pfdisk /dev/null
- all: pfdisk bootmenu.bin bootauto.bin
- pfdisk: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS)
- minix: bootmenu.bin bootauto.bin
- $(CC) $(CFLAGS) -o pfdisk $(LSRC)
- pfdisk.o : syscodes.h sysdep.h
- syscodes.o : syscodes.h
- s_$(SYS).o : sysdep.h
- lint: $(LSRC)
- lint $(CFLAGS) $(LSRC)
- bootmenu.bin: hex2bin
- hex2bin <bootmenu.hex >bootmenu.bin
- bootauto.bin: hex2bin
- hex2bin <bootauto.hex >bootauto.bin
- pfdisk.doc: pfdisk.man
- nroff tmac.an pfdisk.man |col -bh >pfdisk.doc
- clean:
- rm -f *.o
- Shar1.out: Head1.txt $(FILES1)
- (cat Head1.txt ; shar -v -c $(FILES1)) > $@
- Shar2.out: Head2.txt $(FILES2)
- (cat Head2.txt ; shar -v -c $(FILES2)) > $@