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
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
$(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)