mirror of
https://github.com/pygos/pkg-utils.git
synced 2024-11-15 09:57:12 +01:00
David Oberhollenzer
af7c6f09df
Basically an improved port of the makeshift depgraph from the pygos build system. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
27 lines
408 B
C
27 lines
408 B
C
#ifndef BUILDSTRATEGY_H
|
|
#define BUILDSTRATEGY_H
|
|
|
|
#include <getopt.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
|
|
#include "command.h"
|
|
#include "util/hashtable.h"
|
|
|
|
enum {
|
|
FLAG_BUILD_PKG = 0x01,
|
|
};
|
|
|
|
typedef struct source_pkg_t {
|
|
char *name;
|
|
|
|
struct source_pkg_t **depends;
|
|
size_t num_depends;
|
|
|
|
int flags;
|
|
} source_pkg_t;
|
|
|
|
#endif /* BUILDSTRATEGY_H */
|