mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Moved buildno into tools directory
svn path=/trunk/; revision=2197
This commit is contained in:
parent
d094202f91
commit
9934c830e0
5 changed files with 12 additions and 50 deletions
|
@ -68,10 +68,10 @@ NET_APPS = ping roshttpd
|
|||
KERNEL_SERVICES = $(DEVICE_DRIVERS) $(INPUT_DRIVERS) $(FS_DRIVERS) \
|
||||
$(NET_DRIVERS) $(NET_DEVICE_DRIVERS) $(STORAGE_DRIVERS)
|
||||
|
||||
all: tools buildno dk $(COMPONENTS) $(HALS) $(BUS) $(DLLS) $(SUBSYS) \
|
||||
all: tools dk $(COMPONENTS) $(HALS) $(BUS) $(DLLS) $(SUBSYS) \
|
||||
$(LOADERS) $(KERNEL_SERVICES) $(SYS_APPS) $(APPS) $(NET_APPS)
|
||||
|
||||
clean: buildno_clean dk_clean $(HALS:%=%_clean) \
|
||||
clean: dk_clean $(HALS:%=%_clean) \
|
||||
$(COMPONENTS:%=%_clean) $(BUS:%=%_clean) $(DLLS:%=%_clean) \
|
||||
$(LOADERS:%=%_clean) $(KERNEL_SERVICES:%=%_clean) $(SUBSYS:%=%_clean) \
|
||||
$(SYS_APPS:%=%_clean) $(APPS:%=%_clean) $(NET_APPS:%=%_clean) clean_after tools_clean
|
||||
|
@ -79,8 +79,8 @@ clean: buildno_clean dk_clean $(HALS:%=%_clean) \
|
|||
clean_after:
|
||||
$(RM) $(PATH_TO_TOP)/include/roscfg.h
|
||||
|
||||
install: tools buildno install_dirs install_before \
|
||||
$(COMPONENTS:%=%_install) $(HALS:%=%_install) $(BUS:%=%_install) \
|
||||
install: tools install_dirs install_before \
|
||||
$(COMPONENTS:%=%_install) $(HALS:%=%_install) $(BUS:%=%_install) \
|
||||
$(DLLS:%=%_install) $(LOADERS:%=%_install) \
|
||||
$(KERNEL_SERVICES:%=%_install) $(SUBSYS:%=%_install) \
|
||||
$(SYS_APPS:%=%_install) $(APPS:%=%_install)
|
||||
|
@ -92,21 +92,6 @@ dist: $(TOOLS_PATH)/rcopy$(EXE_POSTFIX) dist_clean dist_dirs \
|
|||
|
||||
.PHONY: all clean clean_before install dist
|
||||
|
||||
#
|
||||
# Build number generator
|
||||
#
|
||||
buildno: include/reactos/version.h
|
||||
make -C apps/buildno
|
||||
|
||||
buildno_clean:
|
||||
make -C apps/buildno clean
|
||||
|
||||
buildno_dist:
|
||||
|
||||
buildno_install:
|
||||
|
||||
.PHONY: buildno buildno_clean buildno_dist buildno_install
|
||||
|
||||
#
|
||||
# System Applications
|
||||
#
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
buildno
|
||||
buildno.exe
|
|
@ -1,26 +0,0 @@
|
|||
# $Id: Makefile,v 1.10 2001/07/15 21:18:49 rex Exp $
|
||||
#
|
||||
|
||||
PATH_TO_TOP = ../..
|
||||
|
||||
BASE_CFLAGS =
|
||||
TARGETNAME=buildno
|
||||
CLEAN_FILES= $(TARGETNAME).o $(TARGETNAME)$(EXE_POSTFIX) $(TARGETNAME).sym
|
||||
|
||||
all: $(TARGETNAME)$(EXE_POSTFIX)
|
||||
$(EXE_PREFIX)$(TARGETNAME)$(EXE_POSTFIX)
|
||||
|
||||
|
||||
$(TARGETNAME)$(EXE_POSTFIX): $(TARGETNAME).c ../../include/reactos/version.h
|
||||
$(HOST_CC) -g -o $(TARGETNAME)$(EXE_POSTFIX) $(TARGETNAME).c
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
- $(RM) $(CLEAN_FILES)
|
||||
|
||||
.phony: clean
|
||||
|
||||
include ../../rules.mak
|
||||
|
||||
# EOF
|
|
@ -1,6 +1,7 @@
|
|||
PATH_TO_TOP = ..
|
||||
|
||||
TOOLS = \
|
||||
buildno$(EXE_POSTFIX) \
|
||||
depends$(EXE_POSTFIX) \
|
||||
rcopy$(EXE_POSTFIX) \
|
||||
rdel$(EXE_POSTFIX) \
|
||||
|
@ -11,6 +12,10 @@ CLEAN_FILES = $(TOOLS)
|
|||
|
||||
all: $(TOOLS)
|
||||
|
||||
buildno$(EXE_POSTFIX): buildno.c ../include/reactos/version.h
|
||||
$(HOST_CC) $(CFLAGS) -o buildno$(EXE_POSTFIX) buildno.c
|
||||
buildno$(EXE_POSTFIX)
|
||||
|
||||
depends$(EXE_POSTFIX): depends.c
|
||||
$(HOST_CC) $(CFLAGS) -o depends$(EXE_POSTFIX) depends.c
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: buildno.c,v 1.6 2001/04/11 22:13:21 dwelch Exp $
|
||||
/* $Id: buildno.c,v 1.1 2001/08/23 21:41:35 ekohl Exp $
|
||||
*
|
||||
* buildno - Generate the build number for ReactOS
|
||||
*
|
||||
|
@ -36,13 +36,13 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "../../include/reactos/version.h"
|
||||
#include "../include/reactos/version.h"
|
||||
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
|
||||
/* File to (over)write */
|
||||
#define BUILDNO_INCLUDE_FILE "../../include/reactos/buildno.h"
|
||||
#define BUILDNO_INCLUDE_FILE "../include/reactos/buildno.h"
|
||||
|
||||
static char * argv0 = "";
|
||||
|
Loading…
Reference in a new issue