# Makefile.conf.in for DOSEMU # # This file is included by all Makefiles DOSBIN = dosemu.bin PACKAGE_TARNAME:=dosemu2 prefix:=/usr exec_prefix=/usr bindir:=/usr/bin sysconfdir:=/etc confdir:=dosemu libdir:=/usr/lib64 plugindir:=/usr/lib64/dosemu datarootdir:=${prefix}/share datadir:=/usr/share mandir:=/usr/share/man docdir:=${datarootdir}/doc/${PACKAGE_TARNAME} x11fontdir:=/usr/share/dosemu/Xfonts ttffontdir:=/usr/share/fonts/oldschool fdtarball:=/home/hanzlik/rpmbuild/SOURCES/dosemu-freedos-1.2-bin.tgz cmdsuff:=dosemu2-cmds-0.3 abs_top_srcdir:=/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre8 abs_top_builddir:=/home/hanzlik/rpmbuild/BUILD/dosemu-2.0pre8 INCDIR=-I${top_builddir}/src/include -I${top_builddir}/src/plugin/include \ -I${top_builddir}/src/base/bios/x86 -I${top_srcdir}/src/include \ -I${top_srcdir}/src/base/lib top_srcdir:=$(abs_top_srcdir) srcdir = $(patsubst %/,%,$(abs_top_srcdir)/src/$(SUBDIR)) CFLAGS:=-O0 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ALL_CFLAGS:=-Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -pthread -Wno-unused-result -Wcast-qual -Wwrite-strings -Wno-address-of-packed-member -fplan9-extensions -fpie -ggdb3 $(CFLAGS) ASFLAGS:= XASFLAGS:=--32 CPPFLAGS:= ALL_CPPFLAGS:=-imacros config.hh -MD -DCFLAGS_STR="-Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -pthread -Wno-unused-result -Wcast-qual -Wwrite-strings -Wno-address-of-packed-member -fplan9-extensions -fpie -ggdb3 -O0 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" $(INCDIR) $(CPPFLAGS) LDFLAGS:=-Wl,-z,relro -Wl,--as-needed AS_LDFLAGS:=-melf_i386 ALL_LDFLAGS:=-pthread -rdynamic -pie $(LDFLAGS) DOSBIN_LDFLAGS:=-rdynamic LIBS:=-lpthread -ldl -lm -lbsd -lrt CC:=gcc CPP:=gcc -E LD:=gcc AS:=/usr/bin/as XAS:=/usr/bin/as AS_LD:=/usr/bin/ld OBJCOPY:=/usr/bin/objcopy YACC:=bison -y # NOTE: we really need bison, yacc won't work any more #YACC=bison -y LEX:=flex # This gets defined even if we chose via ./include/config.h NOT to # use the debugger DEBUGGER:=@DEBUGGER@ OPTIONALSUBDIRS := PLUGINSUBDIRS := plugin/X plugin/Xkmaps plugin/alsa plugin/charsets plugin/console plugin/debugger plugin/doscmd plugin/dosdrv plugin/extra_charsets plugin/fluidsynth plugin/gpm plugin/json plugin/ladspa plugin/libao plugin/midimisc plugin/modemu plugin/periph plugin/sdl plugin/slirp plugin/svgalib plugin/term ST_PLUGINSUBDIRS := plugin/charsets plugin/debugger plugin/extra_charsets plugin/midimisc plugin/modemu HAVE_LIBBFD := 0 OS=linux RANLIB:=ranlib PACKAGE_NAME:=dosemu2 USE_DL_PLUGINS=1 X86_EMULATOR=1 INSTALL:=/usr/bin/install -c REALTOPDIR:=$(top_srcdir) SRCPATH:=$(top_srcdir)/src PACKAGE_VERSION:=$(shell cd $(top_srcdir) && ./getversion) PACKAGE_VERSION_SPACES:=$(subst ., ,$(PACKAGE_VERSION)) PACKAGE_VERSION_SPACES:=$(subst -, ,$(PACKAGE_VERSION_SPACES)) PACKAGE_VERSION_SPACES:=$(subst pre, pre,$(PACKAGE_VERSION_SPACES)) VERSION:=$(word 1, $(PACKAGE_VERSION_SPACES)) SUBLEVEL:=$(word 2, $(PACKAGE_VERSION_SPACES)) PATCHLEVEL1:=$(word 3, $(PACKAGE_VERSION_SPACES)) PATCHLEVEL2:=$(word 4, $(PACKAGE_VERSION_SPACES)) ifeq ($(PATCHLEVEL2),) PACKETNAME:=$(PACKAGE_NAME)-$(VERSION).$(SUBLEVEL)$(PATCHLEVEL1) else PACKETNAME:=$(PACKAGE_NAME)-$(VERSION).$(SUBLEVEL)$(PATCHLEVEL1).$(PATCHLEVEL2) endif THISVERSION:=$(VERSION).$(SUBLEVEL)-$(PATCHLEVEL1) PACKVERSION:=$(VERSION).$(SUBLEVEL)$(PATCHLEVEL1) BINPATH:=$(top_builddir)/$(THISVERSION) RELEASE_DATE="2021-11-17" REVISION:=$(shell cd $(top_srcdir) && ./getversion -r) ifdef USE_DL_PLUGINS DL_CFLAGS:=-fPIC else -include $(top_builddir)/src/plugin/*/Makefile.conf endif