• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:djgpp

2 # (c) 1999--2014 Martin Mares <mj@ucw.cz>
4 # Expects to be invoked from the top-level Makefile and uses lots of its variables.
6 OBJS=init access generic dump names filter names-hash names-parse names-net names-cache names-hwdb …
18 OBJS += i386-ports
22 OBJS += mmio-ports
36 OBJS += fbsd-device
37 CFLAGS += -I/usr/src/sys
39 CFLAGS += -I${FREEBSD_SYS}
44 OBJS += obsd-device
48 OBJS += aix-device
52 OBJS += nbsd-libpci
60 OBJS += sylixos-device
69 OBJS += win32-cfgmgr32
73 OBJS += win32-kldbg
77 OBJS += win32-sysdbg
81 OBJS += win32-helpers
86 OBJS += physmem-windows
88 OBJS += physmem-djgpp
90 OBJS += physmem-posix
95 OBJS += aos-expansion
102 rm -f $@
108 build.def: $(PCIIMPDEF)
110 perl ver2def.pl libpci.ver $(PCILIB) build.def $(PCIIMPDEF)
112 $(DLLTOOL) --input-def $< --output-lib $@
115 sed <$< >$@ -e 's,@PCILIB_VERSION@,$(PCILIB_VERSION),' \
116 -e 's,@PCILIB_VERSION_WINRC@,$(subst .,\$(comma),$(PCILIB_VERSION).0),' \
117 -e 's,@FILENAME@,$(PCILIB),' \
118 -e 's,@DESCRIPTION@,libpci,' \
119 -e 's,@LIBRARY_BUILD@,1,' \
120 -e 's,@DEBUG_BUILD@,$(if $(findstring -g,$(CFLAGS)),1,0),'
122 $(WINDRES) --input=$< --output=$@ --input-format=rc --output-format=coff
125 CFLAGS += -fPIC -fvisibility=hidden
127 $(CC) -shared $(CFLAGS) $(LDFLAGS) $(PCILIB_LDFLAGS) -o $@ $^ $(LIB_LDLIBS)
129 $(PCILIB): build.def
134 sed <$< >$@ -e 's,@PREFIX@,$(PREFIX),' \
135 -e 's,@INCDIR@,$(INCDIR),' \
136 -e 's,@LIBDIR@,$(LIBDIR),' \
137 -e 's,@IDSDIR@,$(IDSDIR),' \
138 -e 's,@VERSION@,$(VERSION),' \
139 -e 's,@LDLIBS@,$(LDLIBS),' \
140 -e 's,@WITH_LIBS@,$(WITH_LIBS),'
145-ports.o: i386-ports.c $(INCL) i386-io-access.h i386-io-beos.h i386-io-cygwin.h i386-io-djgpp.h i3…
146 mmio-ports.o: mmio-ports.c $(INCL) physmem.h physmem-access.h
147 ecam.o: ecam.c $(INCL) physmem.h physmem-access.h
153 obsd-device.o: obsd-device.c $(INCL)
154 fbsd-device.o: fbsd-device.c $(INCL)
155 aix-device.o: aix-device.c $(INCL)
158 names-cache.o: names-cache.c $(INCL) names.h
159 names-hash.o: names-hash.c $(INCL) names.h
160 names-net.o: names-net.c $(INCL) names.h
161 names-parse.o: names-parse.c $(INCL) names.h
162 names-hwdb.o: names-hwdb.c $(INCL) names.h
164 nbsd-libpci.o: nbsd-libpci.c $(INCL)
166 win32-helpers.o: win32-helpers.c $(INCL) win32-helpers.h
167 win32-cfgmgr32.o: win32-cfgmgr32.c $(INCL) win32-helpers.h
168 win32-kldbg.o: win32-kldbg.c $(INCL) win32-helpers.h
169 win32-sysdbg.o: win32-sysdbg.c $(INCL) win32-helpers.h
170 i386-io-windows.h: win32-helpers.h
174 # and expect that build system has already set /ddk subdirectory into includes.
175 # So include /ddk subdirectory of each system predefined include path via -I.
177 DDKCFLAGS:=$(shell echo | $(CC) $(CFLAGS) -E -Wp,-v -o /dev/null - 2>&1 | sed -n 's/^ \(.*\)/-I\1\/…
178 win32-cfgmgr32.o: override CFLAGS+=$(DDKCFLAGS)