Rename some C utils.

--HG--
extra : convert_revision : 35b27fcbc85ad9f6466cef02759cc0142e6bfafd
This commit is contained in:
Juan RP 2008-12-20 03:07:46 +01:00
parent e6e047bc6b
commit 894c0903c6
6 changed files with 11 additions and 11 deletions

View File

@ -8,29 +8,29 @@ all: xbps_digest xbps_pkgdb xbps_bin xbps-cmpver clean_objs
xbps-cmpver: xbps-cmpver.o
$(CC) $(CFLAGS) $< -o $@
sha256_digest: sha256_digest.o
sha256: sha256.o
$(CC) $(CFLAGS) -c $@
xbps-digest: xbps-digest.o
$(CC) $(CFLAGS) -c $@
xbps_digest: xbps-digest.o sha256_digest.o
$(CC) -o xbps-digest xbps-digest.o sha256_digest.o
xbps_digest: xbps-digest.o sha256.o
$(CC) -o xbps-digest xbps-digest.o sha256.o
xbps-pkgdb:
$(CC) $(CFLAGS) -c $@
plist_utils:
plist:
$(CC) $(CFLAGS) -c $@
xbps_pkgdb: xbps-pkgdb.o plist_utils.o
$(CC) $(LDFLAGS) -o xbps-pkgdb xbps-pkgdb.o plist_utils.o
xbps_pkgdb: xbps-pkgdb.o plist.o
$(CC) $(LDFLAGS) -o xbps-pkgdb xbps-pkgdb.o plist.o
xbps-bin:
$(CC) $(CFLAGS) -c $@
xbps_bin: xbps-bin.o plist_utils.o
$(CC) $(LDFLAGS) -o xbps-bin xbps-bin.o plist_utils.o
xbps_bin: xbps-bin.o plist.o
$(CC) $(LDFLAGS) -o xbps-bin xbps-bin.o plist.o
clean_objs:
-rm -f *.o

View File

@ -41,7 +41,7 @@
#include <inttypes.h>
#include <libgen.h>
#include "sha256_digest.h"
#include "xbps_api.h"
/*** SHA-256 Machine Architecture Definitions *****************/

View File

@ -41,9 +41,9 @@
#define XBPS_REGPKGDB_DEFPATH "/var/cache/xbps/regpkgdb.plist"
/* API to handle plist files */
#include "plist_utils.h"
#include "plist.h"
/* SHA256 implementation */
#include "sha256_digest.h"
#include "sha256.h"
#endif /* !_XBPS_API_H_ */