From 621d9e5c413e561293d7484b93882d985b3fe15f Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Sat, 24 Mar 2012 02:27:47 -0500 Subject: Removed unnecessary pki folder. Previously the source code was located inside a pki folder. This folder was created during svn migration and is no longer needed. This folder has now been removed and the contents have been moved up one level. Ticket #131 --- base/migrate/TpsTo80/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 base/migrate/TpsTo80/Makefile (limited to 'base/migrate/TpsTo80/Makefile') diff --git a/base/migrate/TpsTo80/Makefile b/base/migrate/TpsTo80/Makefile new file mode 100644 index 000000000..99c0d275c --- /dev/null +++ b/base/migrate/TpsTo80/Makefile @@ -0,0 +1,36 @@ +OS_ARCH := $(subst /,_,$(shell uname -s)) + +ifeq ($(OS_ARCH), Linux) + CC = gcc + CFLAGS = -g + LDFLAGS = -s -lldif60 -lplc4 -lplds4 -lnspr4 +else +ifeq ($(OS_ARCH), SunOS) + CC = cc + LINTFLAGS = -c + CFLAGS = -dalign -xO2 -xarch=v9 -DSOLARIS + INCLUDE_PATH = -I/usr/include/dirsec + LDFLAGS = -s -L/usr/lib/64 -lldif60 -L/usr/lib/64/dirsec -R/usr/lib/64/dirsec -lplc4 -lplds4 -lnspr4 +endif # SunOS +endif # Linux + +OBJS = migrateTPSData.o + +SRCS = migrateTPSData.c + +all: migrateTPSData + +$(OBJS): $(SRCS) + $(CC) $(CFLAGS) $(INCLUDE_PATH) -c $< \ + -o $*.o + +migrateTPSData: $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) + +lint: $(SRCS) + lint $(LINTFLAGS) $(CFLAGS) $(INCLUDE_PATH) $(SRCS) + +clean: + -rm migrateTPSData.ln + -rm migrateTPSData.o + -rm migrateTPSData -- cgit