mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
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
This commit is contained in:
parent
839ce7a195
commit
5def2455d3
2 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -4,3 +4,7 @@ wmc
|
|||
*.exe
|
||||
*.o
|
||||
*.sym
|
||||
*.dsp
|
||||
*.dsw
|
||||
*.ncb
|
||||
*.opt
|
||||
|
|
Loading…
Reference in a new issue