diff options
Diffstat (limited to 'libical/src')
-rw-r--r-- | libical/src/Makefile.in | 8 | ||||
-rw-r--r-- | libical/src/libicalss/Makefile.in | 48 | ||||
-rw-r--r-- | libical/src/test/Makefile.in | 36 |
3 files changed, 92 insertions, 0 deletions
diff --git a/libical/src/Makefile.in b/libical/src/Makefile.in new file mode 100644 index 0000000000..3c778954a8 --- /dev/null +++ b/libical/src/Makefile.in @@ -0,0 +1,8 @@ +SUBDIRS = libical libicalss test + +all depend ci clean install: + for dir in $(SUBDIRS) ; do \ + (cd $$dir ; $(MAKE) $@) || exit 1; \ + done + + diff --git a/libical/src/libicalss/Makefile.in b/libical/src/libicalss/Makefile.in new file mode 100644 index 0000000000..fe4de906ad --- /dev/null +++ b/libical/src/libicalss/Makefile.in @@ -0,0 +1,48 @@ +SOURCES = icalcluster.c icalstore.c icalcalendar.c +OBJECTS = ${SOURCES:.c=.o} +INCLUDES = -I . -I.. -I../libical +CFLAGS = -Wall @CFLAGS@ $(INCLUDES) @DEFS@ -DICAL_ERRORS_ARE_FATAL +LIBS = +CC = @CC@ +AR = @AR@ cr +RANLIB = @RANLIB@ + +prefix = @prefix@ +PREFIX = ${prefix} +EXEC_PREFIX = @exec_prefix@ +BIN_DIR = $(EXEC_PREFIX)/bin +LIB_DIR = $(EXEC_PREFIX)/lib +INCLUDE_DIR = $(PREFIX)/include + +INSTALL = @INSTALL@ +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM= ${INSTALL} -m 755 + +all: lib + +lib: $(OBJECTS) + $(AR) libicalss.a $(OBJECTS) + $(RANLIB) libicalss.a + + +clean: + -/bin/rm -f *.o *.a + -/bin/rm -f \#* + -/bin/rm -f *~ Makefile.bak icalitip.tab.h icalitip.tab.c lex.yy.c + -/bin/rm -f icaltest parser core output *.output + +ci: clean + ci -u *.c *.h *.l *.y Makefile.in + +depend: + @makedepend -Y $(INCLUDES) $(SOURCES) + + +install: + $(INSTALL_DATA) libicalss.a $(LIB_DIR)/libicalss.a; + for i in `ls *.h`; \ + do \ + $(INSTALL_DATA) $$i $(INCLUDE_DIR)/$$i; \ + done; + + diff --git a/libical/src/test/Makefile.in b/libical/src/test/Makefile.in new file mode 100644 index 0000000000..5d3d5f709f --- /dev/null +++ b/libical/src/test/Makefile.in @@ -0,0 +1,36 @@ +INCLUDES = -I . -I../libical -I../libicalss +CFLAGS = -Wall -g $(INCLUDES) +LIBS = -L../libical -L../libicalss -licalss -lical +CC = gcc +LD = ld + +all: usecases copycluster regression parser findobj + +parser: icaltestparser.o ../libical/libical.a ../libicalss/libicalss.a + $(CC) -o icalparser icaltestparser.o $(LIBS) + +copycluster: copycluster.o ../libical/libical.a ../libicalss/libicalss.a + $(CC) -o copycluster copycluster.o $(INCLUDES) $(LIBS) + +findobj: findobj.o ../libical/libical.a ../libicalss/libicalss.a + $(CC) -o findobj findobj.o $(INCLUDES) $(LIBS) + +regression: regression.o ../libical/libical.a ../libicalss/libicalss.a + $(CC) -o regression regression.o $(INCLUDES) $(LIBS) + +usecases: usecases.o ../libical/libical.a ../libicalss/libicalss.a + $(CC) -o usecases usecases.o $(INCLUDES) $(LIBS) + +clean: + -/bin/rm -f *.o + -/bin/rm -f \#* + -/bin/rm -f *~ Makefile.bak icalitip.tab.h icalitip.tab.c lex.yy.c + -/bin/rm -rf icalparser core regression usecases copycluster findobj + +ci: clean + ci -u *.c *.h + +depend: + @makedepend -Y $(INCLUDES) $(SOURCES) + +install:
\ No newline at end of file |