4 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
9 DEFINES = AutoDefines -DUSE_READLINE -DWINESTAT
10 CDEBUGFLAGS = -O2 -Wall
13 * This is the second try at using Imakefiles. There are probably many
14 * problems and things I haven't even considered. I do not have a fixed
15 * Linux system to test them on, but thanks to Thomas Michlmayr
16 * <tmichl@cosy.sbg.ac.at> for use of one of his boxes.
18 * SEE BELOW ABOUT DEBUGGING AND LINUX
20 * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
24 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
25 'DEFINES=$(DEFINES)' 'LD=$(LD)'
46 WINEDIR = $(LIBDIR)/wine
52 multimedia/multimedia.o \
58 * WARNING: if1632.o must be the first object file because its code must be
59 * linked at the lowest possible addresses.
71 SUBDIRS = $(COMMONSUBDIRS) $(EMUSUBDIRS)
72 OBJS = $(EMUOBJS) $(COMMONOBJS)
74 SUBDIRS = $(COMMONSUBDIRS) $(LIBSUBDIRS)
75 OBJS = $(LIBOBJS) $(COMMONOBJS)
78 #ifdef i386BsdArchitecture
79 SYSLIBS = -ll -lm -li386 -lgnumalloc
81 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
82 SYSLIBS = -ll -lm -lgnumalloc
84 #ifdef LinuxArchitecture
94 MakeSubdirs($(SUBDIRS))
95 DependSubdirs($(SUBDIRS))
99 NormalProgramTarget(wine,$(OBJS),$(DEPXLIB),$(XPM_LIB) $(XLIB),$(SYSLIBS))
101 NormalLibraryTarget(wine,$(OBJS))
105 nm wine|grep -v _compiled|sort >wine.sym
115 etags `find . -name '*.[chS]' -print`
118 echo "/* autoconf.h generated automatically. Run Configure */" >autoconf.h
119 echo "#error You must run Configure before you can build the makefiles." >>autoconf.h
120 $(RM) `find . -name Makefile -print`