mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:52:57 +00:00
integration of expat with ROS build system
svn path=/trunk/; revision=8860
This commit is contained in:
parent
ac6bc94f0f
commit
fdbc91f5b5
2 changed files with 19 additions and 37 deletions
|
@ -8,6 +8,7 @@ lib/comctl32 TARGET_BASE=0x76160000
|
||||||
lib/comdlg32 TARGET_BASE=0x76200000
|
lib/comdlg32 TARGET_BASE=0x76200000
|
||||||
lib/cabinet TARGET_BASE=0x75120000
|
lib/cabinet TARGET_BASE=0x75120000
|
||||||
lib/crtdll TARGET_BASE=0x77630000
|
lib/crtdll TARGET_BASE=0x77630000
|
||||||
|
lib/expat TARGET_BASE=0x79000000
|
||||||
lib/fmifs TARGET_BASE=0x76df0000
|
lib/fmifs TARGET_BASE=0x76df0000
|
||||||
lib/gdi32 TARGET_BASE=0x77ed0000
|
lib/gdi32 TARGET_BASE=0x77ed0000
|
||||||
lib/imagehlp TARGET_BASE=0x76c90000
|
lib/imagehlp TARGET_BASE=0x76c90000
|
||||||
|
|
|
@ -1,48 +1,29 @@
|
||||||
#
|
# $Id: Makefile,v 1.2 2004/03/24 09:39:37 mf Exp $
|
||||||
# MinGW Makefile for expat
|
|
||||||
#
|
|
||||||
# Martin Fuchs, 24.03.2003
|
|
||||||
#
|
|
||||||
|
|
||||||
PATH_TO_TOP = ../..
|
PATH_TO_TOP = ../..
|
||||||
TOOLS_PATH = $(PATH_TO_TOP)/tools
|
|
||||||
|
|
||||||
CC = gcc
|
TARGET_NAME = libexpat
|
||||||
LINK = gcc
|
|
||||||
|
|
||||||
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DWIN32 -DHAVE_EXPAT_CONFIG_H
|
TARGET_TYPE = dynlink
|
||||||
LFLAGS = -shared
|
TARGET_BASE = 0x79000000
|
||||||
|
TARGET_NORC = yes
|
||||||
|
TARGET_DEFONLY = yes
|
||||||
|
TARGET_DEFNAME = lib/libexpat
|
||||||
|
|
||||||
ifdef DEBUG
|
TARGET_CFLAGS = -D__USE_W32API -DHAVE_EXPAT_CONFIG_H -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions
|
||||||
CFLAGS += -g
|
TARGET_LFLAGS = -nostartfiles
|
||||||
LFLAGS += -g
|
|
||||||
else
|
|
||||||
CFLAGS += -Os
|
|
||||||
LFLAGS += -s
|
|
||||||
endif
|
|
||||||
|
|
||||||
VPATH = lib
|
LIB_OBJECTS = \
|
||||||
|
lib/xmlparse.o \
|
||||||
|
lib/xmlrole.o \
|
||||||
|
lib/xmltok.o
|
||||||
|
|
||||||
DLL_SUFIX = .dll
|
TARGET_OBJECTS = $(LIB_OBJECTS)
|
||||||
|
|
||||||
LIBRARY = libexpat$(DLL_SUFIX)
|
DEP_OBJECTS = $(TARGET_OBJECTS)
|
||||||
|
|
||||||
LIB_OBJS = \
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
xmlparse.o \
|
|
||||||
xmlrole.o \
|
|
||||||
xmltok.o
|
|
||||||
|
|
||||||
all: $(LIBRARY)
|
include $(TOOLS_PATH)/helper.mk
|
||||||
|
|
||||||
$(LIBRARY): $(LIB_OBJS) libexpat.def
|
include $(TOOLS_PATH)/depend.mk
|
||||||
$(LINK) $(LFLAGS) -o $@ $^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(TOOLS_PATH)/rdel $(LIBRARY) $(LIB_OBJS)
|
|
||||||
|
|
||||||
implib:
|
|
||||||
|
|
||||||
install:
|
|
||||||
-$(TOOLS_PATH)/rcopy $(LIBRARY) $(INSTALL_DIR)/system32/$(LIBRARY)
|
|
||||||
|
|
||||||
bootcd:
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue