]> andersk Git - libfaim.git/blobdiff - Makefile
- Fri Nov 10 08:24:34 UTC 2000
[libfaim.git] / Makefile
index 0bae614a3c2088526a820c4555e7fdfe2960131e..5a65b66452e214e4c5aba00e173483c7b88e07c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,8 @@ LIBFAIM_OBJECTS = \
        aim_meta.o \
        aim_msgcookie.o \
        aim_ft.o \
-       aim_ads.o
+       aim_ads.o \
+       md5.o
 
 all: libfaim allutils
 
@@ -35,7 +36,11 @@ mkbuildinfo:
 libfaim: mkbuildinfo $(LIBFAIM_OBJECTS)
        $(AR) cru libfaim.a $(LIBFAIM_OBJECTS)
        $(RANLIB) libfaim.a
+ifdef SOLARIS
+       ld -G -o $(SONAME) $(LIBFAIM_OBJECTS) -lresolv
+else
        ld -o $(SONAME) $(LIBFAIM_OBJECTS) -shared -soname $(SONAME)
+endif
 
 allutils: libfaim
        @echo "LIBFAIM_INC = $$PWD" > utils/Makefile.dynamicrules; \
@@ -55,4 +60,7 @@ cleanutils:
        $(MAKE) clean
 
 clean: cleanutils
-       rm -f $(LIBFAIM_OBJECTS) $(SONAME) libfaim.a *~ core
\ No newline at end of file
+       rm -f $(LIBFAIM_OBJECTS) $(SONAME) libfaim.a *~ core
+
+tags:
+       etags *.[ch] faim/*.[ch] utils/faimtest/faimtest.c
This page took 0.078401 seconds and 4 git commands to generate.