mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Integrated winhello into new build system
svn path=/trunk/; revision=2192
This commit is contained in:
parent
b36ed4b1fc
commit
aa20d5b1d5
3 changed files with 14 additions and 28 deletions
|
@ -59,7 +59,7 @@ SYS_APPS = services shell winlogon
|
||||||
|
|
||||||
APPS = args hello test cat bench apc shm lpc thread event file gditest \
|
APPS = args hello test cat bench apc shm lpc thread event file gditest \
|
||||||
pteb consume dump_shared_data vmtest regtest alive mstest nptest \
|
pteb consume dump_shared_data vmtest regtest alive mstest nptest \
|
||||||
objdir atomtest
|
objdir atomtest winhello
|
||||||
|
|
||||||
#NET_APPS = ping roshttpd telnet
|
#NET_APPS = ping roshttpd telnet
|
||||||
NET_APPS = ping roshttpd
|
NET_APPS = ping roshttpd
|
||||||
|
|
|
@ -1,35 +1,21 @@
|
||||||
#
|
# $Id: makefile,v 1.2 2001/08/23 16:13:40 chorns Exp $
|
||||||
#
|
|
||||||
#
|
|
||||||
PATH_TO_TOP = ../..
|
PATH_TO_TOP = ../..
|
||||||
|
|
||||||
PROGS = winhello
|
TARGET_NORC = yes
|
||||||
|
|
||||||
OBJECTS =
|
TARGET_TYPE = program
|
||||||
LIBS= ../../lib/kernel32/kernel32.a ../../lib/gdi32/gdi32.a
|
|
||||||
CFLAGS = -I../../include
|
|
||||||
|
|
||||||
all: $(PROGS:%=%.exe)
|
TARGET_APPTYPE = windows
|
||||||
|
|
||||||
.phony: all
|
TARGET_NAME = winhello
|
||||||
|
|
||||||
clean:
|
TARGET_SDKLIBS = kernel32.a gdi32.a
|
||||||
- $(RM) *.o *.exe *.sym
|
|
||||||
|
|
||||||
.phony: clean
|
TARGET_OBJECTS = $(TARGET_NAME).o
|
||||||
|
|
||||||
install: $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
||||||
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
|
include $(TOOLS_PATH)/helper.mk
|
||||||
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
|
|
||||||
|
|
||||||
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
|
# EOF
|
||||||
|
|
||||||
$(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
|
|
||||||
$(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
|
|
||||||
|
|
||||||
winhello.exe: winhello.c
|
|
||||||
$(CC) $(CFLAGS) winhello.c $(LIBS) -o winhello.exe
|
|
||||||
$(NM) --numeric-sort winhello.exe > winhello.sym
|
|
||||||
|
|
||||||
include ../../rules.mak
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: helper.mk,v 1.3 2001/08/23 15:34:00 ekohl Exp $
|
# $Id: helper.mk,v 1.4 2001/08/23 16:14:47 chorns Exp $
|
||||||
#
|
#
|
||||||
# Helper makefile for ReactOS modules
|
# Helper makefile for ReactOS modules
|
||||||
# Variables this makefile accepts:
|
# Variables this makefile accepts:
|
||||||
|
@ -236,7 +236,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(TARGET_TYPE),program)
|
ifeq ($(TARGET_TYPE),program)
|
||||||
ifeq ($(TARGET_APPTYPE),windows)
|
ifeq ($(TARGET_APPTYPE),windows)
|
||||||
MK_DEFENTRY := _WinMainCRTStartup@16
|
MK_DEFENTRY := _WinMainCRTStartup
|
||||||
MK_SDKLIBS :=
|
MK_SDKLIBS :=
|
||||||
TARGET_LFLAGS += -Wl,--subsystem,windows
|
TARGET_LFLAGS += -Wl,--subsystem,windows
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue