X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2FMakefile;h=c63a8a7be28ccd36989c7060f7f1066f3dcc6aec;hp=9b44ad14035b9d79909140b768fbda938ca3a2cd;hb=HEAD;hpb=4ee1266711b695852ec88f06784fd84400cd70bb diff --git a/common/Makefile b/common/Makefile index 9b44ad1..c63a8a7 100644 --- a/common/Makefile +++ b/common/Makefile @@ -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)