4 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
9 DEFINES = AutoDefines -DUSE_READLINE
11 LD = /usr/i486-linuxaout/bin/ld -m i386linux
12 CDEBUGFLAGS = -O2 -Wall -b i486-linuxaout
13 ASFLAGS = -b i486-linuxaout
15 CDEBUGFLAGS = -O2 -Wall
19 * This is the second try at using Imakefiles. There are probably many
20 * problems and things I haven't even considered. I do not have a fixed
21 * Linux system to test them on, but thanks to Thomas Michlmayr
22 * <tmichl@cosy.sbg.ac.at> for use of one of his boxes.
24 * SEE BELOW ABOUT DEBUGGING AND LINUX
26 * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
30 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
31 'DEFINES=$(DEFINES)' 'LD=$(LD)' 'ASFLAGS=$(ASFLAGS)'
52 WINEDIR = $(LIBDIR)/wine
58 multimedia/multimedia.o \
73 SUBDIRS = $(COMMONSUBDIRS) $(EMUSUBDIRS)
74 OBJS = $(EMUOBJS) $(COMMONOBJS)
76 SUBDIRS = $(COMMONSUBDIRS) $(LIBSUBDIRS)
77 OBJS = $(LIBOBJS) $(COMMONOBJS)
80 #ifdef i386BsdArchitecture
81 SYSLIBS = -ll -lm -li386 -lgnumalloc
83 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
84 SYSLIBS = -ll -lm -lgnumalloc
86 #ifdef LinuxArchitecture
90 /* You may need to add the full path of your libXpm here */
93 #ifdef MALLOC_DEBUGGING
99 MakeSubdirs($(SUBDIRS))
100 DependSubdirs($(SUBDIRS))
103 NormalProgramTarget(wine,$(OBJS),$(DEPXLIB),$(XPM_LIB) $(XLIB),$(MALLOCLIB) $(SYSLIBS))
106 NormalLibraryTarget(wine,$(OBJS))
110 nm wine|grep -v _compiled|sort >wine.sym
120 etags `find . -name '*.[chS]' -print`
123 echo "/* autoconf.h generated automatically. Run Configure */" >autoconf.h
124 echo "#error You must run Configure before you can build the makefiles." >>autoconf.h
125 $(RM) `find . -name Makefile -print`