4 #if defined(i386FreeBsd) || defined(FreeBSDArchitecture)
9 DEFINES = AutoDefines -DUSE_READLINE -DWINESTAT
11 CDEBUGFLAGS = -O2 -Wall -static
13 CDEBUGFLAGS = -O2 -Wall
17 * This is the second try at using Imakefiles. There are probably many
18 * problems and things I haven't even considered. I do not have a fixed
19 * Linux system to test them on, but thanks to Thomas Michlmayr
20 * <tmichl@cosy.sbg.ac.at> for use of one of his boxes.
22 * SEE BELOW ABOUT DEBUGGING AND LINUX
24 * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
28 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
29 'DEFINES=$(DEFINES)' 'LD=$(LD)'
50 WINEDIR = $(LIBDIR)/wine
56 multimedia/multimedia.o \
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
88 /* You may need to add the full path of your libXpm here */
91 #ifdef MALLOC_DEBUGGING
97 MakeSubdirs($(SUBDIRS))
98 DependSubdirs($(SUBDIRS))
101 NormalProgramTarget(wine,$(OBJS),$(DEPXLIB),$(XPM_LIB) $(XLIB),$(MALLOCLIB) $(SYSLIBS))
104 NormalLibraryTarget(wine,$(OBJS))
108 nm wine|grep -v _compiled|sort >wine.sym
118 etags `find . -name '*.[chS]' -print`
121 echo "/* autoconf.h generated automatically. Run Configure */" >autoconf.h
122 echo "#error You must run Configure before you can build the makefiles." >>autoconf.h
123 $(RM) `find . -name Makefile -print`