You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdepim/libkcal/libical/vzic-1.3/Makefile.org

2.7 KiB

#

# OLSON_DIR = /home/damon/src/olson/tzdata2006b

PRODUCT_ID = -//My Organization//NONSGML My Product//EN

#PRODUCT_ID = -//Ximian//NONSGML Evolution Olson-VTIMEZONE Converter//EN

TZID_PREFIX = myorganization.org/%D_1

#TZID_PREFIX = softwarestudio.org/Olson_%D_1

LIBICAL_CFLAGS = LIBICAL_LDADD = -lical-evolution

#

#

GLIB_CFLAGS = `pkg-config cflags glib-2.0` GLIB_LDADD = `pkg-config libs glib-2.0`

CFLAGS = -g -DOLSON_DIR=\"$(OLSON_DIR)\" -DPRODUCT_ID='"$(PRODUCT_ID)"' -DTZID_PREFIX='"$(TZID_PREFIX)"' $(GLIB_CFLAGS) $(LIBICAL_CFLAGS)

OBJECTS = vzic.o vzic-parse.o vzic-dump.o vzic-output.o

all: vzic

vzic: $(OBJECTS) $(CC) $(OBJECTS) $(GLIB_LDADD) -o vzic

test-vzic: test-vzic.o $(CC) test-vzic.o $(LIBICAL_LDADD) -o test-vzic

$(OBJECTS): vzic.h vzic.o vzic-parse.o: vzic-parse.h vzic.o vzic-dump.o: vzic-dump.h vzic.o vzic-output.o: vzic-output.h

test-parse: vzic ./vzic-dump.pl $(OLSON_DIR) ./vzic dump pure @echo @echo "#" @echo "# If either of these diff commands outputs anything there may be a problem." @echo "#" diff -ru zoneinfo/ZonesPerl zoneinfo/ZonesVzic diff -ru zoneinfo/RulesPerl zoneinfo/RulesVzic

test-changes: vzic test-vzic ./test-vzic dump-changes ./vzic dump-changes pure @echo @echo "#" @echo "# If this diff command outputs anything there may be a problem." @echo "#" diff -ru zoneinfo/ChangesVzic test-output

clean: -rm -rf vzic $(OBJECTS) *~ ChangesVzic RulesVzic ZonesVzic RulesPerl ZonesPerl test-vzic test-vzic.o

.PHONY: clean perl-dump test-parse