e2fsprogs/lib/uuid/Makefile.in

128 lines
3.2 KiB
Makefile
Raw Normal View History

1997-04-29 18:53:37 +04:00
# Makefile for the second extended file system utility functions
#
# Copyright (C) 1993 Remy Card (card@masi.ibp.fr)
#
# This file can be redistributed under the terms of the GNU General
# Public License
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
top_builddir = ../..
my_dir = lib/uuid
INSTALL = @INSTALL@
@MCONFIG@
all::
OBJS= clear.o \
compare.o \
copy.o \
gen_uuid.o \
isnull.o \
pack.o \
parse.o \
unpack.o \
unparse.o \
uuid_time.o
1997-04-29 18:53:37 +04:00
SRCS= $(srcdir)/clear.c \
$(srcdir)/compare.c \
$(srcdir)/copy.c \
$(srcdir)/gen_uuid.c \
$(srcdir)/isnull.c \
$(srcdir)/pack.c \
$(srcdir)/parse.c \
$(srcdir)/unpack.c \
$(srcdir)/unparse.c \
$(srcdir)/uuid_time.c
1997-04-29 18:53:37 +04:00
LIBRARY= libuuid
LIBDIR= uuid
1997-04-29 20:17:09 +04:00
DLL_ADDRESS = 0x67900000
1997-04-29 18:53:37 +04:00
DLL_JUMPSIZE = 0x1000
DLL_GOTSIZE = 0x1000
DLL_VERSION = 0.1
1997-04-29 18:53:37 +04:00
DLL_IMAGE = libuuid
DLL_STUB = libuuid
DLL_MYDIR = uuid
DLL_INSTALL_DIR = $(root_libdir)
1997-04-29 18:53:37 +04:00
ELF_VERSION = 1.2
1997-04-29 18:53:37 +04:00
ELF_SO_VERSION = 1
ELF_IMAGE = libuuid
ELF_MYDIR = uuid
ELF_INSTALL_DIR = $(root_libdir)
1997-04-29 20:17:09 +04:00
ELF_OTHER_LIBS = -lc
1997-04-29 18:53:37 +04:00
BSDLIB_VERSION = 1.1
1997-04-29 18:53:37 +04:00
BSDLIB_IMAGE = libuuid
BSDLIB_MYDIR = uuid
BSDLIB_INSTALL_DIR = $(root_libdir)
1997-04-29 18:53:37 +04:00
@MAKEFILE_LIBRARY@
@MAKEFILE_DLL@
@MAKEFILE_ELF@
@MAKEFILE_BSDLIB@
@MAKEFILE_PROFILE@
@MAKEFILE_CHECKER@
.c.o:
$(CC) $(ALL_CFLAGS) -c $< -o $@
1997-04-29 20:17:09 +04:00
@PROFILE_CMT@ $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
1997-04-29 18:53:37 +04:00
@CHECKER_CMT@ $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@DLL_CMT@ (export JUMP_DIR=`pwd`/jump; $(CC) -B$(JUMP_PREFIX) $(ALL_CFLAGS) \
@DLL_CMT@ -o jump/$*.o -c $<)
@ELF_CMT@ $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@BSDLIB_CMT@ $(CC) $(ALL_CFLAGS) -fpic -o pic/$*.o -c $<
all:: tst_uuid uuid_time
1997-04-29 18:53:37 +04:00
1997-04-29 20:17:09 +04:00
tst_uuid.o: $(srcdir)/tst_uuid.c
$(CC) $(ALL_CFLAGS) -c $(srcdir)/tst_uuid.c -o tst_uuid.o
1997-04-29 18:53:37 +04:00
tst_uuid: tst_uuid.o $(LIBUUID)
$(CC) $(ALL_LDFLAGS) -o tst_uuid tst_uuid.o $(LIBUUID)
uuid_time: $(srcdir)/uuid_time.c
$(CC) $(ALL_CFLAGS) -DDEBUG $(srcdir)/uuid_time.c -o uuid_time $(LIBUUID)
1997-04-29 18:53:37 +04:00
installdirs::
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
1997-04-29 18:53:37 +04:00
$(DESTDIR)$(includedir)/uuid
install:: all installdirs
$(INSTALL_DATA) libuuid.a $(DESTDIR)$(libdir)/libuuid.a
$(CHMOD) 644 $(DESTDIR)$(libdir)/libuuid.a
-$(RANLIB) $(DESTDIR)$(libdir)/libuuid.a
$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libuuid.a
1997-04-29 18:53:37 +04:00
$(INSTALL_DATA) $(srcdir)/uuid.h $(DESTDIR)$(includedir)/uuid/uuid.h
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libuuid.a
1997-04-29 18:53:37 +04:00
clean::
$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
$(RM) -f ../libuuid.a ../libuuid_p.a tst_uuid uuid_time
1997-04-29 18:53:37 +04:00
mostlyclean:: clean
distclean:: clean
$(RM) -f .depend Makefile
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
clear.o: $(srcdir)/clear.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
compare.o: $(srcdir)/compare.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
copy.o: $(srcdir)/copy.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
gen_uuid.o: $(srcdir)/gen_uuid.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
isnull.o: $(srcdir)/isnull.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
pack.o: $(srcdir)/pack.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
parse.o: $(srcdir)/parse.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
unpack.o: $(srcdir)/unpack.c $(srcdir)/uuidP.h $(srcdir)/uuid.h
unparse.o: $(srcdir)/unparse.c $(srcdir)/uuidP.h $(srcdir)/uuid.h