1999-09-12 18:18:09 +00:00
|
|
|
#
|
|
|
|
# Global makefile for the ROSAPPS package
|
|
|
|
#
|
|
|
|
|
|
|
|
include rules.mak
|
|
|
|
|
|
|
|
#
|
|
|
|
# Available applications
|
|
|
|
#
|
2002-09-03 18:44:19 +00:00
|
|
|
#net$(SEP)arp
|
|
|
|
#net$(SEP)ipconfig
|
|
|
|
#net$(SEP)netstat
|
|
|
|
#net$(SEP)niclist
|
|
|
|
#net$(SEP)telnet
|
|
|
|
#net$(SEP)whois
|
2002-08-23 08:24:13 +00:00
|
|
|
APPS = calc \
|
|
|
|
cmdutils \
|
2002-10-16 01:47:11 +00:00
|
|
|
cmdutils$(SEP)mode \
|
2002-08-23 08:24:13 +00:00
|
|
|
dflat32 \
|
|
|
|
hcalc \
|
|
|
|
mc \
|
|
|
|
notevil \
|
|
|
|
sysutils \
|
2003-08-05 19:05:32 +00:00
|
|
|
sysutils$(SEP)ctm \
|
2002-09-03 18:44:19 +00:00
|
|
|
net$(SEP)finger \
|
|
|
|
net$(SEP)ncftp \
|
|
|
|
net$(SEP)ping \
|
2002-08-23 08:24:13 +00:00
|
|
|
regedt32 \
|
2002-08-23 16:17:12 +00:00
|
|
|
welcome \
|
2003-08-05 19:05:32 +00:00
|
|
|
# winfile
|
1999-09-12 18:18:09 +00:00
|
|
|
|
2003-01-07 18:14:30 +00:00
|
|
|
# Removed due to dependance on C++ compiler
|
|
|
|
#
|
2003-02-21 16:24:35 +00:00
|
|
|
# taskmgr \
|
2003-01-07 18:14:30 +00:00
|
|
|
# sysutils$(SEP)regexpl \
|
|
|
|
#
|
2003-07-08 19:40:46 +00:00
|
|
|
# Removed because it doesn't build correctly
|
|
|
|
#
|
|
|
|
# sysutils$(SEP)tlist \
|
|
|
|
#
|
2003-01-07 18:14:30 +00:00
|
|
|
|
1999-09-12 18:18:09 +00:00
|
|
|
all: $(APPS)
|
|
|
|
.PHONY: all
|
|
|
|
|
2003-01-07 18:14:30 +00:00
|
|
|
implib:
|
|
|
|
.PHONY: implib
|
|
|
|
|
1999-09-12 18:18:09 +00:00
|
|
|
clean: $(APPS:%=%_clean)
|
|
|
|
.PHONY: clean
|
|
|
|
|
2003-01-15 19:55:29 +00:00
|
|
|
install: $(APPS:%=%_install)
|
|
|
|
.PHONY: install
|
|
|
|
|
1999-09-12 18:18:09 +00:00
|
|
|
floppy: make_floppy_dirs $(APPS:%=%_floppy)
|
|
|
|
|
|
|
|
dist: clean_dist_dir make_dist_dirs $(APPS:%=%_dist)
|
|
|
|
.PHONY: dist
|
|
|
|
|
2003-01-15 19:55:29 +00:00
|
|
|
|
1999-09-12 18:18:09 +00:00
|
|
|
#
|
|
|
|
# Applications
|
|
|
|
#
|
|
|
|
$(APPS): %:
|
2003-10-05 05:51:26 +00:00
|
|
|
$(MAKE) -C $*
|
1999-09-12 18:18:09 +00:00
|
|
|
|
|
|
|
$(APPS:%=%_clean): %_clean:
|
2003-10-05 05:51:26 +00:00
|
|
|
$(MAKE) -C $* clean
|
1999-09-12 18:18:09 +00:00
|
|
|
|
|
|
|
$(APPS:%=%_floppy): %_floppy:
|
2003-10-05 05:51:26 +00:00
|
|
|
$(MAKE) -C $* floppy
|
1999-09-12 18:18:09 +00:00
|
|
|
|
|
|
|
$(APPS:%=%_dist): %_dist:
|
2003-10-05 05:51:26 +00:00
|
|
|
$(MAKE) -C $* dist
|
1999-09-12 18:18:09 +00:00
|
|
|
|
2003-01-15 19:55:29 +00:00
|
|
|
$(APPS:%=%_install): %_install:
|
2003-10-05 05:51:26 +00:00
|
|
|
$(MAKE) -C $* install
|
2003-01-15 19:55:29 +00:00
|
|
|
|
|
|
|
.PHONY: $(APPS) $(APPS:%=%_clean) $(APPS:%=%_floppy) $(APPS:%=%_dist) $(APPS:%=%_install)
|
1999-09-12 18:18:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Make an install floppy
|
|
|
|
#
|
|
|
|
|
2003-01-07 18:14:30 +00:00
|
|
|
#install: all
|
|
|
|
# ./install.sh /mnt/hda1
|
1999-09-12 18:18:09 +00:00
|
|
|
|
|
|
|
make_floppy_dirs:
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
mkdir $(FLOPPY_DIR)\apps
|
|
|
|
else
|
|
|
|
mkdir $(FLOPPY_DIR)/apps
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: make_floppy_dirs
|
|
|
|
|
|
|
|
#
|
|
|
|
# Make a distribution saveset
|
|
|
|
#
|
|
|
|
|
|
|
|
clean_dist_dir:
|
|
|
|
ifeq ($(DOSCLI),yes)
|
1999-10-03 22:12:24 +00:00
|
|
|
# $(RM) $(DIST_DIR)\apps\*.*
|
|
|
|
# $(RMDIR) $(DIST_DIR)\apps
|
|
|
|
# $(RMDIR) $(DIST_DIR)
|
1999-09-12 18:18:09 +00:00
|
|
|
else
|
|
|
|
$(RM) -r $(DIST_DIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
make_dist_dirs:
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
mkdir $(DIST_DIR)
|
1999-10-03 22:12:24 +00:00
|
|
|
mkdir $(DIST_DIR)\apps
|
1999-09-12 18:18:09 +00:00
|
|
|
else
|
|
|
|
mkdir $(DIST_DIR)
|
1999-10-03 22:12:24 +00:00
|
|
|
mkdir $(DIST_DIR)/apps
|
1999-09-12 18:18:09 +00:00
|
|
|
endif
|
|
|
|
|
2003-01-15 19:55:29 +00:00
|
|
|
#dist: $(TOOLS_PATH)/rcopy$(EXE_POSTFIX) dist_clean dist_dirs \
|
|
|
|
# $(WINE_MODULES:%=%_dist)
|
|
|
|
|
1999-09-12 18:18:09 +00:00
|
|
|
.PHONY: clean_dist_dir make_dist_dirs
|
|
|
|
|
|
|
|
# EOF
|