[YAMos-dev] VMakefile diff and comments

Hello,

Please find attached VMakefile diff. Changes include addition of dependencies 
(from frank), and
removal of -lmui (vbcc amiga lib includes this). vbcc's -ldebug don't have 
kprintf so for building debug binaries on vbcc it should probably link with 
commodores debug.lib. Maybe this could be included with yam ?

Next Posixlib will include an ifdef wrapper around the fd_set stuff so if its 
already defined it won't try and redefine. If vbcc posixlib includes were 
included first this wouldn't be a problem, but they can't be due to other 
conflictions (with the roadshow headers).

Thanks for adding the M_LN2 define. Frank Wille said that it wasn't in the 
netbsd headers either
and that it is non standard ?

Best Regards

Jools
-- 
<sb>ExoticA - http://www.exotica.org.uk

Index: src/VMakefile
===================================================================
--- src/VMakefile       (revision 2443)
+++ src/VMakefile       (working copy)
@@ -61,7 +61,7 @@
 CFLAGS  = -I -Iinclude -Iinclude/netinclude -I$(POSIXLIBINC) -D__USE_SYSBASE \
           -DNO_INLINE_STDARG -cpu=$(CPU) $(WARN) $(OPTFLAGS) $(DEBUG) -c99 -+ 
-c
 LDFLAGS = -L$(POSIXLIBLIB)
-LDLIBS  = -lamiga -ldebug -lmui -lposix -lmieee
+LDLIBS  = -lamiga -ldebug -lposix -lmieee
 
 # Special flags
 DEVFLAGS = -DDEVWARNING `rx "say '-DEXPDATE=' || date('I')+31"`
@@ -325,6 +325,21 @@
        YAM_rexx_rxif.h YAM_stringsizes.h YAM_transfer.h YAM_userlist.h \
        YAM_utilities.h YAM_write.h
 
+$(OBJDIR)/ImageCache.o: ImageCache.c extrasrc.h YAM.h YAM_locale.h \
+    YAM_stringsizes.h YAM_utilities.h ImageCache.h Debug.h
+
+$(OBJDIR)/UpdateCheck.o: UpdateCheck.c extrasrc.h YAM.h YAM_config.h \
+    YAM_configFile.h YAM_error.h YAM_global.h YAM_locale.h \
+    YAM_mime.h YAM_transfer.h YAM_utilities.h classes/Classes.h \
+    UpdateCheck.h Debug.h
+
+$(OBJDIR)/BayesFilter.o: BayesFilter.c BayesFilter.h HashTable.h \
+    Debug.h YAM_config.h YAM_read.h YAM_addressbook.h YAM_utilities.h
+
+$(OBJDIR)/HashTable.o: HashTable.c HashTable.h Debug.h
+
+$(OBJDIR)/Debug.o: Debug.c YAM_global.h YAM_utilities.h Debug.h
+
 ## CLASS DEPENDENCIES #################
 
 $(OBJDIR)/$(CLASSDIR)/ReadMailGroup.o: $(CLASSDIR)/ReadMailGroup.c \

Other related posts:

  • » [YAMos-dev] VMakefile diff and comments