summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/mswin/i386.mak
blob: b6603ff25f53fa51e1f9cd036426c7c343a38b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# makefile to create i386 target for wingdb
# from mswin directory, run:
#	nmake -f i386.mak
# change settings in config.mak as needed for your environment

# target specific extras for config.mak
TARGET=i386
TARGET_CFLAGS= -D TARGET_I386
TARGET_LFLAGS= 
!include "config.mak"

# target specific extras for common.mak
TARGET_DEPS= $(OUTDIR)\$(SIM).exe

TARGET_OBJS= \
	$(INTDIR)/aout32.obj \
	$(INTDIR)/cpu-i386.obj \
	$(INTDIR)/i386-dis.obj \
	$(INTDIR)/i386-tdep.obj \
	$(INTDIR)/i386aout.obj \
	$(INTDIR)/stab-syms.obj \
	$(INTDIR)/version.obj

TARGET_SBRS=  \
	$(INTDIR)/aout32.sbr \
	$(INTDIR)/cpu-i386.sbr \
	$(INTDIR)/i386-dis.sbr \
	$(INTDIR)/i386-tdep.sbr \
	$(INTDIR)/i386aout.sbr \
	$(INTDIR)/stab-syms.sbr \
	$(INTDIR)/version.sbr


!include "common.mak"


# simulator

TARGET_LIBLIB_OBJS= \
	$(INTDIR)\alloca.obj \
	$(INTDIR)\bcopy.obj 

#these top 2 were already separate...
TARGET_LIBBFD_OBJS=  \
	$(INTDIR)\ecoff.obj \
	$(INTDIR)\ecofflink.obj \
	$(INTDIR)\coff-i386.obj \
	$(INTDIR)\coffgen.obj

GENCODE=engine.c
!include "sim.mak"

$(INTDIR)\sim\run.obj : $(SRCDIR)\sim\common\run.c
$(INTDIR)\sim\callback.obj : $(SRCDIR)\gdb\callback.c
$(INTDIR)\sim\interp.obj : $(SRCDIR)\sim\$(TARGET)\interp.c $(SRCDIR)\gdb\mswin\prebuilt\$(TARGET)\engine.c