This commit was generated by cvs2svn to compensate for changes in r164,
[gnokii.git] / common / Makefile
index 9b44ad1..c63a8a7 100644 (file)
@@ -20,18 +20,19 @@ include $(TOPDIR)/Makefile.global
 OBJS = cfgreader.o \
        device.o \
        gsm-ringtones.o \
+       at-hw.o \
+       cimd.o \
        gsm-api.o \
        gsm-networks.o \
        vcal.o \
        misc.o \
-        gsm-sms.o \
        gsm-bitmaps.o \
        gsm-common.o \
        gsm-encoding.o \
-       gsm-error.o \
        gsm-statemachine.o
+#        gsm-sms.o \
 
-all: libgnokii.so gsm-filetypes.o
+all: libgnokii.a gsm-filetypes.o
 
 phones/PHONES.o:
        $(MAKE) -C phones PHONES.o
@@ -42,8 +43,9 @@ links/LINKS.o:
 devices/DEVICES.o:
        $(MAKE) -C devices DEVICES.o
 
-libgnokii.so: $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
-       $(CC) -shared -o libgnokii.so $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
+libgnokii.a: $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
+       ar rcs $@ $^
+#      $(CC) -shared -o libgnokii.so $(OBJS) phones/PHONES.o links/LINKS.o devices/DEVICES.o
 
 gsm-filetypes.o: gsm-filetypes.c
        $(CC) $(CFLAGS) $(CPPFLAGS) $(XPM_CFLAGS) -c gsm-filetypes.c
@@ -52,7 +54,7 @@ vcal.c: vcal.lx
        $(LEX) -ovcal.c vcal.lx
 
 clean:
-       $(RM) $(OBJS) *~ depend libgnokii.so gsm-filetypes.o vcal.c phones/PHONES.o links/LINKS.o devices/DEVICES.o
+       $(RM) $(OBJS) *~ depend COMMON.o gsm-filetypes.o vcal.c phones/PHONES.o links/LINKS.o devices/DEVICES.o *.a
 
 install:
        $(INSTALL) -d $(libdir)