From 5def2455d32e7060c44a180c5a1987072d4e1776 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Tue, 7 Jan 2003 17:39:58 +0000 Subject: [PATCH] Added rules for building 'proglib' targets since nothing seemed to use this target already and it didn't work for csrss otherwise. svn path=/trunk/; revision=3953 --- reactos/tools/helper.mk | 22 +++++++++++++++++++++- reactos/tools/wmc/.cvsignore | 4 ++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/reactos/tools/helper.mk b/reactos/tools/helper.mk index d81ee51126f..8209ce2fff7 100644 --- a/reactos/tools/helper.mk +++ b/reactos/tools/helper.mk @@ -1,4 +1,4 @@ -# $Id: helper.mk,v 1.24 2003/01/05 19:17:16 robd Exp $ +# $Id: helper.mk,v 1.25 2003/01/07 17:39:58 robd Exp $ # # Helper makefile for ReactOS modules # Variables this makefile accepts: @@ -300,6 +300,26 @@ ifeq ($(TARGET_TYPE),program) endif endif +ifeq ($(TARGET_TYPE),proglib) + ifeq ($(TARGET_APPTYPE),windows) + MK_DEFENTRY := _WinMainCRTStartup + MK_SDKLIBS := ntdll.a kernel32.a gdi32.a user32.a + TARGET_LFLAGS += -Wl,--subsystem,windows + endif + + ifeq ($(TARGET_APPTYPE),native) + MK_DEFENTRY := _NtProcessStartup@4 + MK_SDKLIBS := ntdll.a + TARGET_LFLAGS += -Wl,--subsystem,native -nostartfiles + endif + + ifeq ($(TARGET_APPTYPE),console) + MK_DEFENTRY := _mainCRTStartup + MK_SDKLIBS := + TARGET_LFLAGS += -Wl,--subsystem,console + endif +endif + MK_RESOURCE := $(MK_RES_BASE).coff diff --git a/reactos/tools/wmc/.cvsignore b/reactos/tools/wmc/.cvsignore index e0e1108bf34..82c5194d303 100644 --- a/reactos/tools/wmc/.cvsignore +++ b/reactos/tools/wmc/.cvsignore @@ -4,3 +4,7 @@ wmc *.exe *.o *.sym +*.dsp +*.dsw +*.ncb +*.opt