source: trunk/src/crtdll/makefile@ 10366

Last change on this file since 10366 was 9657, checked in by sandervl, 23 years ago

PF: new GCC version which forwards most exports to msvcrt

File size: 1.1 KB
Line 
1# $Id: makefile,v 1.19 2003-01-10 13:14:56 sandervl Exp $
2
3#
4# Odin32 API
5#
6# crtdll.dll makefile
7#
8
9
10CCENV = EMX
11NOTEXPDEF = 1
12
13#
14# Compiler, tools, and interference rules.
15#
16!include ../../makefile.inc
17
18
19#
20# Object files. Prefix with OBJDIR and one space before the '\'.
21#
22OBJS = \
23$(OBJDIR)\crtdll_main.obj \
24$(OBJDIR)\crtdllrsrc.obj \
25$(OBJDIR)\maincrtdll.obj
26
27#
28# Target name - name of the dll without extention and path.
29# Original target
30#
31TARGET = crtdll32
32ORGTARGET = crtdll
33
34all: $(OBJDIR) $(OBJDIR)\$(TARGET).dll $(ORGTARGET).lib
35
36$(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def
37 $(LD) $(LDFLAGS) -L$(ODIN32_LIB_)\Release -Zso -Zsys $(OBJS) $(ORGTARGET).def -L.\libs -lm\
38 -liberty_s -lmsvcrt -o $(OBJDIR)\$(TARGET).dll
39 touch $(OBJDIR)\$(TARGET).map
40 @echo "Illegal Sym File for EMX" > $(OBJDIR)\$(TARGET).sym
41
42# Includes the common rules.
43#
44!include $(ODIN32_POST_INC)
45
46$(ORGTARGET).lib:
47 implib $(OBJDIR)\$(ORGTARGET).lib crtdll.def
48 @copy $(OBJDIR)\$(ORGTARGET).lib $(ODIN32_LIB_)\Release > nul:
49 @copy $(OBJDIR)\$(ORGTARGET).lib $(ODIN32_LIB_)\Debug > nul:
50
51
52
Note: See TracBrowser for help on using the repository browser.